:root {
    --deep-space: #0a0e0a;
    --electric-green: #00ff41;
    --neon-green: #39ff14;
    --dark-green: #0d4a2d;
    --matrix-green: #00ff00;
    --warm-white: #f8f9fa;
    --steel-gray: #6c757d;
    --nav-h: 70px;
    --header-h: 132px;
}

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

body {
    font-family: 'Exo 2', sans-serif;
    color: var(--warm-white);
    background: var(--deep-space);
    line-height: 1.6;
}

/* Animated Grid Background */
.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

/* Header */
body > header {
    background: rgba(10, 14, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10002;
    border-bottom: 2px solid var(--electric-green);
    box-shadow: 0 4px 20px rgba(0, 255, 65, 0.3);
}

body {
    padding-top: var(--header-h);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--neon-green), var(--electric-green));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    animation: pulse-glow 2s ease-in-out infinite;
    position: relative;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.4), transparent 60%);
    animation: vdgPulse 2s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes pulse-glow {
    0%, 100% {
        filter: drop-shadow(0 0 5px var(--neon-green));
    }
    50% {
        filter: drop-shadow(0 0 15px var(--neon-green));
    }
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--neon-green);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.5);
}

.logo-subtitle {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.95rem;
    color: var(--electric-green);
    letter-spacing: 1.10em;
    text-transform: uppercase;
}

.site-logo {
    height: 84px;
    width: auto;
    display: block;
    animation: pulse-glow 2s ease-in-out infinite;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-left {
    flex: 1;
    justify-content: space-between;
    padding-right: 3rem;
}

.nav-right {
    flex: 1;
    justify-content: space-between;
    padding-left: 3rem;
}

nav a {
    color: var(--warm-white);
    text-decoration: none;
    font-family: 'Azeret Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--neon-green);
    transform: translateX(-50%);
    transition: width 0.3s;
}

nav a:hover::after {
    width: 80%;
}

nav a:hover {
    color: var(--neon-green);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top, rgba(0, 255, 65, 0.15) 0%, transparent 70%),
                radial-gradient(ellipse at bottom right, rgba(13, 74, 45, 0.2) 0%, transparent 60%);
}

.hero-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 255, 65, 0.3), transparent);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.2), transparent);
    bottom: 20%;
    right: 15%;
    animation-delay: 5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(13, 74, 45, 0.25), transparent);
    top: 50%;
    right: 30%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(90deg, rgba(0, 255, 65, 0.2), rgba(57, 255, 20, 0.2));
    border: 1px solid var(--neon-green);
    font-family: 'Azeret Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--neon-green);
    margin-bottom: 2rem;
    animation: slideIn 1s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--warm-white) 0%, var(--neon-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInScale 1.2s ease-out 0.2s backwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(248, 249, 250, 0.8);
    max-width: 700px;
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.6s backwards;
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 1s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--neon-green);
    display: block;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.hero-stat-label {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.85rem;
    color: var(--steel-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeIn 1s ease-out 1.2s backwards;
}

.btn {
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-family: 'Azeret Mono', monospace;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--electric-green), var(--neon-green));
    color: var(--deep-space);
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 30px rgba(57, 255, 20, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--warm-white);
    border: 2px solid var(--electric-green);
}

.btn-secondary:hover {
    background: rgba(0, 255, 65, 0.2);
    border-color: var(--neon-green);
    color: var(--neon-green);
    transform: translateY(-3px);
}

/* Data Section */
.data-section {
    max-width: 1400px;
    margin: 8rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--neon-green);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--warm-white);
    margin-bottom: 1.5rem;
}

.section-description {
    font-size: 1.2rem;
    color: var(--steel-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

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

.data-card {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.05), rgba(57, 255, 20, 0.05));
    border: 1px solid rgba(0, 255, 65, 0.3);
    padding: 2.5rem;
    position: relative;
    overflow: visible;
    transition: all 0.4s;
}

.data-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(57, 255, 20, 0.2);
}

.data-card:nth-child(2)::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #ffffff, #a8d8ff, #ffffff, transparent);
    box-shadow:
        0 0 8px #5eb3ff,
        0 0 15px #ffffff,
        0 0 3px #ffffff;
    opacity: 0;
    animation: teslaStrike 8s ease-in-out infinite 2s;
}

@keyframes teslaStrike {
    0%, 95%, 100% { opacity: 0; }
    96%, 97%, 98% { opacity: 1; }
    96.5%, 97.5% { opacity: 0.4; }
}

.data-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.data-card-icon .ao-1,
.data-card-icon .ao-2,
.data-card-icon .ao-3 { transform-origin: 30px 30px; }

.data-card-icon .ao-1 { animation: ao-spin-1 3s  linear infinite; }
.data-card-icon .ao-2 { animation: ao-spin-2 5s  linear infinite; }
.data-card-icon .ao-3 { animation: ao-spin-3 4s  linear infinite; }

.data-card-icon .electron { filter: drop-shadow(0 0 3px rgba(57, 255, 20, 0.9)); }
.data-card-icon .nucleus  { filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.8)); }

@keyframes ao-spin-1 { from { transform: rotate(0deg);   } to { transform: rotate(360deg);  } }
@keyframes ao-spin-2 { from { transform: rotate(60deg);  } to { transform: rotate(420deg);  } }
@keyframes ao-spin-3 { from { transform: rotate(120deg); } to { transform: rotate(-240deg); } }

.data-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--warm-white);
    margin-bottom: 1rem;
}

.data-card p {
    color: var(--steel-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.data-card-link {
    font-family: 'Azeret Mono', monospace;
    color: var(--neon-green);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s;
}

.data-card-link:hover {
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
}

/* Timeline Section */
.timeline-section {
    background: linear-gradient(180deg, rgba(0, 255, 65, 0.05) 0%, transparent 100%);
    padding: 6rem 2rem;
    margin: 6rem 0;
}

.timeline-container {
    max-width: 1400px;
    margin: 0 auto;
}

.timeline-header {
    text-align: center;
    margin-bottom: 4rem;
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.timeline-item {
    background: rgba(10, 14, 10, 0.8);
    border: 1px solid rgba(0, 255, 65, 0.3);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--electric-green), var(--neon-green));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.timeline-item:hover::after {
    transform: scaleX(1);
}

.timeline-item:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
}

.timeline-year {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--neon-green);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(57, 255, 20, 0.5);
}

.timeline-era {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.8rem;
    color: var(--electric-green);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.timeline-description {
    color: var(--steel-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    max-width: 1200px;
    margin: 8rem auto;
    padding: 0 2rem;
    text-align: center;
}

.cta-box {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.1), rgba(13, 74, 45, 0.1));
    border: 2px solid var(--electric-green);
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.1), transparent);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--warm-white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: var(--steel-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    max-width: 1400px;
    margin: 8rem auto;
    padding: 0 2rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.contact-card {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.05), rgba(57, 255, 20, 0.05));
    border: 1px solid rgba(0, 255, 65, 0.3);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s;
}

.contact-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(57, 255, 20, 0.2);
}

.contact-icon {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--neon-green);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.contact-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--warm-white);
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--steel-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-link {
    font-family: 'Azeret Mono', monospace;
    color: var(--neon-green);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: all 0.3s;
    display: inline-block;
}

.contact-link:hover {
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Footer */
footer {
    background: rgba(10, 14, 10, 0.95);
    border-top: 2px solid var(--electric-green);
    padding: 4rem 2rem 2rem;
    margin-top: 8rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--neon-green);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--steel-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.85rem;
    color: var(--electric-green);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--steel-gray);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2.2;
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid rgba(0, 255, 65, 0.2);
    padding-top: 2rem;
    text-align: center;
    font-family: 'Azeret Mono', monospace;
    font-size: 0.8rem;
    color: var(--steel-gray);
}

/* Electric Arc Effects */
.electric-arc-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.arc-left, .arc-right, .arc-top {
    position: absolute;
    stroke: #a8d8ff;
    fill: none;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 6px #5eb3ff) drop-shadow(0 0 12px #ffffff) drop-shadow(0 0 3px #ffffff);
    opacity: 0;
}

.arc-left {
    left: 0;
    top: 20%;
    width: 200px;
    height: 60%;
    animation: arcFlickerLeft 4s ease-in-out infinite;
}

.arc-right {
    right: 0;
    top: 30%;
    width: 200px;
    height: 50%;
    animation: arcFlickerRight 5s ease-in-out infinite 1s;
}

.arc-top {
    top: 0;
    left: 30%;
    width: 40%;
    height: 150px;
    animation: arcFlickerTop 6s ease-in-out infinite 2s;
}

@keyframes arcFlickerLeft {
    0%, 100% { opacity: 0; }
    2%, 4%, 6% { opacity: 0.9; }
    3%, 5% { opacity: 0.4; }
    8%, 92% { opacity: 0; }
    94%, 96% { opacity: 0.7; }
    95% { opacity: 0.3; }
}

@keyframes arcFlickerRight {
    0%, 100% { opacity: 0; }
    3%, 5%, 7% { opacity: 0.85; }
    4%, 6% { opacity: 0.3; }
    10%, 90% { opacity: 0; }
    92%, 94%, 96% { opacity: 0.9; }
    93%, 95% { opacity: 0.4; }
}

@keyframes arcFlickerTop {
    0%, 100% { opacity: 0; }
    1%, 3%, 5%, 7% { opacity: 1; }
    2%, 4%, 6% { opacity: 0.5; }
    10%, 88% { opacity: 0; }
    90%, 92%, 94% { opacity: 0.8; }
    91%, 93% { opacity: 0.4; }
}

/* Jacob's Ladder effect for section dividers */
.jacobs-ladder {
    position: relative;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--electric-green), transparent);
    overflow: visible;
}

.jacobs-ladder::before,
.jacobs-ladder::after {
    content: '';
    position: absolute;
    height: 20px;
    width: 1.5px;
    background: linear-gradient(to top, #a8d8ff, #ffffff);
    box-shadow:
        0 0 8px #5eb3ff,
        0 0 15px #ffffff,
        0 0 3px #ffffff;
}

.jacobs-ladder::before {
    left: 20%;
    bottom: 0;
    animation: sparkClimb 3s ease-in-out infinite;
}

.jacobs-ladder::after {
    left: 80%;
    bottom: 0;
    animation: sparkClimb 3s ease-in-out infinite 1.5s;
}

@keyframes sparkClimb {
    0%, 100% {
        transform: translateY(0) scaleY(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(-15px) scaleY(1.5);
        opacity: 1;
    }
    90% {
        opacity: 0.5;
    }
}

/* Van de Graaff sphere glow effect */
.vdg-glow {
    position: relative;
}

.vdg-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.3), transparent 60%);
    animation: vdgPulse 2s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes vdgPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

/* Tesla coil strike effect for cards */
.tesla-strike {
    position: relative;
    overflow: visible;
}

.tesla-strike::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: var(--neon-green);
    box-shadow:
        0 0 10px var(--neon-green),
        0 0 20px var(--electric-green);
    opacity: 0;
    animation: teslaStrike 8s ease-in-out infinite;
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    top: calc(42px + 1.5rem);
    transform: translateY(-50%);
    right: 2rem;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 1px solid var(--electric-green);
    cursor: pointer;
    padding: 0;
    z-index: 10005;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neon-green);
    margin: 3px 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(57, 255, 20, 0.5);
}

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

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

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

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 10, 0.98);
    z-index: 10003;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10004;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.mobile-menu li {
    margin: 1.5rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-menu.active li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu li:nth-child(6) { transition-delay: 0.35s; }

.mobile-menu a {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--warm-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    display: block;
    transition: all 0.3s;
}

.mobile-menu a:hover,
.mobile-menu a:active {
    color: var(--neon-green);
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.8);
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .data-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .cta-box {
        padding: 3rem 2rem;
    }

    .cta-section h2 {
        font-size: 2.5rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }

    /* Hide desktop nav (but not mobile menu) */
    body > header nav > ul {
        display: none;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    /* Header adjustments */
    :root {
        --header-h: 100px;
    }

    body > header {
        padding: 1rem 0;
    }

    nav {
        padding: 0 1rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.5em;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
    }

    .site-logo {
        height: 64px;
    }

    .mobile-menu-toggle {
        top: calc(32px + 1.5rem);
    }

    /* Hero section */
    .hero {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.4rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .hero-stat {
        flex: 0 0 auto;
        min-width: 80px;
    }

    .hero-stat-number {
        font-size: 2rem;
    }

    .hero-stat-label {
        font-size: 0.7rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.8rem;
        text-align: center;
        width: 100%;
    }

    /* Scale down decorative arcs on mobile */
    .electric-arc-container {
        opacity: 0.7;
    }

    .hero-orbs .orb {
        filter: blur(100px);
        opacity: 0.5;
    }

    /* Section styles */
    .data-section {
        margin: 4rem auto;
        padding: 0 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-label {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
    }

    /* Cards */
    .data-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .data-card {
        padding: 1.5rem;
    }

    .data-card h3 {
        font-size: 1.3rem;
    }

    .data-card p {
        font-size: 0.95rem;
    }

    /* Timeline */
    .timeline-section {
        padding: 4rem 1rem;
        margin: 4rem 0;
    }

    .timeline-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .timeline-item {
        padding: 1.5rem;
    }

    .timeline-year {
        font-size: 2rem;
    }

    .timeline-era {
        font-size: 0.7rem;
    }

    /* CTA Section */
    .cta-section {
        margin: 4rem auto;
        padding: 0 1rem;
    }

    .cta-box {
        padding: 2rem 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    /* Contact */
    .contact-section {
        margin: 4rem auto;
        padding: 0 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: none;
    }

    .contact-card {
        padding: 1.5rem;
        width: 100%;
    }

    .contact-link {
        word-break: break-all;
        font-size: 0.75rem;
    }

    /* Footer */
    footer {
        padding: 3rem 1rem 1.5rem;
        margin-top: 4rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        margin-bottom: 1rem;
    }

    .footer-section h4 {
        margin-bottom: 0.75rem;
    }

    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem 1.5rem;
    }

    .footer-section a {
        line-height: 1.8;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.7rem;
    }

    /* Jacob's ladder - simplify on mobile */
    .jacobs-ladder {
        margin: 3rem auto !important;
    }

    .jacobs-ladder::before,
    .jacobs-ladder::after {
        display: none;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-stats {
        gap: 1rem;
    }

    .hero-stat-number {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .timeline-year {
        font-size: 1.6rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .mobile-menu a {
        font-size: 1.2rem;
    }

    .contact-icon {
        font-size: 2rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .data-card {
        cursor: pointer;
    }

    .data-card:active {
        transform: scale(0.98);
    }

    nav a,
    .footer-section a,
    .contact-link,
    .data-card-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* Disable hover effects that don't work well on touch */
    .data-card:hover {
        transform: none;
    }

    .timeline-item:hover {
        transform: none;
    }

    .contact-card:hover {
        transform: none;
    }
}

/* Prevent horizontal scroll */
html, body {
    overflow-x: hidden;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Page Transition Animations */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
        var(--deep-space);
    background-size: 50px 50px, 50px 50px, auto;
    opacity: 0;
    z-index: 10000;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.transition-card-clone {
    background: rgba(10, 14, 10, 0.8);
    border: 1px solid rgba(0, 255, 65, 0.3);
    padding: 2.5rem;
    pointer-events: none;
}

.transition-card-clone.expanded {
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.2), inset 0 0 60px rgba(0, 255, 65, 0.03);
}

.transition-card-clone .data-card-icon {
    display: none;
}

.transition-card-clone h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--warm-white);
    margin-bottom: 1rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-card-clone.expanded h3 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    color: var(--neon-green);
    text-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
    margin-bottom: 0;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

@media (max-width: 1024px) {
    .transition-card-clone.expanded h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .transition-card-clone.expanded h3 {
        font-size: 1.6rem;
        padding-bottom: 1.5rem;
    }
}

.transition-card-clone p,
.transition-card-clone .data-card-link {
    transition: opacity 0.3s ease;
}

.transition-card-clone.expanded p,
.transition-card-clone.expanded .data-card-link {
    opacity: 0;
}

body.page-transitioning {
    overflow: hidden;
}

body.page-transitioning > *:not(.page-transition-overlay):not(.transition-card-clone):not(header):not(.mobile-menu-toggle) {
    transition: opacity 0.4s ease;
    opacity: 0;
}

/* Inner Page Layout */
.inner-page {
    min-height: calc(100vh - var(--header-h));
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.inner-page-container {
    max-width: 1200px;
    width: 100%;
    margin: 6rem auto 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.inner-page-box {
    border: 2px solid var(--neon-green);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.2), inset 0 0 60px rgba(0, 255, 65, 0.03);
    padding: 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background: rgba(10, 14, 10, 0.8);
}

.inner-page-box::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-green), transparent);
    box-shadow: 0 0 20px var(--neon-green);
}

.inner-page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

.inner-page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
    margin-bottom: 0.5rem;
}

.inner-page-header .subtitle {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.9rem;
    color: var(--steel-gray);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.inner-page-content {
    flex: 1;
    color: var(--warm-white);
    line-height: 1.8;
}

.inner-page-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--warm-white);
    margin: 2rem 0 1rem;
}

.inner-page-content h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--electric-green);
    margin: 1.5rem 0 0.75rem;
}

.inner-page-content p {
    margin-bottom: 1.5rem;
    color: rgba(248, 249, 250, 0.85);
}

.inner-page-content a:not(.btn) {
    color: var(--neon-green);
    text-decoration: none;
    transition: all 0.3s;
}

.inner-page-content a:not(.btn):hover {
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
}

.inner-page-content figure {
    margin: 1.5rem 0;
}

.inner-page-content figcaption {
    margin-top: 0.5rem;
    text-align: center;
    font-family: 'Azeret Mono', monospace;
    font-size: 0.85rem;
    color: rgba(248, 249, 250, 0.65);
    font-style: italic;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Azeret Mono', monospace;
    font-size: 0.85rem;
    color: var(--neon-green);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.back-link:hover {
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
}

.back-link::before {
    content: '\2190';
    font-size: 1.2rem;
}

/* Inner page responsive - Tablet */
@media (max-width: 1024px) {
    .inner-page-header h1 {
        font-size: 2.5rem;
    }

    .inner-page-content h2 {
        font-size: 1.5rem;
    }
}

/* Inner page responsive - Mobile */
@media (max-width: 768px) {
    .inner-page {
        padding: 1rem;
    }

    .inner-page-container {
        margin-top: 1rem;
    }

    .inner-page-box {
        padding: 1.5rem;
        border-width: 1px;
    }

    .inner-page-box::before {
        left: 5%;
        right: 5%;
    }

    .inner-page-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }

    .inner-page-header h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .inner-page-header .subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    .inner-page-content {
        font-size: 0.95rem;
    }

    .inner-page-content h2 {
        font-size: 1.3rem;
        margin: 1.5rem 0 0.75rem;
    }

    .inner-page-content h3 {
        font-size: 1.1rem;
        margin: 1.25rem 0 0.5rem;
    }

    .inner-page-content p {
        margin-bottom: 1rem;
    }

    .back-link {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
        padding: 0.5rem 0;
        min-height: 44px;
    }
}

/* Inner page responsive - Small Mobile */
@media (max-width: 480px) {
    .inner-page-header h1 {
        font-size: 1.4rem;
    }

    .inner-page-content h2 {
        font-size: 1.2rem;
    }

    .inner-page-box {
        padding: 1rem;
    }
}

/* Inner page container — now follows sticky header, reduce top margin */
.inner-page-container {
    margin-top: 2rem;
}

/* Posts Feed */
.posts-feed {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 65, 0.2);
}

.posts-feed-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--warm-white);
    margin-bottom: 2rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.post-card {
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.04), rgba(57, 255, 20, 0.04));
    border: 1px solid rgba(0, 255, 65, 0.25);
    transition: all 0.4s;
    overflow: hidden;
}

.post-card:hover {
    border-color: var(--neon-green);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(57, 255, 20, 0.15);
}

.post-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-card-content {
    padding: 1.5rem;
}

.post-card-date {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.75rem;
    color: var(--electric-green);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.post-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    color: var(--warm-white);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-card-excerpt {
    color: var(--steel-gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* Events List */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.event-item {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.04), rgba(57, 255, 20, 0.04));
    border: 1px solid rgba(0, 255, 65, 0.25);
    transition: all 0.4s;
}

.event-item:hover {
    border-color: var(--neon-green);
    box-shadow: 0 8px 30px rgba(57, 255, 20, 0.15);
}

.event-date-block {
    border-right: 1px solid rgba(0, 255, 65, 0.2);
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--neon-green);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
    line-height: 1.4;
}

.event-end-date {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.8rem;
    color: var(--steel-gray);
    margin-top: 0.25rem;
}

.event-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    color: var(--warm-white);
    margin-bottom: 0.75rem;
}

.event-location {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.85rem;
    color: var(--electric-green);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.event-description {
    color: rgba(248, 249, 250, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.event-description p {
    margin-bottom: 0.75rem;
}

.event-register {
    padding: 0.6rem 1.5rem;
    font-size: 0.8rem;
}

.no-events {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--steel-gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.no-events a {
    color: var(--neon-green);
    text-decoration: none;
}

.no-events a:hover {
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.8);
}

/* Archives External CTA */
.archives-external-cta {
    margin-top: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 255, 65, 0.08), rgba(57, 255, 20, 0.08));
    border: 2px solid var(--electric-green);
    text-align: center;
}

.archives-external-cta h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    color: var(--warm-white);
    margin-bottom: 1rem;
}

.archives-external-cta p {
    color: var(--steel-gray);
    font-size: 1rem;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Posts / Events responsive */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .event-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .event-date-block {
        border-right: none;
        border-bottom: 1px solid rgba(0, 255, 65, 0.2);
        padding-right: 0;
        padding-bottom: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   TIMELINE DECADE PAGES
   All rules namespaced with .tl- to avoid collision with existing CSS.
   The .tl-box modifier zeroes out .inner-page-box's default padding
   so the sticky ruler can span the full width of the container.
═══════════════════════════════════════════════════════════════════ */

/* Convenience aliases (local to this block) */
:root {
  --tl-green:       var(--electric-green);
  --tl-green-dim:   rgba(0, 255, 65, 0.10);
  --tl-glow-xs:     0 0 6px  rgba(0, 255, 65, 0.55);
  --tl-glow-sm:     0 0 12px rgba(0, 255, 65, 0.55);
  --tl-track-h:     18px;
  --tl-track-gap:   5px;
}

/* Box modifier: zero out default padding so sections control their own insets */
.inner-page-box.tl-box {
    padding: 0;
    overflow: visible; /* required for position: sticky on ruler */
}

/* ── Decade header ── */
.tl-header {
    padding: 2.5rem 3rem 2rem;
    border-bottom: 1px solid rgba(0, 255, 65, 0.12);
}

.tl-classification {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.28em;
    color: var(--tl-green);
    opacity: 0.5;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.tl-decade-num {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3.5rem, 12vw, 7rem);
    font-weight: 900;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--tl-green);
    letter-spacing: 0.04em;
    display: inline-block;
    position: relative;
}
.tl-decade-num::after {
    content: attr(data-d);
    position: absolute;
    left: 3px; top: 3px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 255, 65, 0.15);
    pointer-events: none;
}

.tl-header-meta {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.8rem;
    color: var(--steel-gray);
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
    text-transform: uppercase;
}

/* ── Sticky time ruler ── */
.tl-ruler-outer {
    position: sticky;
    top: var(--nav-h);
    z-index: 50;
    background: rgba(10, 14, 10, 0.97);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 255, 65, 0.14);
    padding: 1rem 3rem 0;
    overflow: hidden;
}

/* Scanline sweep animation */
.tl-ruler-outer::after {
    content: '';
    position: absolute;
    inset: 0;
    height: 2px;
    background: linear-gradient(to right, transparent 0%, rgba(0, 255, 65, 0.2) 50%, transparent 100%);
    animation: tl-ruler-scan 5s linear infinite;
    pointer-events: none;
}
@keyframes tl-ruler-scan {
    0%   { top: 0%;   opacity: 0; }
    5%   { opacity: 1; }
    95%  { opacity: 0.3; }
    100% { top: 100%; opacity: 0; }
}

.tl-ruler-caption {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    color: var(--tl-green);
    opacity: 0.45;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

/* Horizontal scrolling on mobile */
.tl-ruler-scroll {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 255, 65, 0.35) transparent;
    padding-bottom: 0.85rem;
}
.tl-ruler-scroll::-webkit-scrollbar        { height: 3px; }
.tl-ruler-scroll::-webkit-scrollbar-thumb  { background: rgba(0, 255, 65, 0.35); border-radius: 2px; }

.tl-ruler { position: relative; min-width: 560px; }

/* Year axis */
.tl-axis {
    position: relative;
    height: 30px;
    margin-bottom: 5px;
}
.tl-tick {
    position: absolute;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    pointer-events: none;
}
.tl-tick-line  { width: 1px; height: 8px; background: var(--tl-green); opacity: 0.3; }
.tl-tick-label {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.75rem;
    color: var(--tl-green);
    opacity: 0.6;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.tl-baseline {
    height: 1px;
    background: linear-gradient(to right,
        rgba(0, 255, 65, 0.04),
        rgba(0, 255, 65, 0.22) 8%,
        rgba(0, 255, 65, 0.22) 92%,
        rgba(0, 255, 65, 0.04));
    margin-bottom: 6px;
}

.tl-tracks { position: relative; overflow: visible; }

/* Ruler event elements */
.tl-re {
    position: absolute;
    top: calc(var(--t) * (var(--tl-track-h) + var(--tl-track-gap)));
    height: var(--tl-track-h);
    cursor: pointer;
}
.tl-re-bar {
    height: 100%;
    background: rgba(0, 255, 65, 0.20);
    border: 1px solid rgba(0, 255, 65, 0.45);
    border-radius: 2px;
    position: relative;
    min-width: 3px;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.tl-re:hover .tl-re-bar,
.tl-re.active .tl-re-bar {
    background: rgba(57, 255, 20, 0.42);
    border-color: var(--neon-green);
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.65), 0 0 18px rgba(57, 255, 20, 0.25);
}

/* Multi-decade continuation arrow */
.tl-re-bar.cont::after {
    content: '\25B6';
    position: absolute;
    right: -13px; top: 50%;
    transform: translateY(-50%);
    font-size: 9px;
    color: var(--tl-green);
    opacity: 0.65;
    animation: tl-blink 1.8s ease-in-out infinite;
}
@keyframes tl-blink { 0%, 100% { opacity: 0.35; } 50% { opacity: 0.9; } }

/* Point dot for single-date events */
.tl-re-dot {
    width: 11px; height: 11px;
    background: var(--tl-green);
    border-radius: 50%;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: var(--tl-glow-xs);
    transition: box-shadow 0.2s, transform 0.2s;
}
.tl-re:hover .tl-re-dot,
.tl-re.active .tl-re-dot {
    box-shadow: 0 0 10px rgba(57, 255, 20, 0.9), 0 0 22px rgba(57, 255, 20, 0.4);
    transform: translate(-50%, -50%) scale(1.35);
}

/* ── Section divider ── */
.tl-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem 0.5rem;
}
.tl-divider-label {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    color: var(--tl-green);
    opacity: 0.45;
    white-space: nowrap;
    text-transform: uppercase;
}
.tl-divider-line {
    flex: 1;
    height: 1px;
    background: rgba(0, 255, 65, 0.1);
}

/* ── Event list ── */
.tl-list {
    display: flex;
    flex-direction: column;
    padding: 0 3rem 3rem;
}

.tl-item {
    border-left: 2px solid rgba(0, 255, 65, 0.14);
    position: relative;
    transition: border-color 0.25s;
}
.tl-item::before {
    content: '';
    position: absolute;
    left: -2px; top: 0;
    width: 2px; height: 0;
    background: var(--tl-green);
    box-shadow: var(--tl-glow-xs);
    transition: height 0.35s ease;
}
.tl-item.active               { border-left-color: rgba(0, 255, 65, 0.4); }
.tl-item.active::before       { height: 100%; }

/* Event row */
.tl-item-row {
    display: grid;
    grid-template-columns: 3.5rem 1fr 1.5rem;
    gap: 1rem;
    align-items: start;
    padding: 1.1rem 1rem 1.1rem 1.25rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}
.tl-item-row:hover          { background: var(--tl-green-dim); }
.tl-item.active .tl-item-row { background: rgba(0, 255, 65, 0.05); }

.tl-item-idx {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.8rem;
    color: var(--tl-green);
    opacity: 0.4;
    line-height: 1.5;
    letter-spacing: 0.06em;
    padding-top: 1px;
}

.tl-item-main { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }

.tl-item-date {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.82rem;
    letter-spacing: 0.1em;
    color: var(--tl-green);
    opacity: 0.7;
    text-transform: uppercase;
}

.tl-item-headline {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(0.78rem, 2.2vw, 0.95rem);
    font-weight: 600;
    color: var(--warm-white);
    line-height: 1.35;
    letter-spacing: 0.02em;
    transition: color 0.25s, text-shadow 0.25s;
}
.tl-item.active .tl-item-headline {
    color: var(--neon-green);
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.25);
}

.tl-item-duration {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-family: 'Azeret Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: var(--tl-green);
    opacity: 0.55;
    border: 1px solid rgba(0, 255, 65, 0.22);
    border-radius: 2px;
    padding: 2px 6px;
    margin-top: 3px;
    width: fit-content;
}

.tl-item-chev {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.8rem;
    color: var(--tl-green);
    opacity: 0.35;
    padding-top: 2px;
    transition: opacity 0.2s, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.tl-item.active .tl-item-chev { opacity: 0.7; transform: rotate(180deg); }

/* Expand/collapse via CSS grid trick */
.tl-item-detail {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.tl-item.active .tl-item-detail { grid-template-rows: 1fr; }
.tl-item-detail-inner           { overflow: hidden; }
.tl-item-detail-body            { padding: 0 1rem 1.4rem 5.5rem; }

.tl-item-text {
    font-family: 'Exo 2', sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(248, 249, 250, 0.75);
    border-left: 1px solid rgba(0, 255, 65, 0.18);
    padding-left: 1rem;
}

.tl-item-citation {
    font-family: 'Azeret Mono', monospace;
    font-size: 0.72rem;
    line-height: 1.6;
    color: rgba(0, 255, 65, 0.5);
    margin-top: 0.75rem;
    padding-left: 1rem;
    border-left: 1px solid rgba(0, 255, 65, 0.18);
    word-break: break-word;
}
.tl-item-citation a {
    color: var(--neon-green);
    text-decoration: underline;
    text-underline-offset: 2px;
    opacity: 0.8;
    transition: opacity 0.15s;
}
.tl-item-citation a:hover {
    opacity: 1;
    text-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
}

.tl-item-sep {
    height: 1px;
    background: rgba(0, 255, 65, 0.07);
    margin: 0 1rem 0 1.25rem;
}

/* ── Timeline page responsive ── */
@media (max-width: 768px) {
    .inner-page-box.tl-box { padding: 0; }

    .tl-header              { padding: 2rem 1.5rem 1.5rem; }
    .tl-ruler-outer         { padding: 0.85rem 1.5rem 0; }
    .tl-divider             { padding: 1.25rem 1.5rem 0.5rem; }
    .tl-list                { padding: 0 1.5rem 2.5rem; }
    .tl-item-row            { grid-template-columns: 2.8rem 1fr 1.2rem; gap: 0.7rem; }
    .tl-item-detail-body    { padding-left: 3.5rem; }
}

@media (max-width: 480px) {
    .inner-page-box.tl-box { padding: 0; }

    .tl-header      { padding: 1.5rem 1rem 1rem; }
    .tl-ruler-outer { padding: 0.75rem 1rem 0; }
    .tl-divider     { padding: 1rem 1rem 0.4rem; }
    .tl-list        { padding: 0 1rem 2rem; }
}

/* ── Reduced Motion ─────────────────────────────────────────────────────────
   Respects the OS-level "reduce motion" accessibility setting.
   - Eliminates all flashing/strobing (arc flickers, tesla strikes)
   - Stops all continuous looping animations
   - Keeps essential transitions but slows/simplifies them
   ─────────────────────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {

    /* Kill all flashing arc / lightning effects */
    .arc-left, .arc-right, .arc-top { animation: none; opacity: 0; }
    .jacobs-ladder::before,
    .jacobs-ladder::after            { animation: none; opacity: 0; }
    .tesla-strike::after             { animation: none; opacity: 0; }

    /* Stop looping ambient animations */
    .orb-1, .orb-2, .orb-3          { animation: none; }
    .grid-background                 { animation: none; }
    .data-card-icon .ao-1,
    .data-card-icon .ao-2,
    .data-card-icon .ao-3            { animation: none; }
    .vdg-glow::before                { animation: none; opacity: 0.4; }
    .tl-ruler-scan                   { display: none; }
    .tl-re.active .tl-re-dot,
    [class*="tl-blink"]              { animation: none; opacity: 0.7; }

    /* Hero one-shot entry animations: show content immediately */
    .hero-badge, .hero h1, .hero-description,
    .hero-stats, .hero-buttons       { animation: none; opacity: 1; transform: none; }

    /* Page transition overlay: instant crossfade instead of slide */
    .page-transition-overlay         { transition: opacity 0.15s linear; }
    .transition-card-clone           { transition: none !important; }
}

/* ============================================================
   Splash Warning (homepage gate)
   ============================================================ */
.splash-warning {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--deep-space);
    color: var(--warm-white);
    font-family: 'Exo 2', sans-serif;
}

.splash-dismissed .splash-warning { display: none; }

.splash-warning-box {
    max-width: 560px;
    width: 100%;
    padding: 40px 32px;
    background: rgba(10, 14, 10, 0.95);
    border: 1px solid var(--electric-green);
    border-radius: 4px;
    text-align: center;
}

.splash-warning-title {
    margin: 0 0 20px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--neon-green);
    text-transform: uppercase;
}

.splash-warning-body {
    margin: 0 0 28px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--warm-white);
}

.splash-warning-body strong {
    color: var(--neon-green);
    font-weight: 600;
}

.splash-warning-enter {
    display: inline-block;
    padding: 12px 32px;
    min-height: 44px;
    background: transparent;
    border: 1px solid var(--neon-green);
    border-radius: 2px;
    color: var(--neon-green);
    font-family: 'Azeret Mono', monospace;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.splash-warning-enter:hover,
.splash-warning-enter:focus-visible {
    background: var(--neon-green);
    color: var(--deep-space);
    outline: none;
}

@media (max-width: 480px) {
    .splash-warning-box { padding: 32px 20px; }
    .splash-warning-title { font-size: 1.25rem; }
    .splash-warning-body { font-size: 0.95rem; }
}
