:root {
    /* Bio Theme - Editorial Dark */
    --bg-body: #0a0a0a;
    --bg-card: #141414;
    --text-primary: #ededed;
    --text-secondary: #a1a1a1;
    --accent: #A4F63D;
    /* Snap2Flow Lime - kept as a subtle brand tie-in */

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    --spacing-container: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #030303;
    /* Moody mist texture with Green Tint */
    /* Interactive Fog Light - Follows Mouse */
    background:
        radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(164, 246, 61, 0.06) 0%, transparent 40%),
        /* Dynamic Light */
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E"),
        linear-gradient(to bottom, #080808 0%, #000000 100%);
    background-size: cover;
    background-attachment: fixed;
    /* animation: removed */

    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.7;
    font-size: 1.1rem;
    -webkit-font-smoothing: antialiased;
}

.page-wrapper {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 5%;
}

/* Nav */
.simple-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 0;
    margin-bottom: 4rem;
}

.brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    z-index: 1001;
    position: relative;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    z-index: 1001;
    position: relative;
}

.bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease-in-out;
}

/* Hamburger Animation */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

.nav-right a {
    color: var(--text-secondary);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-right a:hover {
    color: var(--text-primary);
}

.cta-text {
    color: var(--text-primary) !important;
    border-bottom: 1px solid var(--accent);
}

/* Header */
.bio-header {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 8rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 600;
}

h1 {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

.lead {
    font-size: 1.35rem;
    color: var(--text-secondary);
    max-width: 90%;
    font-weight: 300;
}

.bio-image-container {
    padding-left: 2rem;
    position: relative;
    z-index: 1;
}

/* Ambient glow behind the subject */
.bio-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(164, 246, 61, 0.08) 0%, transparent 60%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
}

.bio-image {
    width: 100%;
    position: relative;
    border-radius: 4px;

    /* Seamless vignette blend into background */
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 98%);
    mask-image: radial-gradient(circle at center, black 40%, transparent 98%);

    /* Enhance lighting consistency */
    filter: contrast(115%) brightness(100%) saturate(90%);
    mix-blend-mode: normal;
    opacity: 0.9;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 6rem;
}

/* Sidebar */
.bio-sidebar {
    position: sticky;
    top: 4rem;
    align-self: start;
}

.sidebar-block {
    margin-bottom: 3rem;
}

.sidebar-block h3 {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.sidebar-block p,
.sidebar-block li {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    list-style: none;
}

.clean-list li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.social-icons a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.social-icons a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Narrative */
.bio-narrative {
    max-width: 700px;
}

.chapter {
    margin-bottom: 5rem;
}

.chapter h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.chapter p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
}

.chapter strong {
    color: var(--text-primary);
    font-weight: 500;
}

.signature-block {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-primary {
    display: inline-block;
    background: var(--text-primary);
    color: var(--bg-body);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    margin-top: 2rem;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    background: var(--accent);
}

.cta-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding: 0.85rem 1.75rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: rgba(164, 246, 61, 0.05);
    /* Subtle lime tint */
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.cta-hero:hover {
    background: var(--accent);
    color: var(--bg-body);
    box-shadow: 0 0 20px rgba(164, 246, 61, 0.3);
    transform: translateY(-2px);
}

.cta-hero svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.cta-hero:hover svg {
    transform: translateX(3px);
}

/* Footer */
.simple-footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 6rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animation Keyframes */
@keyframes drift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(12px);
    /* Blur-in effect */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Stagger delays manually or via JS, minimal CSS delay classes */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 900px) {
    .bio-header {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bio-image-container {
        padding-left: 0;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .bio-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    h1 {
        font-size: 3.5rem;
    }

    /* Mobile Nav */
    .hamburger {
        display: flex;
    }

    .nav-right {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: auto;
        background-color: var(--bg-card);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease-in-out;
        z-index: 1000;
        padding: 2rem 0;
    }

    .nav-right.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    /* Ensure parent relative for absolute positioning */
    .simple-nav {
        position: relative;
    }



    .nav-right a {
        margin: 1.5rem 0;
        font-size: 1.5rem;
        font-family: var(--font-serif);
    }

    .cta-text {
        font-size: 1.2rem !important;
        margin-top: 1rem;
    }
}