:root {
    --primary: #3C5C41;
    --secondary: #A3B18A;
    --hero-accent: #3A506B;
    --surface: #FAFBF7;
    --ink-soft: #1F2E24;
    --number-accent: #333333;
}

body {
    font-family: 'Truculenta', sans-serif;
}


/* ===== GLOBAL GRID OVERLAY ===== */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;

    background-image:
        linear-gradient(to right, rgba(60, 92, 65, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(60, 92, 65, 0.03) 1px, transparent 1px);

    background-size: 80px 80px;
}

article,
#projects .group {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-scrolled {
    background: var(--surface);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(60, 92, 65, 0.15);

}

body {
    background: var(--surface);
    color: var(--primary);
}

.blob-shape {
    border-radius: 58% 42% 63% 37% / 41% 53% 47% 59%;
    transition: border-radius 0.6s ease;
}

/* Subtle morph animation */
@keyframes blobMorph {
    0% {
        border-radius: 58% 42% 63% 37% / 41% 53% 47% 59%;
    }

    50% {
        border-radius: 40% 60% 55% 45% / 60% 35% 65% 40%;
    }

    100% {
        border-radius: 58% 42% 63% 37% / 41% 53% 47% 59%;
    }
}

#hero-blob .blob-shape {
    animation: blobMorph 8s ease-in-out infinite;
}

.theme-link {
    color: var(--ink-soft);
    transition: color 150ms ease-out;
}

.theme-link:hover {
    color: var(--primary);
}

@keyframes codeFlow {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

.code-stream {
    animation: codeFlow 14s linear infinite;
    will-change: transform;
}

.code-stream pre {
    margin: 0;
}



/* Pulse animation for active indicator */
@keyframes pulseDot {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    70% {
        transform: scale(1.6);
        opacity: 0;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.pulse-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: #22c55e;
    animation: pulseDot 1.8s infinite;
}

#menu-btn.open span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

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

#menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

.menu-line {
    transition: all 0.3s ease;
}

#mobile-menu a:hover span:last-child {
    transform: translate(-6px, -6px);
}

.wp-block-list {
    
}

.wp-block-separator {
    border-color: rgba(60, 92, 65, 0.1);    
}

.wp-block-heading {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    line-height: 2rem;
}

.has-medium-font-size, .wp-block-list li, .project-content p {
    font-size: 1.125rem;
    line-height: 1.75rem;
    padding: 1rem 0;
}

.wp-block-list {
    padding-left: 2rem;
}

.wp-block-list li {
    list-style-type: disc;
    padding: 0.5rem 0;
}

.wp-block-preformatted {
    background: rgba(60, 92, 65, 0.05);
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
}