/* ========================================
   AXON HUMAN — Stealth Landing
   ======================================== */

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

:root {
    --bg: #0A0B0F;
    --bg-elevated: #111218;
    --border: rgba(255, 255, 255, 0.06);
    --text: #E8EAF0;
    --text-dim: #6B7084;
    --text-muted: #3A3D4A;
    --accent: #F3BD18;
    --accent-dim: rgba(243, 189, 24, 0.08);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    cursor: none;
}

@media (pointer: coarse) {
    body { cursor: auto; }
    .cursor-glow { display: none !important; }
}

a { color: inherit; text-decoration: none; }

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

/* --- Cursor Glow --- */
.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 189, 24, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    will-change: left, top;
}

/* --- Grid Overlay --- */
.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* --- DNA Helix Canvas --- */
.helix-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.12;
}

/* --- Option B: No nav --- */
body.nav-hidden .nav { display: none; }

body.nav-hidden .hero {
    padding-top: 0;
}

/* --- Hero --- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
}

.hero-inner {
    text-align: center;
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.hero-logo-mark {
    display: flex;
    justify-content: center;
}

.hero-logo-img {
    height: 120px;
    width: auto;
    max-width: min(800px, 90vw);
    object-fit: contain;
    display: block;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.hero-logo-fallback {
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

.hero-wordmark {
    display: block;
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
    color: var(--text);
}

.hero-wordmark.accent {
    color: var(--accent);
}

.hero-signal {
    font-family: var(--mono);
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    font-weight: 300;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 32px;
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

.hero-scroll-hint {
    position: absolute;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1) 1.4s forwards;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

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

/* --- Particle Canvas --- */
.particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
}

/* --- Molecular Canvas --- */
.molecular-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}

/* --- Typewriter --- */
.typewriter {
    border-right: 2px solid var(--accent);
    padding-right: 4px;
    animation: blink 0.8s step-end infinite;
}

.typewriter.done {
    border-right-color: transparent;
    animation: none;
}

@keyframes blink {
    50% { border-right-color: transparent; }
}

/* --- Section Divider (vertical gold line with fade) --- */
.section-divider {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: 0;
}

.section-divider span {
    display: block;
    width: 1px;
    height: 140px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

/* --- Verticals --- */
.verticals {
    position: relative;
    z-index: 1;
    padding: 120px 40px;
}

.verticals-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px 80px;
    max-width: 700px;
    margin: 0 auto;
}

.vertical-item {
    text-align: center;
    cursor: none;
    position: relative;
    flex: 0 0 auto;
}

.vertical-item:last-child {
    flex-basis: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vertical-num {
    display: block;
    font-family: var(--mono);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    opacity: 0.6;
}

.vertical-label {
    display: block;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    transition: color 0.3s;
}

.vertical-item:hover .vertical-label {
    color: var(--accent);
}

.vertical-hint {
    display: block;
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vertical-item:hover .vertical-hint {
    opacity: 1;
    transform: translateY(0);
    color: var(--text-dim);
}

.vertical-sep {
    display: none;
}

/* --- Manifesto --- */
.manifesto {
    position: relative;
    z-index: 1;
    padding: 120px 40px;
}

.manifesto-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-tag {
    display: inline-block;
    font-family: var(--mono);
    font-size: 1.575rem;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    opacity: 0.5;
}

.manifesto-inner p {
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-weight: 300;
    line-height: 1.8;
    color: var(--text);
    letter-spacing: 0.01em;
}

/* --- Contact --- */
.contact {
    position: relative;
    z-index: 1;
    padding: 120px 40px;
}

.contact-inner {
    text-align: center;
}

.contact-inner .manifesto-tag {
    display: block;
}

.contact-label {
    display: block;
    font-family: var(--mono);
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact-email {
    font-size: clamp(1.05rem, 2.1vw, 1.75rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    color: var(--text);
    position: relative;
    transition: color 0.3s;
    cursor: none;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-email:hover {
    color: var(--accent);
}

.contact-email:hover::after {
    width: 100%;
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    padding: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-family: var(--mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

/* --- Reveal Animation --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .hero {
        padding: 0 24px;
    }

    .hero-logo-img {
        height: 80px;
    }

    .verticals {
        padding: 80px 24px;
    }

    .verticals-inner {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    .vertical-sep {
        width: 30px;
    }

    .vertical-hint {
        opacity: 1;
        transform: translateY(0);
        color: var(--text-dim);
    }

    .manifesto {
        padding: 80px 24px;
    }

    .contact {
        padding: 80px 24px;
    }

    .footer {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-wordmark {
        font-size: 3.2rem;
    }
}
