/* =====================================================================
   IRRISIBLE — Luxury Print / Editorial Theme
   Thoko the Curator — site-wide stylesheet
   Consolidated from every page's inline <style> block.
   Palette + typography follow the IRRISIBLE editorial spec; layout,
   HTML structure and image URLs are untouched. The rose hero background
   (--hero-bg) and floral accent colors are preserved as-is.
   ===================================================================== */

:root {
    /* --- Core Palette --- */
    --page-bg: #080C14;      /* Primary Dark Background - Midnight Navy */
    --card-bg: #0E1420;      /* Secondary Dark Background - Dark Panel */
    --cream: #EDE6DD;        /* Warm Cream Accent */
    --accent-gold: #C0A062;  /* Accent Gold */
    --gold-border: rgba(192, 160, 98, 0.3);  /* Gold Border */
    --text-main: #E8E3DD;    /* Primary Light Text */
    --text-dark: #121212;    /* Primary Dark Text */
    --text-muted: #8E95A5;   /* Muted Gray Text */
    --overlay-tint: rgba(8, 12, 20, 0.85);   /* dark tint over background imagery */

    /* --- Preserved brand accents (rose hero + floral motif; do not change) --- */
    --hero-bg: #2B4553;      /* original rose/hero section background - kept intact */
    --accent-red: #A31B2F;   /* Peony Red - floral accent, kept intact */

    /* --- Typography --- */
    --font-logo: 'Cinzel', serif;                          /* Main Display Brand / Big Titles */
    --font-heading: 'Cormorant Garamond', Georgia, serif;  /* Headings, Quotes & Editorial Body */
    --font-body: 'Montserrat', sans-serif;                 /* Metadata, Tags & Navigation Labels */

    /* --- Admin dashboard tokens (mapped onto the core palette) --- */
    --admin-bg: var(--page-bg);
    --panel-bg: var(--card-bg);
    --panel-border: var(--gold-border);
    --accent-teal: #2B4553;
    --status-green: #3A8E67;
    --status-amber: #D9822B;
    --status-red: #C53939;

    /* --- Article page tokens --- */
    --paper-bg: var(--card-bg);
    --accent-blue: #3A6280;

    /* --- Digital reader / print-spread tokens --- */
    --dark-navy: var(--page-bg);
    --paper-cream: var(--cream);
    --accent-blue-drop: var(--page-bg);
    --line-color: var(--gold-border);
    --font-brand: 'Cinzel', serif;
    --font-display: 'Cormorant Garamond', serif;
    --font-label: 'Montserrat', sans-serif;
    --font-sub: 'Montserrat', sans-serif;
}

html {
    /* Global type scale bump — all rem-based sizing across the site scales
       up from this, so text reads comfortably without retuning every rule. */
    font-size: 118%;
}

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

/* Prevent FOUC: hide animated reveal targets (text) until JS has initialized */
/* NOTE: .silk-target (cover images) is intentionally excluded — images are always visible */
.animate-text,
.animate-sub,
.animate-scroll-text {
    opacity: 0;
    visibility: hidden;
    will-change: opacity, transform;
}

.silk-target {
    will-change: opacity, transform;
}

body.is-loaded .animate-text,
body.is-loaded .animate-sub,
body.is-loaded .animate-scroll-text {
    opacity: 1;
    visibility: visible;
}

/* --- Base Navigation (applies site-wide) --- */
nav.navbar-marble {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 12, 20, 0.85);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid var(--gold-border);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2rem;
    box-sizing: border-box;
}

.nav-logo {
    font-family: var(--font-logo);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

.nav-cta {
    border: 1px solid var(--accent-gold);
    padding: 0.5rem 1.2rem;
    border-radius: 2px;
    color: var(--accent-gold) !important;
    transition: all 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--accent-gold);
    color: var(--page-bg) !important;
}



/* ============================== INDEX / HOME PAGE ============================== */

body.page-index {
            background-color: var(--page-bg);
            color: var(--text-main);
            font-family: var(--font-heading);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* --- NAVIGATION --- */
        body.page-index header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(8, 12, 20, 0.85);
            backdrop-filter: blur(10px);
            z-index: 100;
            border-bottom: 1px solid var(--gold-border);
        }

        body.page-index nav {
            max-width: 1300px;
            margin: 0 auto;
            padding: 1.2rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        body.page-index .nav-logo {
            font-family: var(--font-logo);
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--text-main);
            text-decoration: none;
            letter-spacing: 1px;
        }

        body.page-index .nav-links {
            display: flex;
            gap: 2.5rem;
            list-style: none;
        }

        body.page-index .nav-links a {
            color: var(--text-main);
            text-decoration: none;
            text-transform: uppercase;
            font-size: 0.75rem;
            letter-spacing: 2px;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        body.page-index .nav-links a:hover {
            color: var(--accent-gold);
        }

        body.page-index .nav-cta {
            border: 1px solid var(--accent-gold);
            padding: 0.5rem 1.2rem;
            border-radius: 2px;
            color: var(--accent-gold) !important;
            transition: all 0.3s ease !important;
        }

        body.page-index .nav-cta:hover {
            background: var(--accent-gold);
            color: var(--page-bg) !important;
        }

        /* --- MOBILE NAV TOGGLE (hamburger) --- */
        body.page-index .nav-toggle {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 5px;
            width: 34px;
            height: 34px;
            background: none;
            border: none;
            padding: 0;
            cursor: pointer;
            z-index: 110;
        }

        body.page-index .nav-toggle span {
            display: block;
            width: 24px;
            height: 2px;
            background: var(--text-main);
            transition: transform 0.3s ease, opacity 0.3s ease;
        }

        body.page-index .nav-toggle.is-open span:nth-child(1) {
            transform: translateY(7px) rotate(45deg);
        }

        body.page-index .nav-toggle.is-open span:nth-child(2) {
            opacity: 0;
        }

        body.page-index .nav-toggle.is-open span:nth-child(3) {
            transform: translateY(-7px) rotate(-45deg);
        }

        /* --- HERO SECTION --- */
        body.page-index .hero {
            background-color: var(--hero-bg);
            background-image: linear-gradient(180deg, rgba(8,12,20,0.72) 0%, rgba(8,12,20,0.55) 45%, rgba(8,12,20,0.85) 100%), url('../images/rosegarden.webp');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 8rem 1.5rem 4rem 1.5rem;
            position: relative;
            contain: layout paint style;
            overflow: hidden;
        }

        body.page-index .logo-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 1.5rem;
            position: relative;
            z-index: 2;
            text-shadow: 0 4px 24px rgba(0,0,0,0.55);
        }

        body.page-index .logo-top {
            font-family: var(--font-heading);
            font-style: italic;
            font-size: clamp(1rem, 2vw, 1.4rem);
            font-weight: 500;
            letter-spacing: clamp(2px, 0.6vw, 5px);
            margin-bottom: 0.75rem;
            color: var(--cream);
        }

        body.page-index .logo-bottom {
            font-family: var(--font-logo);
            font-size: clamp(4rem, 9vw, 8.5rem);
            font-weight: 700;
            line-height: 0.85;
            letter-spacing: 2px;
            white-space: nowrap;
            overflow-wrap: normal;
            word-break: normal;
        }

        body.page-index .subtitle-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 2rem;
            max-width: 600px;
            position: relative;
            z-index: 2;
        }

        body.page-index .floral-accent {
            width: clamp(50px, 6vw, 75px);
            height: clamp(50px, 6vw, 75px);
            background: url('../images/real_rose.png') center/cover no-repeat;
            background-size: cover;
            border-radius: 40% 60% 50% 50%;
            border: none;
            box-shadow: none;
            flex-shrink: 0;
        }

        body.page-index .subtitle {
            font-family: var(--font-heading);
            font-style: italic;
            font-size: clamp(0.75rem, 1.2vw, 0.95rem);
            letter-spacing: 5px;
            text-align: left;
            line-height: 1.7;
            font-weight: 600;
            color: var(--text-main);
            text-shadow: 0 2px 12px rgba(0,0,0,0.6);
        }

        /* --- LATEST ISSUES (FEATURED MAGAZINE CARDS) --- */
        body.page-index .latest-issues-section {
            max-width: 1300px;
            margin: 0 auto;
            padding: 7rem 2rem 4rem 2rem;
        }

        body.page-index .section-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 3.5rem;
            border-bottom: 1px solid var(--gold-border);
            padding-bottom: 1rem;
        }

        body.page-index .section-title {
            font-family: var(--font-heading);
            font-size: clamp(1.5rem, 3vw, 2.2rem);
            letter-spacing: 3px;
        }

        body.page-index .section-subtext {
            color: var(--text-muted);
            font-size: 0.85rem;
            letter-spacing: 1px;
            text-transform: uppercase;
        }


        /* --- EDITORIAL HIGHLIGHT SECTION --- */
        body.page-index .editorial-section {
            max-width: 1300px;
            margin: 0 auto;
            padding: 4rem 2rem 7rem 2rem;
        }

        body.page-index .feature-banner {
            background: linear-gradient(90deg, rgba(8,12,20,0.95) 0%, rgba(14,20,32,0.82) 100%), 
                        url('../images/thoko_with_company.jpeg') center/cover;
            border-radius: 4px;
            padding: 4rem 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            border: 1px solid var(--gold-border);
        }

        body.page-index .banner-tag {
            color: var(--accent-gold);
            font-size: 0.75rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }

        body.page-index .banner-title {
            font-family: var(--font-logo);
            font-size: clamp(2rem, 4vw, 3.2rem);
            max-width: 700px;
            line-height: 1.15;
            margin-bottom: 1.2rem;
        }

        body.page-index .banner-text {
            color: var(--text-muted);
            max-width: 600px;
            font-size: 0.95rem;
            font-weight: 300;
            margin-bottom: 2rem;
        }

        body.page-index .btn-primary {
            display: inline-block;
            padding: 0.9rem 2.2rem;
            background: transparent;
            color: var(--text-main);
            border: 1px solid var(--text-main);
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.75rem;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        body.page-index .btn-primary:hover {
            background: var(--text-main);
            color: var(--page-bg);
        }

        /* --- NEWSLETTER SECTION --- */
        body.page-index .newsletter-section {
            background-color: var(--card-bg);
            border-top: 1px solid var(--gold-border);
            border-bottom: 1px solid var(--gold-border);
            padding: 6rem 2rem;
            text-align: center;
        }

        body.page-index .newsletter-container {
            max-width: 650px;
            margin: 0 auto;
        }

        body.page-index .newsletter-title {
            font-family: var(--font-heading);
            font-size: clamp(1.6rem, 3vw, 2.2rem);
            letter-spacing: 3px;
            margin-bottom: 1rem;
        }

        body.page-index .newsletter-desc {
            color: var(--text-muted);
            font-size: 0.9rem;
            font-weight: 300;
            margin-bottom: 2.5rem;
        }

        body.page-index .newsletter-form {
            display: flex;
            gap: 0.5rem;
            max-width: 500px;
            margin: 0 auto;
        }

        body.page-index .newsletter-input {
            flex-grow: 1;
            padding: 1rem 1.2rem;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--gold-border);
            color: var(--text-main);
            font-family: var(--font-body);
            font-size: 0.85rem;
            outline: none;
            transition: border-color 0.3s;
        }

        body.page-index .newsletter-input:focus {
            border-color: var(--accent-gold);
        }

        body.page-index .newsletter-btn {
            padding: 1rem 1.8rem;
            background: var(--accent-gold);
            color: var(--page-bg);
            border: none;
            font-family: var(--font-body);
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-weight: 600;
            cursor: pointer;
            transition: opacity 0.3s;
        }

        body.page-index .newsletter-btn:hover {
            opacity: 0.9;
        }

        /* --- FOOTER --- */
        body.page-index footer {
            background-color: var(--page-bg);
            padding: 5rem 2rem 2rem 2rem;
            color: var(--text-muted);
        }

        body.page-index .footer-grid {
            max-width: 1300px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr repeat(3, 1fr);
            gap: 3rem;
            padding-bottom: 4rem;
            border-bottom: 1px solid var(--gold-border);
        }

        body.page-index .footer-brand h3 {
            font-family: var(--font-logo);
            font-size: 1.8rem;
            color: var(--text-main);
            margin-bottom: 1rem;
        }

        body.page-index .footer-brand p {
            font-size: 0.85rem;
            line-height: 1.7;
            max-width: 320px;
            font-weight: 300;
        }

        body.page-index .footer-col h4 {
            font-family: var(--font-heading);
            font-size: 0.85rem;
            color: var(--text-main);
            letter-spacing: 2px;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
        }

        body.page-index .footer-col ul {
            list-style: none;
        }

        body.page-index .footer-col ul li {
            margin-bottom: 0.8rem;
        }

        body.page-index .footer-col ul a {
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.82rem;
            transition: color 0.3s;
        }

        body.page-index .footer-col ul a:hover {
            color: var(--accent-gold);
        }

        body.page-index .footer-bottom {
            max-width: 1300px;
            margin: 0 auto;
            padding-top: 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.75rem;
            letter-spacing: 1px;
        }

        /* Mobile Adjustments */
        @media (max-width: 900px) {

            body.page-index nav {
                flex-wrap: nowrap;
                justify-content: flex-start;
                gap: 0.75rem;
                width: auto;
            }

            body.page-index .nav-logo {
                flex: 0 0 auto;
                margin-right: 0;
                text-align: left;
            }

            body.page-index .nav-toggle {
                display: flex;
                flex: 0 0 auto;
                margin-left: 0;
            }

            body.page-index .nav-links {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                flex-direction: column;
                align-items: center;
                gap: 1.5rem;
                background: rgba(8, 12, 20, 0.98);
                backdrop-filter: blur(10px);
                border-bottom: 1px solid var(--gold-border);
                padding: 2rem 1.5rem 2.5rem;
                list-style: none;
            }

            body.page-index .nav-links.is-open { display: flex; }

            body.page-index .footer-grid { grid-template-columns: 1fr 1fr; }
            body.page-index .subtitle-container { flex-direction: column; text-align: center; }
            body.page-index .subtitle { text-align: center; }
        
}

        @media (max-width: 600px) {

            body.page-index .footer-grid { grid-template-columns: 1fr; }
            body.page-index .newsletter-form { flex-direction: column; }
            body.page-index .feature-banner { padding: 2.5rem 1.5rem; }
            body.page-index .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
        
}



/* ============================== ABOUT PAGE ============================== */

body.page-about,
body.page-archive,
body.page-article,
body.page-submit,
body.page-editorials {
            background-color: var(--page-bg);
            color: var(--text-main);
            font-family: var(--font-heading);
            line-height: 1.7;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            position: relative;
            z-index: 0;
        }

        body.page-about::before,
        body.page-archive::before,
        body.page-article::before,
        body.page-submit::before,
        body.page-editorials::before {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: -1;
            background-image:
                radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.08), transparent 18%),
                radial-gradient(circle at 85% 12%, rgba(212, 175, 55, 0.04), transparent 22%),
                radial-gradient(circle at 55% 82%, rgba(255, 255, 255, 0.03), transparent 28%),
                linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 18%, rgba(0, 0, 0, 0.08));
            background-repeat: no-repeat;
            background-size: cover;
        }

        /* --- HEADER --- */
        body.page-about header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(8, 12, 20, 0.9);
            backdrop-filter: blur(10px);
            z-index: 100;
            border-bottom: 1px solid var(--gold-border);
        }

        body.page-about nav {
            max-width: 1300px;
            margin: 0 auto;
            padding: 1.2rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        body.page-about .nav-brand {
            font-family: var(--font-logo);
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-main);
            text-decoration: none;
            letter-spacing: 1px;
        }

        body.page-about .nav-back {
            color: var(--accent-gold);
            text-decoration: none;
            font-size: 0.75rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            font-weight: 600;
        }

        /* --- HERO PROFILE SPREAD --- */
        body.page-about .profile-hero {
            margin-top: 80px;
            max-width: 1300px;
            margin-left: auto;
            margin-right: auto;
            padding: 5rem 2rem;
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 4rem;
            align-items: center;
            background-image: linear-gradient(var(--overlay-tint), var(--overlay-tint)), url('../images/about_background.webp');
            background-size: cover;
            background-position: center;
            border-bottom: 1px solid var(--gold-border);
        }

        body.page-about .profile-image-container {
            position: relative;
            padding: 16px;
        }

        body.page-about .profile-image {
            width: 100%;
            height: 580px;
            object-fit: cover;
            object-position: top center;
            border-radius: 2px;
            border: 1px solid var(--gold-border);
            display: block;
            filter: grayscale(0.45) sepia(0.14) saturate(1.15) contrast(1.06) brightness(0.94);
        }

        body.page-about .profile-image-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 48px;
            height: 48px;
            border-top: 1px solid var(--accent-gold);
            border-left: 1px solid var(--accent-gold);
            z-index: 2;
        }

        body.page-about .profile-image-container::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 48px;
            height: 48px;
            border-bottom: 1px solid var(--accent-gold);
            border-right: 1px solid var(--accent-gold);
            z-index: 2;
        }

        body.page-about .profile-bio {
            padding-right: 1rem;
        }

        body.page-about .section-tag {
            font-size: 0.75rem;
            letter-spacing: 4px;
            color: var(--accent-gold);
            text-transform: uppercase;
            margin-bottom: 1rem;
            display: block;
        }

        body.page-about .bio-name {
            font-family: var(--font-logo);
            font-size: clamp(2.5rem, 4vw, 3.8rem);
            line-height: 1.1;
            margin-bottom: 1.5rem;
        }

        body.page-about .bio-lead {
            font-family: var(--font-heading);
            font-style: italic;
            font-size: 1rem;
            color: var(--text-muted);
            letter-spacing: 1px;
            margin-bottom: 2rem;
            text-transform: uppercase;
            line-height: 1.6;
        }

        body.page-about .bio-text {
            font-size: 0.95rem;
            color: var(--text-muted);
            font-weight: 300;
            margin-bottom: 1.5rem;
        }

        /* --- CURATORIAL PILLARS --- */
        body.page-about .pillars-section {
            background-color: var(--card-bg);
            border-top: 1px solid var(--gold-border);
            border-bottom: 1px solid var(--gold-border);
            padding: 6rem 2rem;
        }

        body.page-about .pillars-container {
            max-width: 1300px;
            margin: 0 auto;
        }

        body.page-about .pillars-header {
            text-align: center;
            margin-bottom: 4rem;
        }

        body.page-about .pillars-title {
            font-family: var(--font-heading);
            font-size: clamp(1.8rem, 3vw, 2.5rem);
            letter-spacing: 3px;
        }

        body.page-about .pillars-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
        }

        body.page-about .pillar-card {
            position: relative;
            background: rgba(8, 12, 20, 0.6);
            border: 1px solid var(--gold-border);
            padding: 2.5rem 2rem 2.5rem 2.4rem;
            border-radius: 2px;
            overflow: hidden;
            transition: border-color 0.45s ease;
        }

        body.page-about .pillar-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background: var(--accent-gold);
            transform: scaleY(0);
            transform-origin: top;
            transition: transform 0.55s ease;
        }

        body.page-about .pillar-card:hover {
            border-color: var(--accent-gold);
        }

        body.page-about .pillar-card:hover::before {
            transform: scaleY(1);
        }

        body.page-about .pillar-num {
            font-family: var(--font-logo);
            font-size: 2.8rem;
            color: var(--accent-gold);
            opacity: 0.32;
            margin-bottom: 1.2rem;
            transition: opacity 0.45s ease;
        }

        body.page-about .pillar-card:hover .pillar-num {
            opacity: 1;
        }

        body.page-about .pillar-heading {
            font-family: var(--font-heading);
            font-size: 1.1rem;
            letter-spacing: 1px;
            margin-bottom: 1.1rem;
            display: inline-block;
            position: relative;
            padding-bottom: 0.6rem;
        }

        body.page-about .pillar-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0%;
            height: 1px;
            background: var(--accent-gold);
            transition: width 0.5s ease;
        }

        body.page-about .pillar-card:hover .pillar-heading::after {
            width: 100%;
        }

        body.page-about .pillar-desc {
            font-size: 0.88rem;
            color: var(--text-muted);
            font-weight: 300;
            line-height: 1.7;
        }

        /* --- CONTACT & INQUIRIES --- */
        body.page-about .contact-section {
            max-width: 900px;
            margin: 0 auto;
            padding: 7rem 2rem;
            text-align: center;
        }

        body.page-about .contact-title {
            font-family: var(--font-logo);
            font-size: clamp(2rem, 3.5vw, 3rem);
            margin-bottom: 1rem;
        }

        body.page-about .contact-desc {
            color: var(--text-muted);
            font-size: 0.95rem;
            font-weight: 300;
            margin-bottom: 2.5rem;
        }

        body.page-about .btn-gold {
            display: inline-block;
            padding: 1rem 2.5rem;
            background: var(--accent-gold);
            color: var(--page-bg);
            text-decoration: none;
            text-transform: uppercase;
            letter-spacing: 2px;
            font-size: 0.75rem;
            font-weight: 600;
            transition: opacity 0.3s;
        }

        body.page-about .btn-gold:hover {
            opacity: 0.9;
        }

        /* FOOTER */
        body.page-about footer {
            background-color: var(--page-bg);
            padding: 3rem 2rem;
            text-align: center;
            border-top: 1px solid var(--gold-border);
            font-size: 0.75rem;
            color: var(--text-muted);
            letter-spacing: 1px;
        }

        /* RESPONSIVE */
        @media (max-width: 900px) {

            body.page-about .profile-hero {
                grid-template-columns: 1fr;
                gap: 3rem;
                padding-top: 3rem;
            }
            body.page-about .profile-image { height: 400px; }
        
}



/* ============================== ARCHIVE PAGE ============================== */

body.page-archive {
            background-color: var(--page-bg);
            color: var(--text-main);
            font-family: var(--font-heading);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* --- HEADER --- */
        body.page-archive header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(8, 12, 20, 0.9);
            backdrop-filter: blur(10px);
            z-index: 100;
            border-bottom: 1px solid var(--gold-border);
        }

        body.page-archive nav {
            max-width: 1300px;
            margin: 0 auto;
            padding: 1.2rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        body.page-archive .nav-brand {
            font-family: var(--font-logo);
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-main);
            text-decoration: none;
            letter-spacing: 1px;
        }

        body.page-archive .nav-back {
            color: var(--accent-gold);
            text-decoration: none;
            font-size: 0.75rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            font-weight: 600;
        }

        /* --- ARCHIVE HERO --- */
        body.page-archive .archive-hero {
            padding: 9rem 2rem 3rem 2rem;
            text-align: center;
            max-width: 900px;
            margin: 0 auto;
        }

        body.page-archive .hero-tag {
            font-size: 0.75rem;
            letter-spacing: 4px;
            color: var(--accent-gold);
            text-transform: uppercase;
            margin-bottom: 1rem;
            display: block;
        }

        body.page-archive .hero-title {
            font-family: var(--font-logo);
            font-size: clamp(2.5rem, 5vw, 3.8rem);
            margin-bottom: 1rem;
        }

        body.page-archive .hero-desc {
            color: var(--text-muted);
            font-size: 0.95rem;
            font-weight: 300;
        }

        /* --- FILTER BAR --- */
        body.page-archive .filter-container {
            max-width: 1300px;
            margin: 2rem auto 4rem auto;
            padding: 0 2rem;
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

        body.page-archive .filter-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            background: transparent;
            border: 1px solid var(--gold-border);
            color: var(--text-muted);
            padding: 0.6rem 1.4rem;
            font-family: var(--font-body);
            font-size: 0.75rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            cursor: pointer;
            border-radius: 20px;
            transition: all 0.3s;
        }

        body.page-archive .filter-btn.active, body.page-archive .filter-btn:hover {
            border-color: var(--accent-gold);
            color: var(--accent-gold);
            background: rgba(192, 160, 98, 0.05);
        }

        /* --- ARCHIVE GRID --- */
        body.page-archive .archive-section {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 2rem 8rem 2rem;
        }

        body.page-archive .archive-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 3rem;
        }

        body.page-archive .archive-card {
            background-color: var(--card-bg);
            border: 1px solid var(--gold-border);
            border-radius: 4px;
            overflow: hidden;
            transition: transform 0.3s ease, border-color 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        body.page-archive .archive-card:hover {
            transform: translateY(-6px);
            border-color: rgba(192, 160, 98, 0.4);
        }

        body.page-archive .card-img-wrap {
            position: relative;
            height: 260px;
            overflow: hidden;
            background-color: var(--card-bg);
        }

        body.page-archive .card-img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.5s ease;
        }

        body.page-archive .archive-card:hover .card-img {
            transform: scale(1.05);
        }

        body.page-archive .card-body {
            padding: 2rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            justify-content: space-between;
        }

        body.page-archive .card-meta {
            font-size: 0.7rem;
            letter-spacing: 2px;
            color: var(--accent-gold);
            text-transform: uppercase;
            margin-bottom: 0.8rem;
        }

        body.page-archive .card-title {
            font-family: var(--font-logo);
            font-size: 1.5rem;
            line-height: 1.25;
            margin-bottom: 1rem;
            color: var(--text-main);
        }

        body.page-archive .card-snippet {
            font-size: 0.85rem;
            color: var(--text-muted);
            font-weight: 300;
            margin-bottom: 2rem;
        }

        body.page-archive .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid var(--gold-border);
            padding-top: 1rem;
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        body.page-archive .read-link {
            color: var(--accent-gold);
            text-decoration: none;
            letter-spacing: 1px;
            font-weight: 600;
            text-transform: uppercase;
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {

            body.page-archive .archive-grid { grid-template-columns: 1fr; }
        
}


body.page-editorials {
            background-color: var(--page-bg);
            color: var(--text-main);
            font-family: var(--font-heading);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        body.page-editorials .editorials-hero {
            padding: 9rem 2rem 3rem 2rem;
            max-width: 900px;
            margin: 0 auto;
            text-align: left;
        }

        body.page-editorials .hero-tag {
            font-size: 0.75rem;
            letter-spacing: 4px;
            color: var(--accent-gold);
            text-transform: uppercase;
            margin-bottom: 1rem;
            display: block;
        }

        body.page-editorials .hero-title {
            font-family: var(--font-logo);
            font-size: clamp(3rem, 5vw, 4.2rem);
            margin-bottom: 1rem;
        }

        body.page-editorials .hero-desc {
            color: var(--text-muted);
            font-size: 1rem;
            font-weight: 300;
            max-width: 680px;
        }

        body.page-editorials .featured-editorial {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 2rem 4rem 2rem;
        }

        body.page-editorials .featured-card {
            display: grid;
            grid-template-columns: minmax(320px, 1.3fr) 1fr;
            gap: 2.5rem;
            background-color: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            overflow: hidden;
            padding: 0;
        }

        body.page-editorials .featured-media {
            min-height: 420px;
            overflow: hidden;
        }

        body.page-editorials .featured-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        body.page-editorials .featured-copy {
            padding: 3rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        body.page-editorials .featured-copy .card-meta {
            font-size: 0.75rem;
            letter-spacing: 2px;
            color: var(--accent-gold);
            text-transform: uppercase;
            margin-bottom: 1.25rem;
        }

        body.page-editorials .featured-title {
            font-family: var(--font-logo);
            font-size: clamp(2.4rem, 4vw, 3.4rem);
            line-height: 1.05;
            margin-bottom: 1.3rem;
        }

        body.page-editorials .featured-snippet {
            color: var(--text-muted);
            font-size: 1rem;
            margin-bottom: 2rem;
            max-width: 520px;
        }

        body.page-editorials .feature-link {
            color: var(--accent-gold);
            text-decoration: none;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        body.page-editorials .editorial-section {
            max-width: 1300px;
            margin: 0 auto;
            padding: 0 2rem 8rem 2rem;
        }

        body.page-editorials .editorial-grid {
            display: grid;
            gap: 2rem;
        }

        body.page-editorials .editorial-card {
            display: grid;
            grid-template-columns: minmax(240px, 1fr) 1.5fr;
            gap: 2rem;
            padding: 1.75rem;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background-color: rgba(255, 255, 255, 0.03);
            border-radius: 14px;
            align-items: center;
        }

        body.page-editorials .editorial-image {
            min-height: 280px;
            overflow: hidden;
            border-radius: 12px;
        }

        body.page-editorials .editorial-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        body.page-editorials .editorial-text {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        body.page-editorials .editorial-label {
            font-size: 0.75rem;
            letter-spacing: 0.25em;
            text-transform: uppercase;
            color: var(--accent-gold);
        }

        body.page-editorials .editorial-title {
            font-family: var(--font-logo);
            font-size: clamp(1.8rem, 3vw, 2.4rem);
            line-height: 1.1;
            color: var(--text-main);
        }

        body.page-editorials .editorial-snippet {
            color: var(--text-muted);
            font-size: 0.95rem;
            line-height: 1.8;
        }

        body.page-editorials .editorial-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        @media (max-width: 980px) {
            body.page-editorials .featured-card,
            body.page-editorials .editorial-card {
                grid-template-columns: 1fr;
            }

            body.page-editorials .featured-media,
            body.page-editorials .editorial-image {
                min-height: 320px;
            }
        }

        @media (max-width: 680px) {
            body.page-editorials .editorial-meta {
                flex-direction: column;
                align-items: flex-start;
            }

            body.page-editorials .featured-copy {
                padding: 2rem;
            }
        }


/* ============================== ARTICLE PAGE ============================== */

body.page-article {
            background-color: var(--page-bg);
            color: var(--text-main);
            font-family: var(--font-heading);
            line-height: 1.8;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* --- HEADER --- */
        body.page-article header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(8, 12, 20, 0.9);
            backdrop-filter: blur(10px);
            z-index: 100;
            border-bottom: 1px solid var(--gold-border);
        }

        body.page-article nav {
            max-width: 1300px;
            margin: 0 auto;
            padding: 1.2rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        body.page-article .nav-brand {
            font-family: var(--font-logo);
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-main);
            text-decoration: none;
            letter-spacing: 1px;
        }

        body.page-article .nav-back {
            color: var(--accent-gold);
            text-decoration: none;
            font-size: 0.75rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            font-weight: 600;
        }

        /* --- ARTICLE HERO --- */
        body.page-article .article-hero {
            margin-top: 80px;
            min-height: 70vh;
            display: grid;
            grid-template-columns: 1fr 1fr;
            background-color: var(--paper-bg);
            border-bottom: 1px solid var(--gold-border);
        }

        body.page-article .hero-image-wrap {
            position: relative;
            overflow: hidden;
            min-height: 500px;
            height: 100%;
        }

        body.page-article .hero-image {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center top;
            display: block;
        }

        body.page-article .hero-meta-panel {
            padding: 5rem 4rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border-left: 1px solid var(--gold-border);
        }

        body.page-article .issue-tag {
            font-size: 0.75rem;
            letter-spacing: 3px;
            color: var(--accent-gold);
            text-transform: uppercase;
            margin-bottom: 1.5rem;
        }

        body.page-article .article-main-title {
            font-family: var(--font-logo);
            font-size: clamp(2.5rem, 4vw, 4rem);
            line-height: 1.1;
            margin-bottom: 1.5rem;
            font-weight: 700;
        }

        body.page-article .article-subtitle {
            font-family: var(--font-heading);
            font-style: italic;
            font-size: 1rem;
            letter-spacing: 2px;
            color: var(--text-muted);
            margin-bottom: 2.5rem;
            text-transform: uppercase;
        }

        body.page-article .byline {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding-top: 2rem;
            border-top: 1px solid var(--gold-border);
        }

        body.page-article .author-info h4 {
            font-size: 0.85rem;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        body.page-article .author-info p {
            font-size: 0.75rem;
            color: var(--text-muted);
        }

        /* --- ARTICLE BODY LAYOUT --- */
        body.page-article .article-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 6rem 2rem;
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 4rem;
        }

        body.page-article .content-column {
            font-family: var(--font-heading);
            font-size: 1.15rem;
            font-weight: 300;
            line-height: 1.9;
            color: var(--text-main);
        }

        body.page-article .content-column p {
            margin-bottom: 2rem;
            font-size: 1.15rem;
            line-height: 1.9;
        }

        body.page-article .article-h1,
        body.page-article .article-h2,
        body.page-article .article-h3 {
            font-family: var(--font-logo);
            color: var(--text-main);
            margin: 3rem 0 1.2rem;
            line-height: 1.15;
        }

        body.page-article .article-h1 { font-size: clamp(2rem, 3.5vw, 3rem); }
        body.page-article .article-h2 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
        body.page-article .article-h3 {
            font-size: 1.2rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
            color: var(--accent-gold);
        }

        body.page-article .article-figure {
            margin: 3rem 0;
        }

        body.page-article .article-inline-img {
            width: 100%;
            height: auto;
            max-height: 600px;
            object-fit: cover;
            object-position: center;
            display: block;
            border: 1px solid var(--gold-border);
        }

        /* Drop Cap Effect */
        body.page-article .drop-cap::first-letter {
            font-family: var(--font-logo);
            font-size: 4.8rem;
            float: left;
            line-height: 0.8;
            padding-top: 4px;
            padding-right: 12px;
            padding-bottom: 4px;
            color: var(--accent-gold);
            font-weight: 700;
        }

        body.page-article p {
            margin-bottom: 2rem;
        }

        /* Pull Quote */
        body.page-article .pull-quote {
            margin: 3.5rem 0;
            padding: 2rem 0;
            border-top: 1px solid var(--accent-gold);
            border-bottom: 1px solid var(--accent-gold);
            font-family: var(--font-logo);
            font-size: 1.8rem;
            font-style: italic;
            line-height: 1.4;
            color: var(--text-main);
            text-align: center;
        }

        /* Sidebar Column */
        body.page-article .sidebar-column {
            display: flex;
            flex-direction: column;
            gap: 3rem;
        }

        body.page-article .sticky-box {
            position: sticky;
            top: 120px;
        }

        body.page-article .sidebar-card {
            background-color: var(--paper-bg);
            border: 1px solid var(--gold-border);
            padding: 2rem;
            border-radius: 4px;
            margin-bottom: 2rem;
        }

        body.page-article .sidebar-card h3 {
            font-family: var(--font-heading);
            font-size: 0.9rem;
            letter-spacing: 2px;
            color: var(--accent-gold);
            margin-bottom: 1rem;
            text-transform: uppercase;
        }

        body.page-article .sidebar-img {
            width: 100%;
            height: 280px;
            object-fit: cover;
            border-radius: 2px;
            margin-bottom: 1rem;
        }

        /* FOOTER NAVIGATION */
        body.page-article .article-footer-nav {
            max-width: 1200px;
            margin: 0 auto 6rem auto;
            padding: 3rem 2rem;
            background: var(--paper-bg);
            border: 1px solid var(--gold-border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        body.page-article .next-story-label {
            font-size: 0.75rem;
            letter-spacing: 2px;
            color: var(--text-muted);
            text-transform: uppercase;
        }

        body.page-article .next-story-title {
            font-family: var(--font-logo);
            font-size: 1.4rem;
            color: var(--text-main);
            text-decoration: none;
            transition: color 0.3s;
        }

        body.page-article .next-story-title:hover {
            color: var(--accent-gold);
        }

        /* RESPONSIVE */
        @media (max-width: 900px) {

            body.page-article .article-hero { grid-template-columns: 1fr; }
            body.page-article .hero-meta-panel { padding: 3rem 1.5rem; }
            body.page-article .article-container { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }
            body.page-article .pull-quote { font-size: 1.4rem; }
            body.page-article .article-footer-nav { flex-direction: column; gap: 1.5rem; text-align: center; }
        
}



/* ============================== DIGITAL READER / PRINT SPREAD PAGE ============================== */

body.page-reader {
            background-color: #06090D;
            color: var(--text-dark);
            font-family: var(--font-body);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            padding: 2rem 1rem;
        }

        /* --- CONTROL BAR --- */
        body.page-reader .top-controls {
            max-width: 1300px;
            margin: 0 auto 2rem auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            color: var(--accent-gold);
            font-family: var(--font-sub);
            font-size: 0.75rem;
            letter-spacing: 3px;
            text-transform: uppercase;
        }

        body.page-reader .back-link {
            color: var(--accent-gold);
            text-decoration: none;
            transition: opacity 0.3s;
        }

        body.page-reader .back-link:hover { opacity: 0.8; }

        /* --- MAGAZINE SPREAD GRID CONTAINER --- */
        body.page-reader .spread-grid {
            max-width: 1300px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            margin-bottom: 3rem;
        }

        /* --- COMMON PAGE BASE --- */
        body.page-reader .page {
            background-color: var(--paper-cream);
            padding: 3.5rem 3rem 2.5rem 3rem;
            position: relative;
            min-height: 820px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            box-shadow: 0 15px 35px rgba(0,0,0,0.6);
        }

        /* PAGE HEADER */
        body.page-reader .page-header {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 0.9rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px solid var(--line-color);
            margin-bottom: 2.5rem;
            font-family: var(--font-sub);
            font-size: 0.7rem;
            letter-spacing: 3px;
            color: var(--text-dark);
            text-transform: uppercase;
        }

        body.page-reader .page-header .header-rule {
            display: inline-block;
            width: 34px;
            height: 1px;
            background: var(--accent-gold);
        }

        body.page-reader .page-header .header-num {
            color: var(--accent-gold);
            font-weight: 600;
        }

        /* PAGE FOOTER */
        body.page-reader .page-footer {
            display: flex;
            justify-content: flex-end;
            padding-top: 1rem;
            font-family: var(--font-sub);
            font-size: 0.75rem;
            color: var(--text-dark);
            letter-spacing: 1px;
        }

        body.page-reader .page-footer-line {
            display: inline-block;
            width: 20px;
            height: 1px;
            background: var(--accent-gold);
            margin-right: 8px;
            vertical-align: middle;
        }

        /* --- DARK COVER-STYLE PAGE TEMPLATE (repeats each spread) --- */
        body.page-reader .page-cover {
            background-color: var(--dark-navy);
            color: #FFFFFF;
            padding: 3.5rem 3.5rem 2.5rem 4.5rem;
            justify-content: flex-start;
            background-size: cover;
            background-position: center;
            position: relative;
            overflow: hidden;
        }

        body.page-reader .page-cover::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(6,9,13,0.55) 0%, rgba(6,9,13,0.35) 35%, rgba(6,9,13,0.92) 100%);
            z-index: 1;
        }

        body.page-reader .page-cover > * { position: relative; z-index: 2; }

        body.page-reader .masthead-tag {
            font-family: var(--font-brand);
            font-size: clamp(2.4rem, 4.5vw, 3.4rem);
            font-weight: 400;
            letter-spacing: 3px;
            line-height: 1;
            margin-bottom: 0.6rem;
        }

        body.page-reader .masthead-sub {
            font-family: var(--font-sub);
            font-size: 0.65rem;
            letter-spacing: 3px;
            opacity: 0.75;
            text-transform: uppercase;
        }

        /* Vertical "IRRISIBLE ARCHIVE 001" label along the left edge */
        body.page-reader .vertical-label {
            position: absolute;
            left: 1.5rem;
            top: 50%;
            transform: translateY(-50%) rotate(180deg);
            writing-mode: vertical-rl;
            font-family: var(--font-sub);
            font-size: 0.65rem;
            letter-spacing: 4px;
            color: var(--accent-gold);
            text-transform: uppercase;
            z-index: 2;
        }

        /* Circular monogram seal */
        body.page-reader .monogram-seal {
            width: 78px;
            height: 78px;
            margin: 2rem 0 2rem 0.25rem;
            color: var(--accent-gold);
        }

        body.page-reader .monogram-seal svg { width: 100%; height: 100%; }

        body.page-reader .cover-spacer { flex-grow: 1; }

        body.page-reader .cover-quote-block {
            margin-left: 0.25rem;
            max-width: 340px;
        }

        body.page-reader .cover-quote-mark {
            font-family: var(--font-display);
            font-size: 2.6rem;
            line-height: 0.6;
            color: var(--accent-gold);
            display: block;
            margin-bottom: 0.4rem;
        }

        body.page-reader .cover-quote-text {
            font-family: var(--font-display);
            font-size: 1.3rem;
            font-style: italic;
            line-height: 1.35;
            color: #FFFFFF;
        }

        body.page-reader .cover-tags {
            margin: 2rem 0 1rem 0.25rem;
            font-family: var(--font-sub);
            font-size: 0.65rem;
            letter-spacing: 2px;
            color: var(--accent-gold);
            text-transform: uppercase;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--gold-border);
            max-width: 340px;
        }

        body.page-reader .cover-mag-footer {
            margin-left: 0.25rem;
            font-family: var(--font-sub);
            font-size: 0.65rem;
            letter-spacing: 2px;
            color: var(--text-main);
            opacity: 0.8;
            text-transform: uppercase;
        }

        /* --- CONTENT PAGE: NUMBERED INSIGHT LIST --- */
        body.page-reader .reader-list {
            display: flex;
            flex-direction: column;
        }

        body.page-reader .reader-item {
            display: grid;
            grid-template-columns: 2.6rem 1px 1fr;
            gap: 1.4rem;
            padding: 1.6rem 0;
            border-bottom: 1px solid var(--line-color);
        }

        body.page-reader .reader-item:first-child { padding-top: 0; }
        body.page-reader .reader-item:last-child { border-bottom: none; }

        body.page-reader .reader-item-num {
            font-family: var(--font-display);
            font-size: 1.8rem;
            color: var(--accent-gold);
            font-weight: 500;
            line-height: 1;
        }

        body.page-reader .reader-item-rule {
            background: var(--gold-border);
            width: 1px;
        }

        body.page-reader .body-text {
            font-size: 1.05rem;
            color: var(--text-dark);
            line-height: 1.7;
            font-weight: 400;
            text-align: justify;
        }

        body.page-reader .reader-item .body-text { margin-bottom: 0; }

        /* --- RECURRING CLOSING SIGNATURE BLOCK --- */
        body.page-reader .closing-block {
            display: flex;
            align-items: center;
            gap: 2rem;
            margin-top: 2.5rem;
            padding-top: 2rem;
            border-top: 1px solid var(--line-color);
        }

        body.page-reader .closing-statement {
            font-family: var(--font-display);
            font-size: 2.1rem;
            line-height: 1.15;
            color: var(--text-dark);
        }

        body.page-reader .closing-statement em {
            display: block;
            font-style: italic;
            color: var(--accent-gold);
        }

        body.page-reader .closing-divider {
            width: 1px;
            align-self: stretch;
            background: var(--gold-border);
        }

        body.page-reader .closing-sub {
            font-family: var(--font-sub);
            font-size: 0.75rem;
            letter-spacing: 1px;
            line-height: 1.6;
            color: var(--text-dark);
            text-transform: uppercase;
        }

        body.page-reader .closing-sub em {
            display: block;
            font-family: var(--font-display);
            font-style: italic;
            text-transform: none;
            font-size: 1rem;
            letter-spacing: 0;
            color: var(--text-dark);
            margin-top: 0.2rem;
        }

        /* RESPONSIVE FLUIDITY */
        @media (max-width: 1024px) {

            body.page-reader .spread-grid { grid-template-columns: 1fr; }
            body.page-reader .page { min-height: auto; }
            body.page-reader .page-cover { min-height: 640px; }
            body.page-reader .closing-block { flex-direction: column; align-items: flex-start; gap: 1rem; }
            body.page-reader .closing-divider { display: none; }
        
}



/* ============================== SUBMIT PAGE ============================== */

body.page-submit {
            background-color: var(--page-bg);
            color: var(--text-main);
            font-family: var(--font-heading);
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* --- HEADER --- */
        body.page-submit header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(8, 12, 20, 0.9);
            backdrop-filter: blur(10px);
            z-index: 100;
            border-bottom: 1px solid var(--gold-border);
        }

        body.page-submit nav {
            max-width: 1300px;
            margin: 0 auto;
            padding: 1.2rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        body.page-submit .nav-brand {
            font-family: var(--font-logo);
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-main);
            text-decoration: none;
            letter-spacing: 1px;
        }

        body.page-submit .nav-back {
            color: var(--accent-gold);
            text-decoration: none;
            font-size: 0.75rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            font-weight: 600;
        }

        /* --- HERO --- */
        body.page-submit .submit-hero {
            padding: 10rem 2rem 4rem 2rem;
            text-align: center;
            background: radial-gradient(circle at center, rgba(43, 69, 83, 0.4) 0%, rgba(8, 12, 20, 1) 70%);
        }

        body.page-submit .hero-tag {
            font-size: 0.75rem;
            letter-spacing: 4px;
            color: var(--accent-gold);
            text-transform: uppercase;
            margin-bottom: 1rem;
        }

        body.page-submit .hero-title {
            font-family: var(--font-logo);
            font-size: clamp(2.5rem, 5vw, 4rem);
            margin-bottom: 1.5rem;
            line-height: 1.1;
        }

        body.page-submit .hero-subtitle {
            font-family: var(--font-heading);
            font-style: italic;
            color: var(--text-muted);
            max-width: 650px;
            margin: 0 auto;
            font-size: 0.95rem;
            font-weight: 300;
        }

        /* --- PRICING & TIERS GRID --- */
        body.page-submit .tiers-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 2rem;
        }

        body.page-submit .tiers-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        body.page-submit .tier-card {
            background-color: var(--card-bg);
            border: 1px solid var(--gold-border);
            border-radius: 4px;
            padding: 3rem 2rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            transition: transform 0.3s ease, border-color 0.3s ease;
        }

        body.page-submit .tier-card.featured {
            border-color: var(--accent-gold);
            position: relative;
        }

        body.page-submit .tier-card.featured::before {
            content: 'Recommended';
            position: absolute;
            top: -12px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--accent-gold);
            color: var(--page-bg);
            font-size: 0.65rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 0.2rem 0.8rem;
            font-weight: 600;
        }

        body.page-submit .tier-card:hover {
            transform: translateY(-5px);
        }

        body.page-submit .tier-name {
            font-family: var(--font-heading);
            font-size: 1.2rem;
            letter-spacing: 2px;
            margin-bottom: 1rem;
        }

        body.page-submit .tier-price {
            font-family: var(--font-logo);
            font-size: 2.5rem;
            color: var(--accent-gold);
            margin-bottom: 1.5rem;
        }

        body.page-submit .tier-features {
            list-style: none;
            margin-bottom: 2.5rem;
            font-size: 0.85rem;
            color: var(--text-muted);
        }

        body.page-submit .tier-features li {
            margin-bottom: 0.8rem;
            padding-left: 1.2rem;
            position: relative;
        }

        body.page-submit .tier-features li::before {
            content: '—';
            position: absolute;
            left: 0;
            color: var(--accent-gold);
        }

        /* --- SUBMISSION FORM SECTION --- */
        body.page-submit .form-section {
            max-width: 800px;
            margin: 0 auto;
            padding: 4rem 2rem 8rem 2rem;
        }

        body.page-submit .form-card {
            background-color: var(--card-bg);
            border: 1px solid var(--gold-border);
            border-radius: 4px;
            padding: 3rem;
        }

        body.page-submit .form-title {
            font-family: var(--font-heading);
            font-size: 1.5rem;
            letter-spacing: 2px;
            margin-bottom: 2rem;
            text-align: center;
        }

        body.page-submit .form-group {
            margin-bottom: 1.8rem;
        }

        body.page-submit .form-group label {
            display: block;
            font-size: 0.75rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--text-muted);
            margin-bottom: 0.6rem;
        }

        body.page-submit .form-control {
            width: 100%;
            padding: 1rem;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--gold-border);
            color: var(--text-main);
            font-family: var(--font-body);
            font-size: 0.9rem;
            border-radius: 2px;
            outline: none;
            transition: border-color 0.3s;
        }

        body.page-submit .form-control:focus {
            border-color: var(--accent-gold);
        }

        body.page-submit select.form-control {
            appearance: none;
            background-color: var(--card-bg);
        }

        body.page-submit textarea.form-control {
            resize: vertical;
            min-height: 120px;
        }

        body.page-submit .btn-submit {
            width: 100%;
            padding: 1.1rem;
            background: var(--accent-gold);
            color: var(--page-bg);
            border: none;
            font-family: var(--font-body);
            font-size: 0.8rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            font-weight: 600;
            cursor: pointer;
            transition: opacity 0.3s;
        }

        body.page-submit .btn-submit:hover {
            opacity: 0.9;
        }

        /* RESPONSIVE */
        @media (max-width: 768px) {

            body.page-submit .form-card { padding: 2rem 1.5rem; }
        
}



/* ============================== ADMIN DASHBOARD PAGE ============================== */

body.page-admin {
            background-color: var(--admin-bg);
            color: var(--text-main);
            font-family: var(--font-heading);
            display: flex;
            min-height: 100vh;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        /* --- SIDEBAR --- */
        body.page-admin aside {
            width: 260px;
            background-color: var(--panel-bg);
            border-right: 1px solid var(--panel-border);
            padding: 2rem 1.5rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: fixed;
            height: 100vh;
            z-index: 10;
        }

        body.page-admin .brand-block {
            margin-bottom: 3rem;
        }

        body.page-admin .brand-title {
            font-family: var(--font-logo);
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-main);
            letter-spacing: 1px;
        }

        body.page-admin .brand-subtitle {
            font-size: 0.65rem;
            letter-spacing: 2px;
            color: var(--accent-gold);
            text-transform: uppercase;
            margin-top: 0.2rem;
        }

        body.page-admin .nav-menu {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        body.page-admin .nav-item a {
            display: flex;
            align-items: center;
            padding: 0.8rem 1rem;
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.8rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-radius: 4px;
            transition: all 0.3s;
        }

        body.page-admin .nav-item.active a, body.page-admin .nav-item a:hover {
            background-color: rgba(192, 160, 98, 0.1);
            color: var(--accent-gold);
            font-weight: 600;
        }

        body.page-admin .curator-badge {
            padding: 1rem;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid var(--panel-border);
            border-radius: 4px;
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        body.page-admin .curator-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid var(--accent-gold);
        }

        body.page-admin .curator-name {
            font-size: 0.8rem;
            font-weight: 600;
        }

        body.page-admin .curator-role {
            font-size: 0.65rem;
            color: var(--text-muted);
        }

        /* --- MAIN CONTENT AREA --- */
        body.page-admin main {
            margin-left: 260px;
            flex-grow: 1;
            padding: 2.5rem 3rem;
            max-width: 1400px;
        }

        /* HEADER */
        body.page-admin .admin-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--panel-border);
        }

        body.page-admin .page-title {
            font-family: var(--font-heading);
            font-size: 1.8rem;
            letter-spacing: 2px;
        }

        body.page-admin .action-btn {
            background-color: var(--accent-gold);
            color: var(--admin-bg);
            border: none;
            padding: 0.8rem 1.6rem;
            font-family: var(--font-body);
            font-size: 0.75rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            font-weight: 700;
            cursor: pointer;
            border-radius: 2px;
            transition: opacity 0.3s;
        }

        body.page-admin .action-btn:hover {
            opacity: 0.9;
        }

        /* METRICS GRID */
        body.page-admin .metrics-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 1.5rem;
            margin-bottom: 3rem;
        }

        body.page-admin .metric-card {
            background-color: var(--panel-bg);
            border: 1px solid var(--panel-border);
            padding: 1.5rem;
            border-radius: 4px;
        }

        body.page-admin .metric-label {
            font-size: 0.7rem;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--text-muted);
            margin-bottom: 0.5rem;
        }

        body.page-admin .metric-value {
            font-family: var(--font-logo);
            font-size: 2.2rem;
            color: var(--accent-gold);
            line-height: 1;
            margin-bottom: 0.5rem;
        }

        body.page-admin .metric-trend {
            font-size: 0.75rem;
            color: var(--status-green);
        }

        /* MANAGEMENT TABLES */
        body.page-admin .section-block {
            background-color: var(--panel-bg);
            border: 1px solid var(--panel-border);
            border-radius: 4px;
            padding: 2rem;
            margin-bottom: 2.5rem;
        }

        body.page-admin .table-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        body.page-admin .table-title {
            font-family: var(--font-heading);
            font-size: 1.1rem;
            letter-spacing: 1px;
        }

        body.page-admin .admin-table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            font-size: 0.85rem;
        }

        body.page-admin .admin-table th {
            padding: 1rem;
            font-size: 0.75rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--text-muted);
            border-bottom: 1px solid var(--panel-border);
            font-weight: 500;
        }

        body.page-admin .admin-table td {
            padding: 1.2rem 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.04);
            color: var(--text-main);
        }

        body.page-admin .admin-table tr:hover td {
            background-color: rgba(255, 255, 255, 0.02);
        }

        /* BADGES & CONTROLS */
        body.page-admin .badge {
            display: inline-block;
            padding: 0.3rem 0.7rem;
            border-radius: 12px;
            font-size: 0.65rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-weight: 600;
        }

        body.page-admin .badge-pending { background: rgba(217, 130, 43, 0.15); color: var(--status-amber); border: 1px solid var(--status-amber); }
        body.page-admin .badge-published { background: rgba(58, 142, 103, 0.15); color: var(--status-green); border: 1px solid var(--status-green); }
        body.page-admin .badge-paid { background: rgba(192, 160, 98, 0.15); color: var(--accent-gold); border: 1px solid var(--accent-gold); }

        body.page-admin .table-actions {
            display: flex;
            gap: 0.8rem;
        }

        body.page-admin .btn-sm {
            padding: 0.4rem 0.8rem;
            font-size: 0.7rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            border: 1px solid var(--panel-border);
            background: transparent;
            color: var(--text-main);
            cursor: pointer;
            border-radius: 2px;
            transition: all 0.2s;
        }

        body.page-admin .btn-sm:hover {
            border-color: var(--accent-gold);
            color: var(--accent-gold);
        }

        body.page-admin .btn-sm.approve:hover {
            border-color: var(--status-green);
            color: var(--status-green);
        }

        body.page-admin .btn-sm.reject:hover {
            border-color: var(--status-red);
            color: var(--status-red);
        }

        /* RESPONSIVE */
        @media (max-width: 1024px) {

            body.page-admin aside { width: 80px; padding: 1.5rem 0.5rem; text-align: center; }
            body.page-admin .brand-subtitle, body.page-admin .curator-info, body.page-admin .nav-item span { display: none; }
            body.page-admin main { margin-left: 80px; padding: 1.5rem; }
        
}


/* ==========================================
   2. MARBLE NAVBAR
   ========================================== */
.navbar-marble {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
  padding: 24px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(0);
  will-change: transform;

  /* Theme color and subtle border */
  background-color: var(--page-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.page-index .navbar-marble {
  opacity: 0;
  transform: translateY(-18px);
  will-change: transform, opacity;
}

.nav-logo {
  font-family: var(--font-logo);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 1px;
}

.navbar-marble .nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  width: 34px;
  height: 34px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 6px;
}

.navbar-marble .nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: transform 0.3s ease, opacity 0.3s ease;
  display: block;
}

.navbar-marble .nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-marble .nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.navbar-marble .nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar-marble .nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.navbar-marble .nav-links a {
  color: var(--text-main);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-marble .nav-links a:hover {
  color: var(--accent-gold);
}

.navbar-marble .nav-cta {
  border: 1px solid var(--accent-gold);
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  color: var(--accent-gold) !important;
  transition: all 0.3s ease !important;
}

.navbar-marble .nav-cta:hover {
  background: var(--accent-gold);
  color: var(--page-bg) !important;
}

/* Right-side group: links + toggle flush to the right */
.navbar-marble .nav-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

/* HOME button shown on non-homepage pages */
.nav-home-btn {
  color: var(--accent-gold);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--font-body);
  border: 1px solid rgba(192, 160, 98, 0.35);
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
  transition: background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.nav-home-btn:hover {
  background: var(--accent-gold);
  color: var(--page-bg);
}

/* ==========================================
   3. TYPOGRAPHY & LETTER MASKING
   ========================================== */

/* Individual Letter Span Styling (Generated via JS) */
.letter {
  display: inline-block;
  will-change: transform, opacity;
  transform-origin: 50% 100%;
}

body.hero-intro-complete .letter,
body.hero-intro-complete .animate-sub {
  will-change: auto;
}

/* ==========================================
   2. HERO LAYOUT ARCHITECTURE (Option B+G)
   ========================================== */
.hero-section {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 140px 5vw 80px 5vw;
  gap: 60px;
  position: relative;
  contain: layout paint style;
}

@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  body.page-index .logo-bottom {
    font-size: clamp(3.2rem, 12vw, 6.2rem);
    letter-spacing: 1px;
  }

  body.page-index .logo-top {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  }

  body.page-index .subtitle-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  body.page-index .floral-accent {
    width: clamp(40px, 8vw, 55px);
    height: clamp(40px, 8vw, 55px);
  }
}

.hero-issue-tag {
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  color: #d4af37; /* Warm luxury gold */
  display: block;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-logo);
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-synopsis {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #a0a0a0;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  align-items: center;
}

.cta-primary {
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  transition: all 0.3s ease;
}

.cta-primary:hover {
  background: #ffffff;
  color: #000000;
}

/* 3D Cover Styling */
.hero-cover-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cover-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3 / 4;
  transform-style: preserve-3d;
  overflow: hidden;
  background: transparent;
}

.cover-card img,
.cover-card .cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cover-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
/* ==========================================
   3. ASYMMETRICAL EDITORIAL ESSAYS (Horizontal Scroll)
   ========================================== */
.essay-pin-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100vh; /* Will be pinned by GSAP */
  background-color: var(--page-bg);
}

.essay-horizontal-scroll {
  display: flex;
  width: 200vw; /* 2 panels = 200vw */
  height: 100%;
}

.essay-panel {
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8vw;
  padding: 0 5vw;
}

.essay-panel.asymmetrical {
  flex-direction: row-reverse;
}

.essay-text-block {
  flex: 1;
  max-width: 500px;
}

.essay-image-block {
  flex: 1;
  max-width: 600px;
  height: 70vh;
}

.essay-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
  .essay-panel, .essay-panel.asymmetrical {
    flex-direction: column;
    justify-content: center;
    gap: 4vh;
  }
  .essay-image-block {
    height: 40vh;
  }
}
/* Responsive Navbar adjustments */
@media (max-width: 900px) {
  .navbar-marble {
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4vw;
  }

  .navbar-marble .nav-right {
    gap: 1rem;
  }

  .navbar-marble .nav-logo {
    flex: 0 0 auto;
  }

  .navbar-marble .nav-toggle {
    display: flex;
    flex: 0 0 auto;
  }

  .navbar-marble .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gold-border);
    padding: 2rem 1.5rem 2.5rem;
    width: 100%;
  }

  .navbar-marble .nav-links.is-open {
    display: flex;
  }

  .navbar-marble .nav-links a {
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
  }

  .navbar-marble .nav-cta {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .nav-home-btn {
    font-size: 0.65rem;
    padding: 0.35rem 0.7rem;
  }
}

@media (max-width: 768px) {
  .navbar-marble {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px 4vw;
    gap: 0;
  }
  .navbar-marble .nav-right {
    gap: 0.75rem;
  }
  .navbar-marble .nav-links a {
    font-size: 0.65rem;
  }
}

@media (max-width: 900px) {
  body.page-index .navbar-marble {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.75rem;
    width: auto;
  }

  body.page-index .navbar-marble .nav-logo {
    display: inline-flex;
    flex: 0 0 auto;
    margin-right: 0;
    text-align: left;
  }

  body.page-index .navbar-marble .nav-toggle {
    display: flex;
    flex: 0 0 auto;
    margin-left: 0;
  }

  body.page-index .navbar-marble .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: rgba(8, 12, 20, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gold-border);
    padding: 2rem 1.5rem 2.5rem;
    list-style: none;
  }

  body.page-index .navbar-marble .nav-links.is-open {
    display: flex;
  }
}

/* Secondary CTA (Fix blue link) */
.cta-secondary {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

.cta-secondary:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Ensure sections sliding over pinned hero are opaque */
.issue-cover-section {
  background-color: var(--page-bg);
  z-index: 2;
  transition: background-color 1.2s ease;
}
.hero {
  z-index: 1;
}

/* ==========================================
   4. CUSTOM LUXURY CURSOR
   ========================================== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: #d4af37; /* Luxury Gold */
  border-radius: 50%;
  pointer-events: none; /* Allows click-through */
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor-text {
  font-family: 'Cinzel', serif;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: #000000;
  opacity: 0;
  transition: opacity 0.2s ease;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin-left: 0.25em;
}

.custom-cursor.hovered {
  width: 70px;
  height: 70px;
  background-color: rgba(212, 175, 55, 0.95);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.custom-cursor.hovered .cursor-text {
  opacity: 1;
}

/* ==========================================
   5. FLOATING MOODBOARD TRAIL
   ========================================== */
.moodboard-trail-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.floating-mood-img {
  position: absolute;
  width: 130px;
  height: 170px;
  object-fit: cover;
  border-radius: 2px;
  opacity: 0.7;
  filter: grayscale(30%) contrast(110%);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  will-change: transform, opacity;
}

/* ==========================================
   6. ASYMMETRICAL EDITORIAL SPREAD
   ========================================== */
.editorial-spread {
  min-height: 100vh;
  padding: 160px 6vw;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  contain: layout paint style;
}

.spread-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 30px;
  width: 100%;
  align-items: center;
}

.spread-text-column {
  grid-column: 1 / 8;
  z-index: 2;
}

.spread-media-column {
  grid-column: 8 / 13;
  align-self: flex-end;
  transform: translateY(40px);
}

@media (max-width: 1024px) {
  .spread-text-column { grid-column: 1 / 13; }
  .spread-media-column { 
    grid-column: 1 / 13; 
    transform: translateY(0);
    margin-top: 50px;
  }
}

.category-tag {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  color: #d4af37;
  display: block;
  margin-bottom: 24px;
}

.massive-pull-quote {
  font-family: 'Playfair Display', 'Cinzel', serif;
  font-size: clamp(2.2rem, 4.2vw, 4.8rem);
  line-height: 1.12;
  font-weight: 400;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.synopsis-paragraph {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-bottom: 40px;
}

.read-button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  transition: border-color 0.3s ease, gap 0.3s ease;
}

.read-button:hover {
  border-color: #d4af37;
  gap: 24px;
}

.media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  border-radius: 2px;
  overflow: hidden;
}

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

.media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Cinzel', serif;
}

/* ==========================================
   PHASE 7: CURATED DISPATCHES
   ========================================== */
.dispatches-section {
  padding: 160px 5vw;
  background-color: #07080a;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  contain: layout paint style;
}

.dispatches-container {
  max-width: 680px;
  width: 100%;
}

.dispatches-title {
  font-family: 'Playfair Display', 'Cinzel', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 400;
  color: #ffffff;
  margin: 12px 0 20px 0;
}

.dispatches-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 48px;
}

.dispatches-form {
  display: flex;
  gap: 16px;
  justify-content: center;
  width: 100%;
}

@media (max-width: 640px) {
  .dispatches-form {
    flex-direction: column;
  }
}

.input-wrapper {
  position: relative;
  flex: 1;
}

.input-wrapper input {
  width: 100%;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
  border-radius: 0;
}

.input-wrapper input:focus {
  border-color: #d4af37;
  background: rgba(255, 255, 255, 0.06);
}

.subscribe-btn {
  padding: 18px 36px;
  background: #d4af37;
  color: #000000;
  border: none;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.subscribe-btn:hover {
  background: #e5c158;
  transform: translateY(-1px);
}

.form-feedback {
  margin-top: 18px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: #d4af37;
  min-height: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ==========================================
   PHASE 8: EDITORIAL FOOTER
   ========================================== */
.site-footer {
  background: var(--page-bg);
  padding: 120px 6vw 40px 6vw;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  contain: layout paint style;
}

.editorial-spread,
.dispatches-section,
.site-footer {
  position: relative;
  background-color: var(--page-bg);
}

.editorial-spread::before,
.dispatches-section::before,
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(ellipse 60% 50% at 15% 20%, rgba(212, 175, 55, 0.06), transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 80%, rgba(212, 175, 55, 0.04), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
}

.editorial-spread > *,
.dispatches-section > *,
.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 550px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 320px;
}

.site-footer .footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: #d4af37;
  margin-bottom: 24px;
}

.site-footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-col ul li {
  margin-bottom: 14px;
}

.site-footer .footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.site-footer .footer-col ul li a:hover {
  color: #ffffff;
}

.ambient-btn {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  padding: 10px 16px;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ambient-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
}

.site-footer .footer-bottom {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================
   PHASE 9: FULL-SCREEN READING MODAL
   ========================================== */
.reader-modal {
  position: fixed;
  inset: 0;
  background-color: #0b0a0c;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  overflow-y: auto;
}

.reader-modal.active {
  opacity: 1;
  pointer-events: all;
}

.reader-header {
  position: sticky;
  top: 0;
  padding: 24px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(11, 10, 12, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10;
}

.reader-issue-info {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: #d4af37;
}

.close-reader {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  padding: 8px 18px;
  transition: all 0.3s ease;
}

.close-reader:hover {
  border-color: #d4af37;
  color: #d4af37;
}

.reader-body {
  max-width: 740px;
  margin: 80px auto;
  padding: 0 24px;
}

.reader-category {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: #d4af37;
  display: block;
  margin-bottom: 16px;
}

.reader-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin: 16px 0;
  color: #ffffff;
}

.reader-byline {
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 48px;
}

.reader-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
}

.reader-content .lead-para {
  font-size: 1.45rem;
  color: #ffffff;
}

.reader-quote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.8rem;
  line-height: 1.4;
  border-left: 2px solid #d4af37;
  padding-left: 28px;
  margin: 48px 0;
  color: #d4af37;
}

@media (hover: none), (pointer: coarse), (max-width: 768px) {
  .custom-cursor,
  .moodboard-trail-container {
    display: none;
  }

  nav.navbar-marble,
  body.page-index header,
  body.page-index .nav-links,
  .navbar-marble,
  .navbar-marble .nav-links,
  .cover-badge,
  .reader-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  body.page-index .hero {
    min-height: 100svh;
    background-position: center top;
  }

  body.page-index .logo-container,
  body.page-index .subtitle {
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  }

  .issue-cover-section,
  .editorial-spread,
  .dispatches-section,
  .site-footer {
    content-visibility: auto;
  }

  .issue-cover-section {
    contain-intrinsic-size: 900px;
  }

  .editorial-spread {
    contain-intrinsic-size: 1000px;
  }

  .dispatches-section,
  .site-footer {
    contain-intrinsic-size: 700px;
  }

  .editorial-spread::before,
  .dispatches-section::before,
  .site-footer::before {
    background-image: none;
  }

  .media-frame {
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55);
  }
}

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

  .animate-text,
  .animate-sub,
  .animate-scroll-text {
    opacity: 1;
    visibility: visible;
    transform: none !important;
  }
}
