/* The Nerd Bureau - Custom Editorial Design System (Kynari.io aesthetic) */

:root {
    --bg-canvas: #0a0a0c;
    --bg-surface: #121216;
    --bg-card: #15151b;
    --bg-card-hover: #1c1c24;
    --border-subtle: #26262e;
    --border-accent: #383846;
    --text-primary: #f4f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
}

body {
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

/* Custom Typography font classes */
.font-heading {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.025em;
}

.font-body {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #0a0a0c;
}

::-webkit-scrollbar-thumb {
    background: #26262e;
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3f3f4e;
}

/* Reading Progress Bar */
#reading-progress {
    height: 3px;
    background: linear-gradient(90deg, #e5a93c, #0284c7, #a855f7, #f97316, #10b981);
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    z-index: 100;
    transition: width 0.1s ease-out;
}

/* Bureau's Takes Horizontal Scrollbar Hide */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Editorial Article Content Typography */
.article-body {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.85;
    letter-spacing: -0.011em;
}

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

.article-body h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: #f4f4f6;
    letter-spacing: -0.025em;
    margin-top: 2.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #26262e;
}

.article-body h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: #e5e7eb;
    letter-spacing: -0.02em;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body strong {
    color: #f9fafb;
    font-weight: 600;
}

.article-body em {
    color: #e5e7eb;
    font-style: italic;
}

.article-body ul {
    margin-top: 1.25rem;
    margin-bottom: 1.75rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.article-body li {
    margin-bottom: 0.65rem;
    padding-left: 0.25rem;
}

.article-body li::marker {
    color: #60a5fa;
}

.article-body blockquote {
    margin: 2rem 0;
    padding: 1.25rem 1.75rem;
    border-left: 3px solid #38bdf8;
    background: rgba(56, 189, 248, 0.05);
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: #e2e8f0;
}

.article-body a {
    color: #38bdf8;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.article-body a:hover {
    color: #7dd3fc;
}

.article-body code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
    background: #181822;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    color: #f472b6;
    border: 1px solid #282836;
}

/* Glassmorphism Surface */
.glass-nav {
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Subtle Card Glow */
.card-hover-fx {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-hover-fx:hover {
    transform: translateY(-3px);
    border-color: #3f3f4e;
}
