:root {
    --color-ink: #1a2332;
    --color-paper: #eef3f9;
    --color-cream: #e2ebf4;
    --color-gold: #2563a8;
    --color-gold-light: #a8c8e8;
    --color-gold-dark: #1a4f8a;
    --color-rust: #c44b2b;
    --color-sage: #2a7a4a;
    --color-muted: #3a4556;
    --color-light-muted: #556677;
    --color-border: #c8d6e5;
    --color-border-light: #d8e4ef;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Serif 4', Georgia, serif;
    --font-mono: 'JetBrains Mono', monospace;
    --max-width: 1200px;
    --content-width: 780px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-paper);
    color: var(--color-ink);
    line-height: 1.7;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* ═══════════════════════════════════════ */
/* DECORATIVE BORDER FRAME                */
/* ═══════════════════════════════════════ */
.page-frame {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 1000;
}
.page-frame::before {
    content: '';
    position: absolute;
    top: 8px; left: 8px; right: 8px; bottom: 8px;
    border: 1px solid var(--color-border);
}
.page-frame::after {
    content: '';
    position: absolute;
    top: 12px; left: 12px; right: 12px; bottom: 12px;
    border: 1px solid var(--color-border-light);
}

/* ═══════════════════════════════════════ */
/* NOISE TEXTURE OVERLAY                  */
/* ═══════════════════════════════════════ */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 999;
}

/* ═══════════════════════════════════════ */
/* TOP BAR                                */
/* ═══════════════════════════════════════ */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #556677;
    border-bottom: 1px solid var(--color-border-light);
}
.top-bar a {
    color: #3a4a5e;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}
.top-bar a:hover {
    color: var(--color-gold-dark);
}
.top-bar-links {
    display: flex;
    gap: 16px;
    align-items: center;
}
.top-bar .yt-btn {
    background: #c00;
    color: #fff;
    padding: 4px 12px;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 0.06em;
    transition: background 0.3s;
}
.top-bar .yt-btn:hover {
    background: #900;
    color: #fff;
}

/* ═══════════════════════════════════════ */
/* HEADER / MASTHEAD                      */
/* ═══════════════════════════════════════ */
.masthead {
    text-align: center;
    padding: 70px 40px 50px;
    position: relative;
}
.masthead::before {
    content: '❧';
    display: block;
    font-size: 24px;
    color: var(--color-gold);
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}
.masthead h1, .masthead h2 {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 90px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--color-ink);
    animation: fadeInUp 0.8s ease-out;
}
.masthead h1 span, .masthead h2 span {
    font-style: italic;
    font-weight: 400;
    color: var(--color-gold-dark);
}
.masthead-tagline {
    font-family: var(--font-body);
    font-size: 18px;
    font-style: italic;
    color: var(--color-muted);
    margin-top: 18px;
    font-weight: 300;
    letter-spacing: 0.02em;
    animation: fadeInUp 1s ease-out 0.2s both;
}
.masthead-rule {
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    margin: 35px auto 0;
    animation: scaleIn 0.8s ease-out 0.4s both;
}

/* ═══════════════════════════════════════ */
/* NAVIGATION                             */
/* ═══════════════════════════════════════ */
.nav-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 20px 40px;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.nav-bar a {
    color: #3a4a5e;
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
    font-weight: 500;
}
.nav-bar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--color-gold);
    transition: all 0.3s;
    transform: translateX(-50%);
}
.nav-bar a:hover {
    color: var(--color-ink);
}
.nav-bar a:hover::after {
    width: 100%;
}
.nav-bar a.active {
    color: var(--color-ink);
}
.nav-bar a.active::after {
    width: 100%;
}

/* ═══════════════════════════════════════ */
/* SEARCH — Nav Button                    */
/* ═══════════════════════════════════════ */
.nav-search-btn {
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-muted);
    cursor: pointer;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.05em;
}
.nav-search-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-dark);
}

/* ═══════════════════════════════════════ */
/* SEARCH — Overlay & Modal               */
/* ═══════════════════════════════════════ */
.search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(26, 35, 50, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: flex-start;
    justify-content: center;
    padding-top: min(18vh, 160px);
    animation: searchFadeIn 0.2s ease;
}
.search-overlay.open {
    display: flex;
}
@keyframes searchFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.search-modal {
    width: min(600px, 92vw);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(26, 35, 50, 0.25), 0 0 0 1px var(--color-border-light);
    overflow: hidden;
    animation: searchSlideUp 0.25s ease;
}
@keyframes searchSlideUp {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border-light);
}
.search-icon {
    color: var(--color-muted);
    flex-shrink: 0;
}
.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--color-ink);
    background: transparent;
}
.search-input::placeholder {
    color: #9eaab8;
}
.search-kbd {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-muted);
    background: var(--color-paper);
    flex-shrink: 0;
}
.search-results {
    max-height: min(50vh, 420px);
    overflow-y: auto;
    padding: 8px;
}
.search-empty {
    text-align: center;
    padding: 36px 20px;
    color: #9eaab8;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.04em;
}
.search-result-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}
.search-result-item:hover,
.search-result-item.active {
    background: var(--color-paper);
}
.search-result-item .sr-cat {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    background: rgba(37, 99, 168, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
    white-space: nowrap;
    margin-top: 3px;
    flex-shrink: 0;
}
.search-result-item .sr-body h4 {
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-ink);
    margin: 0 0 4px;
    line-height: 1.35;
}
.search-result-item .sr-body p {
    font-size: 13px;
    color: var(--color-muted);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.search-result-item .sr-body .sr-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #9eaab8;
    margin-top: 4px;
}
mark {
    background: rgba(37, 99, 168, 0.12);
    color: var(--color-gold-dark);
    padding: 0 2px;
    border-radius: 2px;
}
.search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: var(--color-muted);
}
.search-no-results .snr-icon { font-size: 28px; margin-bottom: 10px; }
.search-no-results p { font-size: 14px; margin: 0; }
.search-no-results .snr-hint {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #9eaab8;
    margin-top: 8px;
}

/* ═══════════════════════════════════════ */
/* MAIN CONTENT AREA                      */
/* ═══════════════════════════════════════ */
.content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 40px;
}

/* ═══════════════════════════════════════ */
/* FEATURED ARTICLE (HERO)                */
/* ═══════════════════════════════════════ */
/* ── MULTI-FEATURED STORIES ── */
.featured-stories {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--color-border);
    animation: fadeInUp 0.8s ease-out;
    min-height: 520px;
}

/* Hero (primary) */
.featured-hero {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.featured-hero:hover {
    box-shadow: 0 16px 48px rgba(26,35,50,.12);
    transform: translateY(-3px);
}
.featured-hero-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.featured-hero-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-border) 100%);
}
.featured-hero-image img {
    width: 100%; height: 100%; object-fit: cover;
}
.featured-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(26,22,17,0.5) 100%);
    pointer-events: none;
}
.featured-hero-tags {
    position: absolute;
    bottom: 14px;
    left: 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.featured-tag {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-family: var(--font-mono);
    backdrop-filter: blur(4px);
    border: 1px solid;
}
.featured-hero-body {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.featured-hero-body h2 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 30px);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 14px;
    color: var(--color-ink);
}
.featured-hero-body .featured-excerpt {
    font-size: 15px;
    margin-bottom: 16px;
    flex: 1;
}

/* Sidebar (secondary features) */
.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 680px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #D8D0C4 transparent;
}
.featured-sidebar::-webkit-scrollbar {
    width: 5px;
}
.featured-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.featured-sidebar::-webkit-scrollbar-thumb {
    background: #D8D0C4;
    border-radius: 3px;
}
.featured-sidebar::-webkit-scrollbar-thumb:hover {
    background: #C8956C;
}
.featured-sidebar-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 16px;
    align-items: start;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--color-border-light);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
    flex: 1;
}
.featured-sidebar-card:hover {
    box-shadow: 0 8px 28px rgba(26,35,50,.08);
    transform: translateY(-2px);
    background: var(--color-paper);
}
.featured-sidebar-image {
    aspect-ratio: 4/5;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-border) 100%);
}
.featured-sidebar-image img {
    width: 100%; height: 100%; object-fit: contain;
}
.featured-sidebar-body {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}
.featured-sidebar-tag {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 6px;
}
.featured-sidebar-body h3 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 6px;
    color: var(--color-ink);
}
.featured-sidebar-body p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-muted);
    margin-bottom: 8px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Legacy single featured article (keep for compatibility) */
.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--color-border);
    animation: fadeInUp 0.8s ease-out;
}
.featured-image {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-border) 100%);
    border: 1px solid var(--color-border-light);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-image .placeholder-art {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 72px;
    color: var(--color-border);
}
.featured-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.featured-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--color-gold);
}
.featured-body h2 {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--color-ink);
}
.featured-body h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.featured-body h2 a:hover {
    color: var(--color-gold-dark);
}
.featured-excerpt {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-muted);
    margin-bottom: 24px;
}
.article-meta {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--color-light-muted);
    display: flex;
    gap: 20px;
    align-items: center;
}
.article-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-gold);
}
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    text-decoration: none;
    margin-top: 24px;
    transition: gap 0.3s;
}
.read-more:hover {
    gap: 14px;
}
.read-more::after {
    content: '→';
    transition: transform 0.3s;
}

/* ═══════════════════════════════════════ */
/* SECTION TITLE                          */
/* ═══════════════════════════════════════ */
.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}
.section-header h3 {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-muted);
    white-space: nowrap;
}
.section-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

/* ═══════════════════════════════════════ */
/* SACRED TEXTS — MANDALA WHEEL           */
/* ═══════════════════════════════════════ */
.mandala-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    margin-bottom: 80px;
    min-height: 520px;
    position: relative;
}
.mandala-wheel {
    position: relative;
    width: 620px;
    height: 620px;
    flex-shrink: 0;
}
.mandala-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
/* Slow ambient rotation */
@keyframes mandala-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.mandala-svg {
    animation: mandala-spin 240s linear infinite;
}
.mandala-wheel:hover .mandala-svg {
    animation-play-state: paused;
}

/* Center element */
.mandala-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    pointer-events: none;
}
.mandala-om {
    font-size: 3rem;
    color: #f0c040;
    line-height: 1;
    font-family: 'Noto Sans Devanagari', sans-serif;
    text-shadow:
        0 0 8px rgba(240, 192, 64, 0.8),
        0 0 20px rgba(240, 192, 64, 0.5),
        0 0 40px rgba(240, 160, 32, 0.3),
        0 0 60px rgba(240, 140, 20, 0.2);
    animation: om-glow 3s ease-in-out infinite;
}
@keyframes om-glow {
    0%, 100% {
        text-shadow:
            0 0 8px rgba(240, 192, 64, 0.8),
            0 0 20px rgba(240, 192, 64, 0.5),
            0 0 40px rgba(240, 160, 32, 0.3),
            0 0 60px rgba(240, 140, 20, 0.2);
        opacity: 1;
    }
    50% {
        text-shadow:
            0 0 12px rgba(240, 192, 64, 1),
            0 0 30px rgba(240, 192, 64, 0.7),
            0 0 60px rgba(240, 160, 32, 0.5),
            0 0 90px rgba(240, 140, 20, 0.3);
        opacity: 0.85;
    }
}
.mandala-count {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-top: 4px;
}

/* Category labels */
.mandala-category-label {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    opacity: 0.6;
    pointer-events: none;
    white-space: nowrap;
    z-index: 1;
}

/* Individual text nodes */
.mandala-node {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--color-ink);
    border: 2px solid var(--color-border);
    background: var(--color-paper);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.mandala-node:hover,
.mandala-node.active {
    width: 64px;
    height: 64px;
    border-color: var(--color-gold);
    box-shadow: 0 4px 20px rgba(37, 99, 168, 0.2), 0 0 0 4px rgba(37, 99, 168, 0.08);
    z-index: 10;
    background: #fff;
}
.mandala-node-inner {
    font-size: 13px;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    pointer-events: none;
    color: var(--color-gold-dark);
}
.mandala-node-sanskrit {
    font-size: 16px;
    font-family: 'Noto Sans Devanagari', sans-serif;
    line-height: 1;
    pointer-events: none;
    color: var(--color-gold-dark);
}

/* Connector lines from center */
.mandala-connector {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    height: 1px;
    background: var(--color-border-light);
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* Tooltip on node hover */
.mandala-node-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-ink);
    color: var(--color-paper);
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
    z-index: 20;
    letter-spacing: 0.02em;
}
.mandala-node-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--color-ink);
}
.mandala-node:hover .mandala-node-tooltip {
    opacity: 1;
}

/* Detail panel */
.mandala-detail {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 280px;
    background: rgba(238, 243, 249, 0.97);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 28px 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 15;
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    text-align: center;
}
.mandala-detail.visible {
    opacity: 1;
    pointer-events: auto;
}
.mandala-detail-inner {}
.mandala-detail-sanskrit {
    font-size: 14px;
    color: var(--color-muted);
    margin-bottom: 6px;
    font-family: 'Noto Sans Devanagari', sans-serif;
}
.mandala-detail-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: 10px;
}
.mandala-detail-desc {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-muted);
    margin-bottom: 10px;
}
.mandala-detail-quote {
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-light-muted);
    font-style: italic;
    margin-bottom: 16px;
}
.mandala-detail-link {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    text-decoration: none;
    border: 1px solid var(--color-gold);
    padding: 8px 20px;
    border-radius: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}
.mandala-detail-link:hover {
    background: var(--color-gold-dark);
    color: var(--color-paper);
}

/* Category color coding on nodes */
.mandala-node[data-category="vedic"] {
    border-color: #8b6914;
    background: linear-gradient(135deg, #fef9e7 0%, #fdf2d0 100%);
}
.mandala-node[data-category="vedic"] .mandala-node-sanskrit,
.mandala-node[data-category="vedic"] .mandala-node-inner {
    color: #8b6914;
}
.mandala-node[data-category="stotra"] {
    border-color: #1a4f8a;
    background: linear-gradient(135deg, #eef3f9 0%, #d8e8f8 100%);
}
.mandala-node[data-category="stotra"] .mandala-node-sanskrit,
.mandala-node[data-category="stotra"] .mandala-node-inner {
    color: #1a4f8a;
}
.mandala-node[data-category="devotional"] {
    border-color: #7a1a5a;
    background: linear-gradient(135deg, #fdf0f8 0%, #f5dced 100%);
}
.mandala-node[data-category="devotional"] .mandala-node-sanskrit,
.mandala-node[data-category="devotional"] .mandala-node-inner {
    color: #7a1a5a;
}
.mandala-node[data-category="philosophy"] {
    border-color: #2a7a4a;
    background: linear-gradient(135deg, #eef8f2 0%, #d5f0df 100%);
}
.mandala-node[data-category="philosophy"] .mandala-node-sanskrit,
.mandala-node[data-category="philosophy"] .mandala-node-inner {
    color: #2a7a4a;
}

/* ── Sacred text cards (kept for sub-pages) ── */
.sacred-texts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}
.sacred-text-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--color-border-light);
    border-radius: 4px;
    background: var(--color-surface);
    text-align: center;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.sacred-text-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.sacred-text-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-border) 100%);
}
.sacred-text-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.sacred-text-card:hover .sacred-text-cover img {
    transform: scale(1.05);
}
.sacred-text-body {
    padding: 24px 24px 28px;
}
.sacred-text-card h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text);
}
.sacred-text-sanskrit {
    font-size: 14px;
    color: var(--color-muted);
    margin-bottom: 12px;
}
.sacred-text-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-secondary);
}

/* ═══════════════════════════════════════ */
/* VIEW TOGGLE                            */
/* ═══════════════════════════════════════ */
.sacred-view-toggle {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 40px;
    background: var(--color-cream);
    border-radius: 24px;
    padding: 4px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid var(--color-border-light);
}
.sacred-view-btn {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 24px;
    border: none;
    border-radius: 20px;
    background: transparent;
    color: var(--color-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}
.sacred-view-btn.active {
    background: var(--color-paper);
    color: var(--color-ink);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.sacred-view-btn:hover:not(.active) {
    color: var(--color-ink);
}

/* ═══════════════════════════════════════ */
/* SACRED TEXTS — TIMELINE                */
/* ═══════════════════════════════════════ */
.timeline-container {
    max-width: 780px;
    margin: 0 auto 80px;
    padding: 0 20px;
    text-align: center;
}
.timeline-header-om {
    font-size: 2.5rem;
    color: #f0c040;
    font-family: 'Noto Sans Devanagari', sans-serif;
    text-shadow:
        0 0 8px rgba(240, 192, 64, 0.8),
        0 0 20px rgba(240, 192, 64, 0.5),
        0 0 40px rgba(240, 160, 32, 0.3);
    animation: om-glow 3s ease-in-out infinite;
    margin-bottom: 12px;
}
.timeline-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: 6px;
}
.timeline-subtitle {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-light-muted);
    font-style: italic;
    margin-bottom: 48px;
}
.timeline-river {
    position: relative;
    padding: 20px 0 40px;
}
/* The golden thread */
.timeline-river::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--color-gold-light) 5%,
        var(--color-gold) 50%,
        var(--color-gold-light) 95%,
        transparent
    );
    transform: translateX(-50%);
}

/* Era marker */
.timeline-era {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px 0 24px;
    z-index: 2;
}
.timeline-era:first-child {
    margin-top: 0;
}
.timeline-era-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    background: var(--color-paper);
    padding: 6px 20px;
    border: 1px solid var(--color-gold-light);
    border-radius: 20px;
    position: relative;
    z-index: 2;
}
.timeline-era-date {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--color-light-muted);
    display: block;
    margin-top: 2px;
    letter-spacing: 0.1em;
}

/* Individual text card on timeline */
.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin: 16px 0;
    text-decoration: none;
    color: inherit;
}
.timeline-item.left {
    flex-direction: row-reverse;
}
.timeline-item.right {
    flex-direction: row;
}

/* The dot on the timeline line */
.timeline-dot {
    position: absolute;
    left: 50%;
    top: 18px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--color-gold);
    background: var(--color-paper);
    transform: translateX(-50%);
    z-index: 3;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.timeline-item:hover .timeline-dot {
    background: var(--color-gold);
    box-shadow: 0 0 12px rgba(37, 99, 168, 0.3);
    transform: translateX(-50%) scale(1.3);
}

/* The card */
.timeline-card {
    width: calc(50% - 36px);
    padding: 18px 20px;
    border: 1px solid var(--color-border-light);
    border-radius: 6px;
    background: var(--color-paper);
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.timeline-item.left .timeline-card {
    margin-right: auto;
    text-align: right;
}
.timeline-item.right .timeline-card {
    margin-left: auto;
}
.timeline-item:hover .timeline-card {
    border-color: var(--color-gold);
    box-shadow: 0 6px 24px rgba(37, 99, 168, 0.12);
    transform: translateY(-2px);
}
.timeline-card-symbol {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    text-align: center;
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 14px;
    margin-bottom: 8px;
}
/* Category colors for timeline dots */
.timeline-card-symbol.vedic {
    background: linear-gradient(135deg, #fef9e7, #fdf2d0);
    color: #8b6914;
    border: 1px solid #8b6914;
}
.timeline-card-symbol.stotra {
    background: linear-gradient(135deg, #eef3f9, #d8e8f8);
    color: #1a4f8a;
    border: 1px solid #1a4f8a;
}
.timeline-card-symbol.devotional {
    background: linear-gradient(135deg, #fdf0f8, #f5dced);
    color: #7a1a5a;
    border: 1px solid #7a1a5a;
}
.timeline-card-symbol.philosophy {
    background: linear-gradient(135deg, #eef8f2, #d5f0df);
    color: #2a7a4a;
    border: 1px solid #2a7a4a;
}
.timeline-item:hover .timeline-card-symbol {
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
.timeline-card-name {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: 4px;
}
.timeline-card-sanskrit {
    font-family: 'Noto Sans Devanagari', sans-serif;
    font-size: 12px;
    color: var(--color-muted);
    margin-bottom: 8px;
}
.timeline-card-desc {
    font-size: 13px;
    line-height: 1.55;
    color: var(--color-light-muted);
    margin-bottom: 8px;
}
.timeline-card-quote {
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-light-muted);
    font-style: italic;
    opacity: 0.8;
}
.timeline-card-explore {
    display: inline-block;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    text-decoration: none;
}
.timeline-card-explore::after {
    content: ' →';
}

/* End marker */
.timeline-end {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 24px;
}
.timeline-end-diamond {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: var(--color-gold);
    transform: rotate(45deg);
    border-radius: 2px;
}
.timeline-end-text {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-top: 12px;
}

/* ── Timeline Responsive ── */
@media (max-width: 700px) {
    .timeline-river::before {
        left: 20px;
    }
    .timeline-item.left,
    .timeline-item.right {
        flex-direction: row;
    }
    .timeline-dot {
        left: 20px;
        top: 22px;
    }
    .timeline-item:hover .timeline-dot {
        transform: translateX(-50%) scale(1.3);
    }
    .timeline-card {
        width: calc(100% - 52px);
        margin-left: 44px !important;
        text-align: left !important;
    }
    .timeline-era-label {
        margin-left: 40px;
    }
    .timeline-title {
        font-size: 18px;
    }
}

/* ═══════════════════════════════════════ */
/* SACRED TEXTS — CARDS VIEW              */
/* ═══════════════════════════════════════ */
.sacred-cards-container {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 20px;
}
.sacred-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.sacred-card {
    display: block;
    text-decoration: none;
    color: var(--color-ink);
    background: var(--color-paper);
    border: 1px solid var(--color-border-light);
    border-radius: 12px;
    padding: 24px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.sacred-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    transition: height 0.3s ease;
}
.sacred-card-vedic::before { background: linear-gradient(90deg, #8b6914, #d4a843); }
.sacred-card-stotra::before { background: linear-gradient(90deg, #1a4f8a, #3a7fd5); }
.sacred-card-devotional::before { background: linear-gradient(90deg, #7a1a5a, #c24a9a); }
.sacred-card-philosophy::before { background: linear-gradient(90deg, #2a7a4a, #4aba7a); }
.sacred-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: var(--color-border);
}
.sacred-card:hover::before {
    height: 4px;
}
.sacred-card-symbol {
    font-size: 28px;
    margin-bottom: 8px;
    opacity: 0.7;
}
.sacred-card-vedic .sacred-card-symbol { color: #8b6914; }
.sacred-card-stotra .sacred-card-symbol { color: #1a4f8a; }
.sacred-card-devotional .sacred-card-symbol { color: #7a1a5a; }
.sacred-card-philosophy .sacred-card-symbol { color: #2a7a4a; }
.sacred-card-category {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 8px;
}
.sacred-card-name {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--color-ink);
}
.sacred-card-sanskrit {
    font-size: 13px;
    color: var(--color-muted);
    margin-bottom: 10px;
}
.sacred-card-desc {
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0 0 12px;
}
.sacred-card-quote {
    font-family: var(--font-heading);
    font-size: 11px;
    font-style: italic;
    color: var(--color-muted);
    line-height: 1.5;
    margin: 0;
    border-top: 1px solid var(--color-border-light);
    padding-top: 10px;
}
@media (max-width: 900px) {
    .sacred-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 700px) {
    .sacred-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .sacred-card {
        padding: 18px 14px;
    }
}
@media (max-width: 480px) {
    .sacred-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Mandala Responsive ── */
@media (max-width: 900px) {
    .mandala-wheel {
        width: 500px;
        height: 500px;
    }
    .mandala-node {
        width: 44px;
        height: 44px;
    }
    .mandala-node:hover,
    .mandala-node.active {
        width: 54px;
        height: 54px;
    }
    .mandala-node-sanskrit {
        font-size: 14px;
    }
    .sacred-texts-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 600px) {
    .mandala-wheel {
        width: 340px;
        height: 340px;
    }
    .mandala-node {
        width: 36px;
        height: 36px;
    }
    .mandala-node:hover,
    .mandala-node.active {
        width: 44px;
        height: 44px;
    }
    .mandala-node-sanskrit {
        font-size: 12px;
    }
    .mandala-om {
        font-size: 2rem;
    }
    .mandala-count {
        font-size: 8px;
    }
    .mandala-category-label {
        font-size: 7px;
    }
    .mandala-detail {
        width: 240px;
        padding: 20px 16px;
    }
    .mandala-detail-title {
        font-size: 15px;
    }
    .mandala-detail-desc {
        font-size: 12px;
    }
    .sacred-texts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .sacred-text-body {
        padding: 20px 16px 24px;
    }
}

/* ═══════════════════════════════════════ */
/* ARTICLE GRID                           */
/* ═══════════════════════════════════════ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 45px;
    margin-bottom: 80px;
}
.article-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}
.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(6) { animation-delay: 0.6s; }

.article-card-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-border) 100%);
    border: 1px solid var(--color-border);
    margin-bottom: 22px;
    overflow: hidden;
    position: relative;
}
.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.article-card:hover .article-card-image img {
    transform: scale(1.04);
}
.article-card .tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 10px;
    display: inline-block;
}
.article-card h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
}
.article-card h4 a {
    color: var(--color-ink);
    text-decoration: none;
    transition: color 0.3s;
}
.article-card h4 a:hover {
    color: var(--color-gold-dark);
}
.article-card .excerpt {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ═══════════════════════════════════════ */
/* CATEGORY PILLS                         */
/* ═══════════════════════════════════════ */
.categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 40px;
    margin-bottom: 40px;
}
.category-pill {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 20px;
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    background: none;
}
.category-pill:hover,
.category-pill.active {
    border-color: var(--color-gold);
    color: var(--color-gold-dark);
    background: rgba(37, 99, 168, 0.08);
}

/* ═══════════════════════════════════════ */
/* PULL QUOTE / DIVIDER                   */
/* ═══════════════════════════════════════ */
.pull-quote-divider {
    text-align: center;
    padding: 60px 40px;
    max-width: var(--content-width);
    margin: 0 auto 60px;
    position: relative;
}
.pull-quote-divider::before,
.pull-quote-divider::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--color-gold);
}
.pull-quote-divider::before { top: 0; }
.pull-quote-divider::after { bottom: 0; }
.pull-quote-divider blockquote {
    font-family: var(--font-display);
    font-size: 26px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-ink);
}
.pull-quote-divider cite {
    display: block;
    margin-top: 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-style: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-light-muted);
}

/* ═══════════════════════════════════════ */
/* NEWSLETTER / SUBSCRIBE                 */
/* ═══════════════════════════════════════ */
.subscribe-section {
    background: var(--color-cream);
    border: 1px solid var(--color-border);
    padding: 60px;
    text-align: center;
    max-width: 680px;
    margin: 80px auto;
}
.subscribe-section h3 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
}
.subscribe-section p {
    color: var(--color-muted);
    font-size: 15px;
    margin-bottom: 28px;
}
.subscribe-form {
    display: flex;
    gap: 12px;
    max-width: 440px;
    margin: 0 auto;
}
.subscribe-form input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid var(--color-border);
    background: var(--color-paper);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-ink);
    outline: none;
    transition: border-color 0.3s;
}
.subscribe-form input:focus {
    border-color: var(--color-gold);
}
.subscribe-form button {
    padding: 14px 28px;
    background: #1a4f8a;
    color: var(--color-paper);
    border: none;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}
.subscribe-form button:hover {
    background: #2563a8;
}

/* ═══════════════════════════════════════ */
/* FOOTER                                 */
/* ═══════════════════════════════════════ */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 50px 40px;
    text-align: center;
}
.footer-ornament {
    font-size: 20px;
    color: var(--color-gold);
    margin-bottom: 24px;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}
.footer-links a {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--color-gold-dark);
}
.footer-copy {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    color: var(--color-light-muted);
}

/* ═══════════════════════════════════════ */
/* ARTICLE PAGE                           */
/* ═══════════════════════════════════════ */
.article-page {
    display: block;
}
.article-hero {
    text-align: center;
    padding: 60px 40px 40px;
    max-width: var(--content-width);
    margin: 0 auto;
}
.article-hero .tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 20px;
    display: inline-block;
}
.article-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
}
.article-hero .subtitle {
    font-family: var(--font-body);
    font-size: 20px;
    font-style: italic;
    color: var(--color-muted);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}
.article-hero .article-meta {
    justify-content: center;
    margin-bottom: 40px;
}
.article-hero-image {
    max-width: 900px;
    margin: 0 auto 50px;
    aspect-ratio: 21/9;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-border) 100%);
    border: 1px solid var(--color-border);
    overflow: hidden;
}
.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 40px 80px;
}
.article-content p {
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.85;
}
.article-content h2 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 600;
    margin: 50px 0 24px;
    line-height: 1.3;
}
.article-content h3 {
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 600;
    margin: 40px 0 18px;
}
.article-content blockquote {
    border-left: 2px solid var(--color-gold);
    padding: 8px 0 8px 30px;
    margin: 36px 0;
    font-style: italic;
    color: var(--color-muted);
    font-size: 19px;
    line-height: 1.7;
}
.article-content ul, .article-content ol {
    padding-left: 24px;
    margin-bottom: 24px;
}
.article-content li {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.7;
}
.article-content code {
    font-family: var(--font-mono);
    font-size: 14px;
    background: var(--color-cream);
    padding: 2px 8px;
    border: 1px solid var(--color-border-light);
}
.article-content pre {
    background: #1a4f8a;
    color: var(--color-cream);
    padding: 28px;
    margin: 30px 0;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.6;
}
.article-content strong {
    font-weight: 600;
}
.article-content em {
    font-style: italic;
}
.article-content .drop-cap::first-letter {
    font-family: var(--font-display);
    float: left;
    font-size: 72px;
    line-height: 0.8;
    padding-right: 12px;
    padding-top: 6px;
    color: var(--color-gold-dark);
    font-weight: 700;
}
.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted);
    text-decoration: none;
    padding: 40px;
    transition: color 0.3s, gap 0.3s;
    cursor: pointer;
}
.back-to-home:hover {
    color: var(--color-gold-dark);
    gap: 12px;
}
.back-to-home::before {
    content: '←';
}

/* Share buttons on article */
.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 30px 0;
    border-top: 1px solid var(--color-border-light);
    margin-top: 50px;
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}
.article-share span {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-light-muted);
}
.share-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--color-muted);
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
}
.share-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-dark);
}

/* ═══════════════════════════════════════ */
/* ANIMATIONS                             */
/* ═══════════════════════════════════════ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* ═══════════════════════════════════════ */
/* DEEP DIVES — CINEMATIC BAND            */
/* ═══════════════════════════════════════ */
.deep-dives-band {
    background: linear-gradient(175deg, #0c1018 0%, #141c2a 40%, #0e1520 100%);
    padding: 90px 0 100px;
    position: relative;
    overflow: hidden;
}
.deep-dives-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 600px 400px at 15% 30%, rgba(37,99,168,.06), transparent),
        radial-gradient(ellipse 500px 350px at 85% 70%, rgba(122,79,109,.05), transparent);
    pointer-events: none;
}
.deep-dives-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Header */
.deep-dives-eyebrow {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: #a8c8e8;
    margin-bottom: 12px;
}
.deep-dives-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 700;
    color: #eef3f9;
    line-height: 1.05;
    margin-bottom: 14px;
}
.deep-dives-title em {
    font-style: italic;
    font-weight: 400;
    color: #a8c8e8;
}
.deep-dives-lead {
    font-size: 16px;
    color: #6b7d93;
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 48px;
}

/* Grid: hero left, 2 stacked right */
.deep-dives-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
    min-height: 520px;
}
.dd-card-stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Card base */
.dd-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(168,200,232,.08);
    transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s ease, border-color .35s ease;
    position: relative;
}
.dd-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(168,200,232,.12);
    border-color: rgba(168,200,232,.15);
}

/* Card visual / image area */
.dd-card-visual {
    position: relative;
    overflow: hidden;
}
.dd-card-hero .dd-card-visual {
    aspect-ratio: 16/11;
}
.dd-card-secondary .dd-card-visual {
    aspect-ratio: 16/8;
}
.dd-card-bg {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dd-bg-smo { background: linear-gradient(135deg, #1a1510 0%, #22201a 50%, #18160f 100%); }
.dd-bg-note { background: linear-gradient(135deg, #1a0e0e 0%, #1e1416 50%, #140c0c 100%); }
.dd-bg-ai { background: linear-gradient(135deg, #0c1220 0%, #111a2e 50%, #0a0f1a 100%); }

/* Grid overlay on card visuals */
.dd-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(168,200,232,.04) 1px, transparent 1px),
                       linear-gradient(90deg, rgba(168,200,232,.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Floating orbs */
.dd-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    animation: ddOrbFloat 7s ease-in-out infinite alternate;
    pointer-events: none;
}
.dd-orb-1 { width: 280px; height: 280px; background: rgba(212,135,42,.1); top: -60px; left: -40px; }
.dd-orb-2 { width: 200px; height: 200px; background: rgba(74,127,165,.08); bottom: -40px; right: -30px; animation-delay: -3s; }
.dd-orb-3 { width: 140px; height: 140px; background: rgba(122,79,109,.07); top: 40%; left: 55%; animation-delay: -5s; }
@keyframes ddOrbFloat {
    to { transform: translate(20px, -20px) scale(1.08); }
}

/* Card center content (inside visual) */
.dd-card-center {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
}
.dd-card-hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #faf7f2;
    line-height: 1.05;
}
.dd-card-hero-title em {
    font-style: italic;
    color: #f0b060;
}
.dd-card-hero-sub {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #b5ada4;
    margin-top: 12px;
}
.dd-card-stats {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: #a8c8e8;
    letter-spacing: .05em;
    flex-wrap: wrap;
}
.dd-stat-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #556677;
}

/* Secondary card center */
.dd-sec-icon {
    font-size: 2.4rem;
    color: rgba(168,200,232,.65);
    margin-bottom: 8px;
}
.dd-sec-title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 600;
    color: #eef3f9;
    letter-spacing: -.01em;
}

/* Gradient overlay at bottom of visual */
.dd-card-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(12,16,24,.7), transparent);
    pointer-events: none;
}

/* Card body (below visual) */
.dd-card-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.dd-card-hero .dd-card-body {
    padding: 24px 28px 28px;
}
.dd-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.dd-tag {
    padding: 2px 8px;
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid;
}
.dd-tag-amber { background: rgba(212,135,42,.12); color: #d4872a; border-color: rgba(212,135,42,.2); }
.dd-tag-sky { background: rgba(74,127,165,.12); color: #6ba5cf; border-color: rgba(74,127,165,.2); }
.dd-tag-forest { background: rgba(61,90,62,.12); color: #7aae7e; border-color: rgba(61,90,62,.2); }
.dd-tag-rust { background: rgba(196,75,43,.12); color: #d06a48; border-color: rgba(196,75,43,.2); }
.dd-tag-plum { background: rgba(122,79,109,.12); color: #a87a9a; border-color: rgba(122,79,109,.2); }

.dd-card-body h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    color: #eef3f9;
    margin-bottom: 8px;
}
.dd-card-hero .dd-card-body h3 {
    font-size: clamp(18px, 2vw, 22px);
}
.dd-card-body p {
    font-size: 13.5px;
    line-height: 1.65;
    color: #6b7d93;
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dd-card-secondary .dd-card-body p {
    -webkit-line-clamp: 2;
}
.dd-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: .06em;
    color: #4a5a6a;
}
.dd-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #3a4556;
}

/* Hover glow effect on hero card */
.dd-card-hero::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(168,200,232,.08), transparent 50%, rgba(212,135,42,.06));
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
    z-index: -1;
}
.dd-card-hero:hover::after {
    opacity: 1;
}

/* Scroll reveal for Deep Dives cards */
.dd-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease, box-shadow .35s ease, border-color .35s ease;
}
.dd-card.dd-visible {
    opacity: 1;
    transform: translateY(0);
}
.dd-card-stack .dd-card:nth-child(2) {
    transition-delay: .15s;
}

/* ═══════════════════════════════════════ */
/* RESPONSIVE                             */
/* ═══════════════════════════════════════ */
@media (max-width: 768px) {
    .deep-dives-band { padding: 60px 0 70px; }
    .deep-dives-inner { padding: 0 20px; }
    .deep-dives-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .dd-card-hero .dd-card-visual { aspect-ratio: 16/10; }
    .dd-card-secondary .dd-card-visual { aspect-ratio: 16/9; }
    .dd-card-hero-title { font-size: 1.6rem; }
    .dd-card-stats { font-size: 9px; gap: 10px; }
    .featured-stories {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .featured-sidebar {
        flex-direction: column;
    }
    .featured-sidebar-card {
        grid-template-columns: 90px 1fr;
    }
    .featured-article {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .articles-grid {
        grid-template-columns: 1fr;
    }
    .subscribe-section {
        padding: 40px 24px;
    }
    .subscribe-form {
        flex-direction: column;
    }
    .nav-bar {
        gap: 20px;
        flex-wrap: wrap;
    }
    .top-bar {
        padding: 12px 20px;
    }
    .content {
        padding: 40px 20px;
    }
    .article-content {
        padding: 0 20px 60px;
    }
    .page-frame { display: none; }
}

/* ═══════════════════════════════════════ */
/* ABOUT PAGE                             */
/* ═══════════════════════════════════════ */
.about-page {
    display: block;
}
.about-hero {
    text-align: center;
    padding: 60px 40px 40px;
    animation: fadeInUp 0.8s ease-out;
}
.about-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 16px;
    display: block;
}
.about-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
}
.about-hero h1 em {
    font-weight: 400;
    color: var(--color-gold-dark);
}
.about-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 40px 40px 80px;
}
.about-intro {
    margin-bottom: 50px;
}
.about-intro p {
    font-size: 19px;
    line-height: 1.85;
}
.about-duality {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: start;
    margin: 50px 0;
    padding: 40px 0;
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}
.about-divider-vertical {
    width: 1px;
    height: 100%;
    min-height: 160px;
    background: var(--color-gold-light);
}
.about-pillar {
    text-align: center;
}
.pillar-icon {
    font-size: 28px;
    color: var(--color-gold);
    display: block;
    margin-bottom: 14px;
}
.about-pillar h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}
.about-pillar p {
    font-size: 15px;
    line-height: 1.75;
    color: var(--color-muted);
}
.about-statement {
    text-align: center;
    padding: 40px 20px;
    margin: 40px 0;
}
.about-statement blockquote {
    font-family: var(--font-display);
    font-size: 24px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-ink);
}
.about-section {
    margin: 40px 0;
}
.about-section h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
}
.about-section p {
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 16px;
    color: var(--color-ink);
}
.about-connect {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}
.about-connect-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-light-muted);
    display: block;
    margin-bottom: 16px;
}
.about-links {
    display: flex;
    justify-content: center;
    gap: 24px;
}
.about-links a {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    text-decoration: none;
    padding: 10px 24px;
    border: 1px solid var(--color-gold-light);
    transition: all 0.3s;
}
.about-links a:hover {
    background: var(--color-gold-dark);
    color: var(--color-paper);
    border-color: var(--color-gold-dark);
}
@media (max-width: 768px) {
    .about-duality {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-divider-vertical {
        width: 40px;
        height: 1px;
        min-height: auto;
        margin: 0 auto;
    }
    .about-content {
        padding: 40px 20px 60px;
    }
}

/* ═══════════════════════════════════════ */
/* RESUME PAGE — COLORFUL                */
/* ═══════════════════════════════════════ */
.resume-page {
    display: block;
}

/* Hero */
.resume-hero {
    text-align: center;
    padding: 60px 40px 30px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}
.resume-hero-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37,99,168,0.08) 0%, rgba(196,75,43,0.05) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.resume-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid transparent;
    background-image: linear-gradient(var(--color-paper), var(--color-paper)), linear-gradient(135deg, #c44b2b, #2563a8, #2a7a4a, #d4a017);
    background-origin: border-box;
    background-clip: content-box, border-box;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.resume-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 16px;
    display: block;
    position: relative;
    z-index: 1;
}
.resume-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}
.resume-hero h1 em {
    font-weight: 400;
    background: linear-gradient(135deg, #2563a8, #c44b2b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.resume-title-role {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-light-muted);
    margin-top: 8px;
    position: relative;
    z-index: 1;
}
.resume-hero-tagline {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--color-muted);
    margin-top: 12px;
    font-style: italic;
    position: relative;
    z-index: 1;
}
.resume-hero .masthead-rule {
    margin-top: 30px;
}

/* Social Strip */
.resume-social-strip {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.resume-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 30px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}
.resume-social-linkedin {
    background: linear-gradient(135deg, #0077b5, #005885);
    color: #fff;
}
.resume-social-linkedin:hover {
    background: linear-gradient(135deg, #005885, #003d5c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,119,181,0.3);
}
.resume-social-youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    color: #fff;
}
.resume-social-youtube:hover {
    background: linear-gradient(135deg, #cc0000, #990000);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,0,0,0.25);
}
.resume-social-email {
    background: linear-gradient(135deg, #2a7a4a, #1e5c37);
    color: #fff;
}
.resume-social-email:hover {
    background: linear-gradient(135deg, #1e5c37, #144028);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42,122,74,0.3);
}
.resume-social-github {
    background: linear-gradient(135deg, #333, #1a1a1a);
    color: #fff;
}
.resume-social-github:hover {
    background: linear-gradient(135deg, #1a1a1a, #000);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Download Strip */
.resume-download-strip {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 18px;
    position: relative;
    z-index: 1;
}
.resume-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}
.resume-dl-pdf {
    background: #c44b2b;
    color: #fff;
    border: 1px solid #c44b2b;
}
.resume-dl-pdf:hover {
    background: #a33d24;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(196,75,43,0.35);
}
.resume-dl-word {
    background: #2563a8;
    color: #fff;
    border: 1px solid #2563a8;
}
.resume-dl-word:hover {
    background: #1a4f8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37,99,168,0.35);
}

/* Resume Content */
.resume-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 20px 40px 80px;
}

/* Resume Sections */
.resume-section {
    position: relative;
    margin: 40px 0;
    padding: 30px 30px 30px 36px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(26,35,50,0.06);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.resume-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(26,35,50,0.1);
}
.resume-section-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
}
.resume-accent-gold { background: linear-gradient(180deg, #2563a8, #a8c8e8); }
.resume-accent-rust { background: linear-gradient(180deg, #c44b2b, #e8886e); }
.resume-accent-sage { background: linear-gradient(180deg, #2a7a4a, #6abf8a); }
.resume-accent-purple { background: linear-gradient(180deg, #7c3aed, #c084fc); }
.resume-accent-orange { background: linear-gradient(180deg, #d4a017, #f5d76e); }

.resume-section h2 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.resume-section-icon {
    font-size: 18px;
    opacity: 0.6;
}

/* Summary section */
.resume-section-summary p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--color-ink);
}

/* Experience Timeline */
.resume-timeline {
    position: relative;
    padding-left: 24px;
}
.resume-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, #c44b2b, #2563a8, #2a7a4a);
    border-radius: 2px;
}
.resume-job {
    position: relative;
    margin-bottom: 28px;
    padding-left: 16px;
}
.resume-job:last-child { margin-bottom: 0; }
.resume-job-dot {
    position: absolute;
    left: -21px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid var(--color-paper);
    z-index: 1;
}
.resume-dot-rust { background: #c44b2b; box-shadow: 0 0 0 2px #c44b2b; }
.resume-dot-blue { background: #2563a8; box-shadow: 0 0 0 2px #2563a8; }
.resume-dot-sage { background: #2a7a4a; box-shadow: 0 0 0 2px #2a7a4a; }

.resume-job-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 16px;
    margin-bottom: 8px;
}
.resume-job-header h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    color: var(--color-ink);
}
.resume-company {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 4px;
    letter-spacing: 0.03em;
}
.resume-job:nth-child(1) .resume-company { background: rgba(196,75,43,0.1); color: #c44b2b; }
.resume-job:nth-child(2) .resume-company { background: rgba(37,99,168,0.1); color: #2563a8; }
.resume-job:nth-child(3) .resume-company { background: rgba(42,122,74,0.1); color: #2a7a4a; }

.resume-period {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-light-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.resume-job-subtitle {
    font-size: 13px;
    font-style: italic;
    color: var(--color-light-muted);
    margin-bottom: 6px;
}
.resume-competency-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.resume-achievements {
    list-style: none;
    padding: 0;
}
.resume-achievements li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-muted);
}
.resume-achievements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-gold-light);
}

/* Skills Grid */
.resume-skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.resume-skill-category {
    padding: 18px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
.resume-skill-category:hover { transform: scale(1.02); }
.resume-skill-cat-1 { background: linear-gradient(135deg, rgba(37,99,168,0.08), rgba(37,99,168,0.02)); }
.resume-skill-cat-2 { background: linear-gradient(135deg, rgba(196,75,43,0.08), rgba(196,75,43,0.02)); }
.resume-skill-cat-3 { background: linear-gradient(135deg, rgba(42,122,74,0.08), rgba(42,122,74,0.02)); }
.resume-skill-cat-4 { background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(124,58,237,0.02)); }

.resume-skill-category h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
}
.resume-skill-cat-1 h4 { color: #2563a8; }
.resume-skill-cat-2 h4 { color: #c44b2b; }
.resume-skill-cat-3 h4 { color: #2a7a4a; }
.resume-skill-cat-4 h4 { color: #7c3aed; }

.resume-skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.resume-skill-tags span {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 14px;
    background: rgba(255,255,255,0.8);
    color: var(--color-ink);
    border: 1px solid var(--color-border-light);
    letter-spacing: 0.02em;
    transition: all 0.2s;
}
.resume-skill-tags span:hover {
    border-color: var(--color-gold);
    transform: translateY(-1px);
}

/* Philosophy Cards */
.resume-philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.resume-philosophy-card {
    text-align: center;
    padding: 24px 16px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.resume-philosophy-card:hover { transform: translateY(-4px); }
.resume-phil-1 { background: linear-gradient(135deg, #2563a8, #1a4f8a); color: #fff; }
.resume-phil-2 { background: linear-gradient(135deg, #c44b2b, #a33d24); color: #fff; }
.resume-phil-3 { background: linear-gradient(135deg, #2a7a4a, #1e5c37); color: #fff; }

.resume-phil-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}
.resume-phil-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
    opacity: 0.85;
}
.resume-philosophy-card p {
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.85;
}

/* Sacred Texts Chips */
.resume-texts-intro {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-muted);
    margin-bottom: 16px;
}
.resume-texts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.resume-text-chip {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.03em;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.resume-text-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.chip-vedic { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; border: 1px solid #fcd34d; }
.chip-devotional { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1e40af; border: 1px solid #93c5fd; }
.chip-hymn { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #065f46; border: 1px solid #6ee7b7; }
.chip-ritual { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #5b21b6; border: 1px solid #c4b5fd; }

/* Connect */
.resume-connect {
    text-align: center;
    margin-top: 50px;
    padding: 40px 0 0;
    border-top: 1px solid var(--color-border);
}
.resume-connect-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-light-muted);
    display: block;
    margin-bottom: 18px;
}
.resume-connect-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.resume-connect-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 6px;
    transition: all 0.3s;
    font-weight: 500;
}
.rc-linkedin {
    color: #0077b5;
    border: 1px solid #0077b5;
}
.rc-linkedin:hover { background: #0077b5; color: #fff; }
.rc-youtube {
    color: #ff0000;
    border: 1px solid #ff0000;
}
.rc-youtube:hover { background: #ff0000; color: #fff; }
.rc-email {
    color: #2a7a4a;
    border: 1px solid #2a7a4a;
}
.rc-email:hover { background: #2a7a4a; color: #fff; }

/* Resume Responsive */
@media (max-width: 768px) {
    .resume-hero { padding: 50px 20px 20px; }
    .resume-content { padding: 20px 16px 60px; }
    .resume-section { padding: 22px 18px 22px 24px; margin: 24px 0; }
    .resume-skills-grid { grid-template-columns: 1fr; }
    .resume-philosophy-grid { grid-template-columns: 1fr; }
    .resume-social-strip { flex-direction: column; align-items: center; gap: 10px; }
    .resume-social-btn { width: 200px; justify-content: center; }
    .resume-timeline { padding-left: 20px; }
    .resume-job-header { flex-direction: column; gap: 4px; }
}
@media (max-width: 480px) {
    .resume-download-strip { flex-direction: column; align-items: center; gap: 8px; }
    .resume-download-btn { width: 160px; justify-content: center; }
}

/* ═══════════════════════════════════════ */
/* ENHANCED ARTICLE STYLES               */
/* ═══════════════════════════════════════ */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-dark));
    z-index: 1001;
    transition: width 0.1s linear;
    width: 0%;
}

.article-content .shloka {
    text-align: center;
    padding: 36px 40px;
    margin: 40px 0;
    position: relative;
    background: linear-gradient(135deg, rgba(37,99,168,0.04) 0%, rgba(37,99,168,0.08) 100%);
    border-top: 1px solid var(--color-gold-light);
    border-bottom: 1px solid var(--color-gold-light);
}
.article-content .shloka::before {
    content: '॥';
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-paper);
    padding: 0 16px;
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--color-gold);
}
.article-content .shloka p {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 20px;
    line-height: 1.6;
    color: var(--color-ink);
    margin-bottom: 8px;
}
.article-content .shloka cite {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    font-style: normal;
}

.article-content .lesson-card {
    margin: 55px 0 30px;
    padding: 0;
    position: relative;
}
.article-content .lesson-card .lesson-number {
    font-family: var(--font-display);
    font-size: 120px;
    font-weight: 800;
    color: rgba(37,99,168,0.08);
    line-height: 1;
    position: absolute;
    top: -24px;
    left: -10px;
    pointer-events: none;
    z-index: 0;
}
.article-content .lesson-card h2 {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--color-ink);
}
.article-content .lesson-card .lesson-subtitle {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 24px;
    display: block;
}

.article-content .ornament-divider {
    text-align: center;
    margin: 50px 0;
    font-size: 18px;
    color: var(--color-gold);
    letter-spacing: 12px;
}

/* Manifesto / bold list styling */
.article-content .manifesto-list {
    list-style: none;
    padding: 0;
    margin: 28px 0;
}
.article-content .manifesto-list li {
    font-size: 18px;
    line-height: 1.6;
    padding: 8px 0 8px 28px;
    position: relative;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-muted);
}
.article-content .manifesto-list li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #c0392b;
    font-weight: 700;
    font-size: 18px;
}
.article-content .manifesto-list.check li::before {
    content: '✓';
    color: #5a7a5a;
}
.article-content .manifesto-list.arrow li::before {
    content: '→';
    color: var(--color-gold-dark);
}

/* Big stat callout */
.article-content .stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 32px 0;
}
.article-content .stat-card {
    text-align: center;
    padding: 24px 16px;
    border: 1px solid var(--color-border);
    background: var(--color-paper);
}
.article-content .stat-card .stat-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-ink);
    display: block;
    line-height: 1.1;
}
.article-content .stat-card .stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-light-muted);
    margin-top: 6px;
    display: block;
}

/* Domain header card */
.article-content .domain-header {
    margin: 60px 0 30px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #1a2332 0%, #1a4f8a 100%);
    color: var(--color-paper);
    position: relative;
    overflow: hidden;
}
.article-content .domain-header::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 120px; height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(37,99,168,0.25) 100%);
}
.article-content .domain-header .domain-num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 8px;
    display: block;
}
.article-content .domain-header h2 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--color-paper);
    margin: 0 0 6px;
}
.article-content .domain-header .domain-tagline {
    font-size: 14px;
    color: rgba(250,248,244,0.6);
    font-style: italic;
}

/* Feature list with icons */
.article-content .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin: 28px 0;
}
.article-content .feature-item {
    padding: 20px;
    border: 1px solid var(--color-border-light);
    background: rgba(210,226,242,0.3);
}
.article-content .feature-item h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}
.article-content .feature-item p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--color-muted);
    margin-bottom: 0;
}

/* Phase timeline */
.article-content .phase-timeline {
    margin: 36px 0;
    position: relative;
    padding-left: 32px;
}
.article-content .phase-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-gold), var(--color-gold-light));
}
.article-content .phase-item {
    position: relative;
    margin-bottom: 36px;
    padding-left: 20px;
}
.article-content .phase-item::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-gold);
    border: 3px solid var(--color-paper);
    box-shadow: 0 0 0 2px var(--color-gold);
}
.article-content .phase-item .phase-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 6px;
    display: block;
}
.article-content .phase-item h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}
.article-content .phase-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-muted);
    margin-bottom: 0;
}

/* Manifesto pull quote - large centered bold statement */
.article-content .manifesto-statement {
    text-align: center;
    padding: 40px 20px;
    margin: 44px 0;
}
.article-content .manifesto-statement p {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-ink);
    margin-bottom: 0;
}
.article-content .manifesto-statement .accent {
    color: #c0392b;
}
.article-content .manifesto-statement .gold {
    color: var(--color-gold-dark);
}

/* Two-class comparison */
.article-content .versus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 32px 0;
    border: 1px solid var(--color-border);
}
.article-content .versus-col {
    padding: 28px;
}
.article-content .versus-col.bad {
    background: rgba(196,75,43,0.06);
    border-right: 2px solid var(--color-border);
}
.article-content .versus-col.good {
    background: rgba(42,122,74,0.06);
}
.article-content .versus-col h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 14px;
}
.article-content .versus-col.bad h4 { color: #c0392b; }
.article-content .versus-col.good h4 { color: #5a7a5a; }
.article-content .versus-col ul {
    list-style: none;
    padding: 0;
}
.article-content .versus-col ul li {
    font-size: 15px;
    line-height: 1.6;
    padding: 6px 0;
    color: var(--color-muted);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

@media (max-width: 768px) {
    .article-content .versus-grid { grid-template-columns: 1fr; }
    .article-content .versus-col.bad { border-right: none; border-bottom: 2px solid var(--color-border); }
    .article-content .feature-grid { grid-template-columns: 1fr; }
    .article-content .stat-row { grid-template-columns: 1fr 1fr; }
}

/* ═══════════════════════════════════════ */
/* ANIMATED CONCEPT DIAGRAMS              */
/* ═══════════════════════════════════════ */
.article-content .concept-anim {
    margin: 36px 0;
    padding: 32px;
    background: linear-gradient(135deg, #1a2332 0%, #1a3a5a 50%, #1a4f8a 100%);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}
.article-content .concept-anim .anim-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(200,164,78,0.6);
    margin-bottom: 20px;
    display: block;
}

/* Concept number badge */
.article-content .concept-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.article-content .concept-badge .badge-num {
    width: 36px;
    height: 36px;
    border: 2px solid var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-gold);
}
.article-content .concept-badge .badge-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
}

/* Concept emoji analogy */
.article-content .concept-analogy {
    font-size: 16px;
    color: var(--color-muted);
    font-style: italic;
    margin-bottom: 20px;
    padding: 12px 20px;
    border-left: 2px solid var(--color-gold-light);
    background: rgba(200,164,78,0.04);
}

/* Table of contents */
.article-content .toc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin: 32px 0;
}
.article-content .toc-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border: 1px solid var(--color-border-light);
    background: rgba(210,226,242,0.35);
    text-decoration: none;
    color: var(--color-ink);
    transition: all 0.3s;
    cursor: pointer;
}
.article-content .toc-item:hover {
    border-color: var(--color-gold);
    background: rgba(37,99,168,0.08);
}
.article-content .toc-item .toc-num {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-gold-light);
    min-width: 28px;
}
.article-content .toc-item .toc-title {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
}
.article-content .toc-item .toc-sub {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--color-light-muted);
    display: block;
    margin-top: 2px;
}

/* Layer cake diagram */
.article-content .layer-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 32px 0;
}
.article-content .layer-item {
    padding: 16px 24px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.06em;
    font-weight: 500;
    position: relative;
    animation: fadeInUp 0.5s ease-out both;
}
.article-content .layer-item:nth-child(1) { background: #1a4f8a; color: #eef3f9; animation-delay: 0.6s; }
.article-content .layer-item:nth-child(2) { background: #1a3a5a; color: #a8c8e8; animation-delay: 0.5s; }
.article-content .layer-item:nth-child(3) { background: #1a2332; color: #5ba3e6; animation-delay: 0.4s; }
.article-content .layer-item:nth-child(4) { background: #2a2a4a; color: #a8c8e8; animation-delay: 0.3s; }
.article-content .layer-item:nth-child(5) { background: #1a3a2a; color: #a8d8c8; animation-delay: 0.2s; }
.article-content .layer-item:nth-child(6) { background: #2a3a4a; color: #c8d8e8; animation-delay: 0.1s; }
.article-content .layer-item:nth-child(7) { background: #1a1a1a; color: #b0b0b0; animation-delay: 0.0s; }

.article-content .callout {
    margin: 28px 0;
    padding: 24px 28px;
    position: relative;
    border-left: 3px solid var(--color-border);
    background: rgba(210, 226, 242, 0.4);
}
.article-content .callout.analogy { border-left-color: #c44b2b; }
.article-content .callout.role-krishna { border-left-color: var(--color-gold); }
.article-content .callout.example { border-left-color: #5a7a5a; }
.article-content .callout.case-study { border-left-color: #5a6a8a; }
.article-content .callout-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}
.callout.analogy .callout-label { color: #c44b2b; }
.callout.role-krishna .callout-label { color: var(--color-gold-dark); }
.callout.example .callout-label { color: #2a7a4a; }
.callout.case-study .callout-label { color: #5a6a8a; }
.article-content .callout p {
    font-size: 17px;
    margin-bottom: 12px;
}
.article-content .callout p:last-child { margin-bottom: 0; }

.article-content .guna-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.article-content .guna-card {
    padding: 20px;
    text-align: center;
    border: 1px solid var(--color-border);
    background: var(--color-paper);
}
.article-content .guna-card .guna-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}
.article-content .guna-card.sattva .guna-name { color: #2a7a4a; }
.article-content .guna-card.rajas .guna-name { color: #c44b2b; }
.article-content .guna-card.tamas .guna-name { color: var(--color-muted); }
.article-content .guna-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-muted);
    margin-bottom: 0;
}

.article-content .further-reading {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}
.article-content .further-reading h2 { font-size: 24px; margin-bottom: 30px; }
.article-content .reading-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border-light);
}
.article-content .reading-item:last-child { border-bottom: none; }
.article-content .reading-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-gold-light);
    min-width: 36px;
    line-height: 1.2;
}
.article-content .reading-item .reading-author {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    color: var(--color-light-muted);
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}
.article-content .reading-item .reading-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    font-style: italic;
    color: var(--color-ink);
    margin-bottom: 4px;
    display: block;
}
.article-content .reading-item .reading-desc {
    font-size: 14px;
    color: var(--color-muted);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .article-content .guna-grid { grid-template-columns: 1fr; }
    .article-content .lesson-card .lesson-number { font-size: 80px; }
    .article-content .shloka { padding: 30px 20px; }
}

/* Smooth page transitions */
.home-view, .article-page {
    transition: opacity 0.3s ease;
}
.home-view.hidden {
    display: none;
}

/* ═══════════════════════════════════════ */
/* HEALTH & WELLNESS SECTION              */
/* ═══════════════════════════════════════ */
.health-section-lead {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-muted);
    max-width: 640px;
    line-height: 1.7;
    margin: -30px 0 48px;
    font-style: italic;
}
.health-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-bottom: 80px;
}
.health-category-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-gold-dark);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border-light);
}
.health-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.health-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}
.health-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(26, 35, 50, 0.07);
    border-color: var(--color-gold-light);
}
.health-card-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-paper);
    border-radius: 10px;
    margin-top: 2px;
}
.health-card-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}
.health-card-body h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-ink);
    margin: 0 0 5px;
    line-height: 1.3;
}
.health-card-body p {
    font-size: 12.5px;
    color: var(--color-muted);
    line-height: 1.55;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.health-card-tag {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.08em;
    color: var(--color-gold-dark);
    background: rgba(37, 99, 168, 0.06);
    padding: 2px 8px;
    border-radius: 4px;
}
@media (max-width: 600px) {
    .health-cards {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════ */
/* ARTICLE DECK — CARD GRID LAYOUT       */
/* ═══════════════════════════════════════ */

/* Category filter tabs */
.deck-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}
.deck-filter-btn {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 20px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    color: var(--color-muted);
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.deck-filter-btn:hover {
    border-color: var(--color-gold);
    color: var(--color-gold-dark);
}
.deck-filter-btn.active {
    border-color: var(--color-gold);
    color: var(--color-paper);
    background: var(--color-gold-dark);
}
.deck-filter-btn .filter-count {
    font-size: 9px;
    opacity: 0.6;
    margin-left: 4px;
}

/* The card grid */
.deck-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

/* Individual deck card */
.deck-card {
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--color-border-light);
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 4px rgba(26,35,50,0.04);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    opacity: 0;
    animation: deckFadeIn 0.5s ease-out forwards;
}
.deck-card:nth-child(1) { animation-delay: 0.02s; }
.deck-card:nth-child(2) { animation-delay: 0.06s; }
.deck-card:nth-child(3) { animation-delay: 0.10s; }
.deck-card:nth-child(4) { animation-delay: 0.14s; }
.deck-card:nth-child(5) { animation-delay: 0.18s; }
.deck-card:nth-child(6) { animation-delay: 0.22s; }
.deck-card:nth-child(7) { animation-delay: 0.26s; }
.deck-card:nth-child(8) { animation-delay: 0.30s; }
.deck-card:nth-child(9) { animation-delay: 0.34s; }

.deck-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26,79,138,0.10);
    border-color: var(--color-gold-light);
}

/* Card image area */
.deck-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-border) 100%);
}
.deck-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.deck-card:hover .deck-card-image img {
    transform: scale(1.05);
}
.deck-card-tag {
    position: absolute;
    bottom: 10px;
    left: 12px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(26,35,50,0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 2px;
}

/* Card placeholder (no image) */
.deck-card-placeholder {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-border) 100%);
}
.deck-card-placeholder-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 42px;
    color: var(--color-gold);
}

/* Card body */
.deck-card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.deck-card-body h4 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--color-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.deck-card-body p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--color-light-muted);
    margin-bottom: 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.deck-card-body .article-meta {
    margin-top: auto;
}

/* Load-more / show-all */
.deck-load-more {
    text-align: center;
    margin-bottom: 80px;
}
.deck-load-more-btn {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 40px;
    border: 1px solid var(--color-gold);
    border-radius: 4px;
    color: var(--color-gold-dark);
    background: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.deck-load-more-btn:hover {
    background: var(--color-gold-dark);
    color: var(--color-paper);
}

/* Card hidden state for JS filtering */
.deck-card[data-hidden="true"] {
    display: none;
}

@keyframes deckFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive grid */
@media (max-width: 1024px) {
    .deck-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
@media (max-width: 640px) {
    .deck-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .deck-card-body h4 {
        font-size: 16px;
    }
    .deck-filters {
        gap: 6px;
    }
    .deck-filter-btn {
        font-size: 10px;
        padding: 6px 14px;
    }
}

/* Keep scroll-card styles for backward compat with articles/index */
.articles-scroll-wrap { position: relative; margin-bottom: 80px; }
.articles-scroll {
    display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; padding: 8px 4px 32px;
    scrollbar-width: thin; scrollbar-color: var(--color-gold-light) transparent;
}
.articles-scroll::-webkit-scrollbar { height: 6px; }
.articles-scroll::-webkit-scrollbar-track { background: transparent; }
.articles-scroll::-webkit-scrollbar-thumb { background: var(--color-gold-light); border-radius: 3px; }
.articles-scroll::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }
.scroll-card {
    flex: 0 0 320px; scroll-snap-align: start; text-decoration: none; color: inherit;
    border: 1px solid var(--color-border); background: var(--color-paper);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; flex-direction: column; overflow: hidden;
}
.scroll-card:hover {
    transform: translateY(-6px); box-shadow: 0 12px 40px rgba(26,79,138,0.1);
    border-color: var(--color-gold-light);
}
.scroll-card-image {
    position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-border) 100%);
}
.scroll-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.scroll-card:hover .scroll-card-image img { transform: scale(1.06); }
.scroll-card-tag {
    position: absolute; bottom: 10px; left: 12px; font-family: var(--font-mono);
    font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
    background: rgba(26,35,50,0.72); backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px); padding: 4px 10px; border-radius: 2px;
}
.scroll-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.scroll-card-body h4 {
    font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.3;
    margin-bottom: 10px; color: var(--color-ink);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.scroll-card-body p {
    font-size: 14px; line-height: 1.65; color: var(--color-muted); margin-bottom: 14px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.scroll-card-body .article-meta { margin-top: auto; }
@media (min-width: 1200px) { .scroll-card { flex: 0 0 360px; } }
@media (max-width: 600px) { .scroll-card { flex: 0 0 280px; } .scroll-card-body h4 { font-size: 16px; } }

/* ═══════════════════════════════════════ */
/* UTILITY CLASSES (replacing inline styles) */
/* ═══════════════════════════════════════ */

/* Masthead link reset */
.masthead h1 a, .masthead h2 a {
    text-decoration: none;
    color: inherit;
}

/* Article share padding (articles) */
.article-share--padded {
    padding: 30px 40px;
}

/* Table wrapper for responsive tables */
.table-wrap {
    overflow-x: auto;
    margin: 30px 0;
    -webkit-overflow-scrolling: touch;
}

/* Data tables (used in article content) */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 12px;
}
.data-table--sm {
    font-size: 11px;
}
.data-table thead tr {
    border-bottom: 2px solid var(--color-gold);
}
.data-table th {
    padding: 12px 16px;
    text-align: left;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 10px;
}
.data-table th.text-center,
.data-table td.text-center {
    text-align: center;
}
.data-table th.col-agent {
    color: var(--color-gold-dark);
}
.data-table th.col-muted {
    color: var(--color-light-muted);
}
.data-table th.col-rust {
    color: var(--color-rust);
}
.data-table tbody tr {
    border-bottom: 1px solid var(--color-border-light);
}
.data-table tbody tr:last-child {
    border-bottom: none;
}
.data-table td {
    padding: 12px 16px;
}
.data-table td.highlight-gold {
    color: var(--color-gold-dark);
    font-weight: 600;
}
.data-table td.highlight-sage {
    color: var(--color-sage);
    font-weight: 600;
}
.data-table td.highlight-rust {
    color: var(--color-rust);
    font-weight: 600;
}
.data-table td.fw-500 {
    font-weight: 500;
}
.data-table td.fw-600 {
    font-weight: 600;
}

/* Article disclaimer box */
.disclaimer {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: var(--color-light-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    padding: 20px;
    border: 1px solid var(--color-border-light);
    background: rgba(210, 226, 242, 0.35);
}
.disclaimer strong {
    color: var(--color-muted);
}

/* Stat highlight text */
.stat-highlight {
    margin-top: 12px;
    font-weight: 600;
    color: var(--color-ink);
}

/* Concept images in AI Buzzwords article */
.concept-img {
    width: 100%;
    margin: 20px 0;
    border: 1px solid var(--color-border);
}

/* About page avatar */
.about-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--color-gold);
    margin: 0 auto 24px;
    display: block;
}

/* About page hero rule */
.about-hero .masthead-rule {
    margin: 24px auto 0;
}

/* Guna grid 3-column variant */
.guna-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}

/* Scroll card placeholder (for articles without hero image) */
.scroll-card-placeholder {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-border) 100%);
}
.scroll-card-placeholder-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 48px;
    color: var(--color-gold);
}

/* Credits line at bottom of articles */
.article-credits {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-light-muted);
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-border-light);
}

/* ═══════════════════════════════════════ */
/* RELATED ARTICLES SECTION               */
/* ═══════════════════════════════════════ */
.related-articles {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}
.related-articles h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--color-ink);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 0.02em;
}
.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.related-article-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    background: var(--color-paper);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.related-article-card:hover {
    border-color: var(--color-gold);
    box-shadow: 0 4px 16px rgba(37, 99, 168, 0.10);
    transform: translateY(-2px);
}
.related-article-category {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-light-muted);
}
.related-article-title {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-ink);
    line-height: 1.4;
}
@media (max-width: 768px) {
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}
