/* ============================================================
   SIKANDAR LODI: THE UNTOLD HISTORY
   Design System & Global Styles
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   CSS Custom Properties (Design Tokens)
   ============================================================ */
:root {
    /* Primary Colors */
    --saffron: #FF9933;
    --saffron-dark: #E07A1F;
    --saffron-light: #FFB366;
    --gold: #D4A843;
    --gold-light: #F0D68A;
    --gold-dark: #A67C2E;

    /* Accent Colors */
    --crimson: #8B1A1A;
    --crimson-deep: #5C0E0E;
    --crimson-light: #C0392B;
    --blood: #6B0000;
    --temple-stone: #C4A265;
    --sacred-green: #1B5E20;

    /* Neutrals */
    --bg-primary: #0A0A0F;
    --bg-secondary: #111118;
    --bg-tertiary: #1A1A24;
    --bg-card: #16161F;
    --bg-card-hover: #1E1E2A;
    --bg-overlay: rgba(10, 10, 15, 0.85);

    --text-primary: #E8E6E3;
    --text-secondary: #A09B94;
    --text-muted: #6B6660;
    --text-accent: var(--saffron);

    --border-subtle: rgba(212, 168, 67, 0.12);
    --border-medium: rgba(212, 168, 67, 0.25);
    --border-accent: rgba(255, 153, 51, 0.4);

    /* Typography */
    --font-display: 'Cinzel', 'Georgia', serif;
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;
    --text-7xl: 4.5rem;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 30px rgba(255, 153, 51, 0.15);
    --shadow-glow-strong: 0 0 60px rgba(255, 153, 51, 0.25);

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-very-slow: 800ms ease;

    /* Layout */
    --max-width: 1200px;
    --max-width-narrow: 900px;
    --max-width-wide: 1400px;
    --nav-height: 72px;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--saffron);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

ul,
ol {
    list-style: none;
}

/* Selection */
::selection {
    background: rgba(255, 153, 51, 0.3);
    color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold);
}

/* ============================================================
   Navigation
   ============================================================ */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.site-nav.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: var(--max-width-wide);
    margin: 0 auto;
    padding: 0 var(--space-6);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

.nav-logo-icon {
    font-size: var(--text-2xl);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--gold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-logo-text .highlight {
    color: var(--saffron);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--saffron);
    background: rgba(255, 153, 51, 0.08);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--saffron);
    border-radius: var(--radius-full);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: var(--space-20) var(--space-6);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 15, 0.3) 0%,
            rgba(10, 10, 15, 0.6) 40%,
            rgba(10, 10, 15, 0.95) 100%);
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 153, 51, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 26, 26, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(212, 168, 67, 0.04) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-5);
    background: rgba(255, 153, 51, 0.1);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-8);
    animation: fadeInDown 0.8s ease forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: var(--text-7xl);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title .line {
    display: block;
}

.hero-title .accent {
    color: var(--saffron);
    text-shadow: 0 0 40px rgba(255, 153, 51, 0.3);
}

.hero-title .accent-crimson {
    color: var(--crimson-light);
    text-shadow: 0 0 40px rgba(192, 57, 43, 0.3);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-10);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-8);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: var(--text-xs);
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounce 2s ease infinite;
}

.hero-scroll-indicator .arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(45deg);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--text-base);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1.4;
}

.btn-primary {
    background: linear-gradient(135deg, var(--saffron), var(--saffron-dark));
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 153, 51, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 153, 51, 0.4);
    color: #000;
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
    background: rgba(212, 168, 67, 0.1);
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: var(--space-2) var(--space-5);
    font-size: var(--text-sm);
}

.btn-lg {
    padding: var(--space-5) var(--space-10);
    font-size: var(--text-lg);
}

/* ============================================================
   Sections
   ============================================================ */
.section {
    padding: var(--space-24) var(--space-6);
    position: relative;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-darker {
    background: var(--bg-tertiary);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.container-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
}

.container-wide {
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-4);
    background: rgba(255, 153, 51, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-4);
    font-family: var(--font-mono);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

.section-title .accent {
    color: var(--saffron);
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ============================================================
   Cards
   ============================================================ */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-subtle);
}

.card-image-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-4);
}

.card-image-placeholder .placeholder-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-2);
}

.card-image-placeholder .placeholder-text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
    font-style: italic;
}

.card-body {
    padding: var(--space-6);
}

.card-tag {
    display: inline-flex;
    padding: var(--space-1) var(--space-3);
    background: rgba(255, 153, 51, 0.1);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-3);
    font-weight: 600;
}

.card-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-3);
    line-height: 1.3;
}

.card-text {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--saffron);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
}

.card-link:hover {
    gap: var(--space-3);
    color: var(--gold-light);
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-6);
}

.card-grid-2 {
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
}

.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ============================================================
   Statistics / Counters
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-6);
}

.stat-card {
    text-align: center;
    padding: var(--space-8) var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--saffron), var(--gold), var(--crimson-light));
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: var(--border-accent);
}

.stat-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-3);
}

.stat-number {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 900;
    color: var(--saffron);
    line-height: 1;
    margin-bottom: var(--space-2);
}

.stat-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.stat-source {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-2);
    font-style: italic;
}

/* ============================================================
   Timeline
   ============================================================ */
.timeline {
    position: relative;
    padding: var(--space-8) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom,
            transparent,
            var(--gold-dark),
            var(--saffron),
            var(--crimson),
            var(--gold-dark),
            transparent);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: var(--space-6);
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: var(--space-12);
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: var(--space-12);
}

.timeline-dot {
    position: absolute;
    top: var(--space-8);
    width: 16px;
    height: 16px;
    background: var(--saffron);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 153, 51, 0.4);
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -8px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-year {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--saffron);
    margin-bottom: var(--space-2);
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.timeline-desc {
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-3);
}

.timeline-source {
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-style: italic;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.timeline-item:nth-child(odd) .timeline-source {
    justify-content: flex-end;
}

/* ============================================================
   Comparison / Side-by-Side
   ============================================================ */
.comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    margin: var(--space-8) 0;
}

.comparison-card {
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.comparison-card.myth {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.08), rgba(27, 94, 32, 0.02));
    border-color: rgba(27, 94, 32, 0.3);
}

.comparison-card.reality {
    background: linear-gradient(135deg, rgba(139, 26, 26, 0.08), rgba(139, 26, 26, 0.02));
    border-color: rgba(139, 26, 26, 0.3);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
}

.comparison-icon {
    font-size: var(--text-3xl);
}

.comparison-label {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-card.myth .comparison-label {
    color: #4CAF50;
}

.comparison-card.reality .comparison-label {
    color: var(--crimson-light);
}

/* ============================================================
   Quotes / Citations
   ============================================================ */
.blockquote {
    position: relative;
    padding: var(--space-8);
    margin: var(--space-8) 0;
    background: var(--bg-card);
    border-left: 4px solid var(--gold);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
}

.blockquote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: var(--space-4);
    font-size: 80px;
    color: rgba(212, 168, 67, 0.15);
    font-family: var(--font-display);
    line-height: 1;
}

.blockquote-source {
    display: block;
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    font-style: normal;
    color: var(--gold);
    font-family: var(--font-body);
}

.blockquote-source a {
    color: var(--gold);
    text-decoration: underline;
}

/* ============================================================
   Data / Info Boxes
   ============================================================ */
.info-box {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    margin: var(--space-6) 0;
    border: 1px solid var(--border-subtle);
}

.info-box.warning {
    background: rgba(139, 26, 26, 0.08);
    border-color: rgba(139, 26, 26, 0.3);
}

.info-box.info {
    background: rgba(255, 153, 51, 0.06);
    border-color: rgba(255, 153, 51, 0.2);
}

.info-box.source {
    background: rgba(212, 168, 67, 0.06);
    border-color: rgba(212, 168, 67, 0.2);
}

.info-box-title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.info-box.warning .info-box-title {
    color: var(--crimson-light);
}

.info-box.info .info-box-title {
    color: var(--saffron);
}

.info-box.source .info-box-title {
    color: var(--gold);
}

/* ============================================================
   Content Blocks
   ============================================================ */
.content-block {
    margin-bottom: var(--space-12);
}

.content-block h2 {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.content-block h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.content-block h4 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--gold);
}

.content-block p {
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
    line-height: 1.8;
    font-size: var(--text-base);
}

.content-block ul,
.content-block ol {
    padding-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.content-block ul li,
.content-block ol li {
    color: var(--text-secondary);
    margin-bottom: var(--space-2);
    line-height: 1.7;
    position: relative;
}

.content-block ul li::before {
    content: '▸';
    color: var(--saffron);
    position: absolute;
    left: calc(var(--space-6) * -1);
}

.content-block ol {
    list-style: decimal;
}

.content-block ol li::marker {
    color: var(--saffron);
}

.content-block strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============================================================
   Image Gallery
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-4);
    margin: var(--space-8) 0;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--text-primary);
    font-size: var(--text-sm);
    line-height: 1.5;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
    padding: var(--space-16) var(--space-6) var(--space-8);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-10);
    padding-bottom: var(--space-10);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-8);
}

.footer-brand .footer-logo {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-4);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.7;
    max-width: 340px;
}

.footer-section h4 {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-4);
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    padding: var(--space-1) 0;
    transition: color var(--transition-fast);
}

.footer-section a:hover {
    color: var(--saffron);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: var(--text-xs);
}

.footer-bottom .disclaimer {
    color: var(--text-muted);
    font-size: var(--text-xs);
    max-width: 600px;
    line-height: 1.6;
}

/* ============================================================
   Page Header (Internal pages)
   ============================================================ */
.page-header {
    padding: calc(var(--nav-height) + var(--space-16)) var(--space-6) var(--space-12);
    background: linear-gradient(180deg,
            var(--bg-tertiary) 0%,
            var(--bg-primary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: blur(1px);
}

.page-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 10, 15, 0.5) 0%,
            rgba(10, 10, 15, 0.85) 100%);
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 40%, rgba(255, 153, 51, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 26, 26, 0.04) 0%, transparent 50%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header-badge {
    display: inline-flex;
    padding: var(--space-1) var(--space-4);
    background: rgba(255, 153, 51, 0.08);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--saffron);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-6);
}

.page-header-title {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.page-header-subtitle {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    justify-content: center;
    margin-bottom: var(--space-6);
    font-size: var(--text-sm);
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--saffron);
}

.breadcrumb .separator {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text-secondary);
}

/* ============================================================
   Map / Location Styles
   ============================================================ */
.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-6);
}

.location-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.location-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--shadow-glow);
}

.location-image {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--crimson-deep));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-5xl);
    position: relative;
}

.location-status {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.location-status.destroyed {
    background: rgba(139, 26, 26, 0.8);
    color: #fff;
}

.location-status.damaged {
    background: rgba(255, 153, 51, 0.8);
    color: #000;
}

.location-info {
    padding: var(--space-6);
}

.location-name {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-2);
}

.location-place {
    font-size: var(--text-sm);
    color: var(--gold);
    margin-bottom: var(--space-3);
}

/* ============================================================
   Source / Reference Styles
   ============================================================ */
.source-list {
    display: grid;
    gap: var(--space-4);
}

.source-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.source-item:hover {
    border-color: var(--border-medium);
    background: var(--bg-card-hover);
}

.source-number {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gold);
    min-width: 40px;
}

.source-details h4 {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.source-details p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
}

.source-details .source-type {
    display: inline-flex;
    padding: 2px 8px;
    background: rgba(212, 168, 67, 0.1);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: var(--gold);
    margin-top: var(--space-2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Citation inline */
.cite {
    display: inline;
    font-size: var(--text-xs);
    color: var(--gold);
    cursor: pointer;
    vertical-align: super;
    font-weight: 600;
    padding: 0 2px;
    transition: color var(--transition-fast);
}

.cite:hover {
    color: var(--saffron);
}

/* ============================================================
   Tabs
   ============================================================ */
.tabs {
    margin: var(--space-8) 0;
}

.tab-nav {
    display: flex;
    gap: var(--space-1);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-6);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.tab-btn {
    padding: var(--space-3) var(--space-6);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--saffron);
    border-bottom-color: var(--saffron);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    margin-left: var(--space-2);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-btn:hover {
    background: rgba(255, 153, 0, 0.15);
    border-color: var(--saffron);
    color: var(--saffron);
}

.lang-icon {
    font-size: 1rem;
}

.lang-label {
    letter-spacing: 0.5px;
}

.tab-btn.active {
    color: var(--saffron);
    border-bottom-color: var(--saffron);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* ============================================================
   Progress / Journey Indicator
   ============================================================ */
.journey-progress {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 153, 51, 0.1);
    z-index: 999;
}

.journey-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--saffron), var(--gold), var(--crimson-light));
    width: 0%;
    transition: width var(--transition-fast);
}

/* ============================================================
   Next Chapter Navigation
   ============================================================ */
.next-chapter {
    padding: var(--space-16) var(--space-6);
    text-align: center;
    background: linear-gradient(180deg,
            var(--bg-primary),
            var(--bg-tertiary));
    border-top: 1px solid var(--border-subtle);
}

.next-chapter-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-3);
}

.next-chapter-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
}

.next-chapter-title a {
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.next-chapter-title a:hover {
    color: var(--saffron);
}

/* ============================================================
   Modal / Lightbox
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-8);
}

.modal-overlay.active {
    display: flex;
}

.modal-close {
    position: absolute;
    top: var(--space-6);
    right: var(--space-6);
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: var(--text-3xl);
    cursor: pointer;
    z-index: 10001;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
}

/* ============================================================
   Reveal Animations
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-very-slow);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all var(--transition-very-slow);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all var(--transition-very-slow);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation delays */
.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

.reveal-delay-5 {
    transition-delay: 0.5s;
}

/* ============================================================
   Keyframe Animations
   ============================================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 153, 51, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 153, 51, 0.4);
    }
}

/* ============================================================
   Utility Classes
   ============================================================ */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-saffron {
    color: var(--saffron);
}

.text-gold {
    color: var(--gold);
}

.text-crimson {
    color: var(--crimson-light);
}

.text-muted {
    color: var(--text-muted);
}

.text-secondary {
    color: var(--text-secondary);
}

.mt-2 {
    margin-top: var(--space-2);
}

.mt-4 {
    margin-top: var(--space-4);
}

.mt-6 {
    margin-top: var(--space-6);
}

.mt-8 {
    margin-top: var(--space-8);
}

.mt-12 {
    margin-top: var(--space-12);
}

.mb-2 {
    margin-bottom: var(--space-2);
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mb-6 {
    margin-bottom: var(--space-6);
}

.mb-8 {
    margin-bottom: var(--space-8);
}

.mb-12 {
    margin-bottom: var(--space-12);
}

.font-display {
    font-family: var(--font-display);
}

.font-heading {
    font-family: var(--font-heading);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--border-medium),
            transparent);
    margin: var(--space-12) 0;
}

.divider-ornate {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: var(--space-12) 0;
    color: var(--text-muted);
}

.divider-ornate::before,
.divider-ornate::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg,
            transparent,
            var(--border-medium),
            transparent);
}

.divider-ornate .ornament {
    font-size: var(--text-lg);
    color: var(--gold);
}

/* ============================================================
   Responsive Design
   ============================================================ */
@media (max-width: 1024px) {
    .card-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .comparison {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .hero-title {
        font-size: var(--text-4xl);
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .page-header-title {
        font-size: var(--text-3xl);
    }

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: calc(var(--nav-height) + var(--space-8)) var(--space-6) var(--space-8);
        transition: right var(--transition-base);
        border-left: 1px solid var(--border-subtle);
        overflow-y: auto;
        gap: var(--space-1);
        align-items: stretch;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-base);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        display: none;
    }

    .mobile-overlay.active {
        display: block;
    }

    /* Timeline Mobile */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px !important;
        padding-right: var(--space-4) !important;
        text-align: left !important;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }

    .timeline-source {
        justify-content: flex-start !important;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .card-grid-2 {
        grid-template-columns: 1fr;
    }

    .card-grid-3 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: var(--space-16) var(--space-4);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--text-3xl);
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .stat-number {
        font-size: var(--text-3xl);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .blockquote {
        padding: var(--space-5);
    }
}

/* ============================================================
   Founder Card
   ============================================================ */
.founder-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-8);
    padding: var(--space-8);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    margin: var(--space-8) 0;
    align-items: start;
}

.founder-photo {
    width: 280px;
    height: 340px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    border: 2px solid var(--border-accent);
}

.founder-info h3 {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-1);
}

.founder-info .founder-title {
    color: var(--gold);
    font-size: var(--text-base);
    font-weight: 500;
    margin-bottom: var(--space-4);
}

.founder-info p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-3);
    font-size: var(--text-base);
}

.founder-info a {
    color: var(--saffron);
    text-decoration: underline;
}

.founder-info a:hover {
    color: var(--gold);
}

@media (max-width: 768px) {
    .founder-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-photo {
        width: 200px;
        height: 240px;
        margin: 0 auto;
    }
}

/* ============================================================
   Portrait Inline
   ============================================================ */
.portrait-block {
    float: right;
    margin: 0 0 var(--space-6) var(--space-8);
    width: 300px;
    text-align: center;
}

.portrait-block img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-accent);
    margin-bottom: var(--space-3);
}

.portrait-block .portrait-caption {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .portrait-block {
        float: none;
        width: 240px;
        margin: 0 auto var(--space-6) auto;
    }
}

/* ============================================================
   Video Embed
   ============================================================ */
.video-embed {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: var(--space-8) auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
}

.video-embed video {
    width: 100%;
    display: block;
}

.video-embed .video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--crimson-deep));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    color: var(--text-secondary);
    font-size: var(--text-lg);
}

.video-embed .video-placeholder .play-icon {
    font-size: 4rem;
    opacity: 0.6;
}

.video-caption {
    padding: var(--space-4);
    background: var(--bg-card);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid var(--border-subtle);
}

/* ============================================================
   Print Styles
   ============================================================ */
@media print {

    .site-nav,
    .mobile-menu-btn,
    .journey-progress,
    .hero-scroll-indicator,
    .next-chapter {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .card,
    .stat-card,
    .info-box {
        border: 1px solid #ccc;
    }
}