/* ============================================
   CHRIS THE LIFE FORM — V2
   Aurora Glassmorphism / Bento Grid / Dark Futurism
   ============================================ */

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

:root {
    /* Core palette */
    --bg: #0a0a0f;
    --bg-elevated: #12121a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    
    /* Text */
    --text-primary: #f0f0f5;
    --text-secondary: rgba(240, 240, 245, 0.6);
    --text-tertiary: rgba(240, 240, 245, 0.35);
    
    /* Accents */
    --accent-1: #7c6ef0;  /* Purple */
    --accent-2: #56c4fb;  /* Cyan */
    --accent-3: #f77eb9;  /* Pink */
    --accent-4: #4ade80;  /* Green */
    
    /* Aurora colors */
    --aurora-1: rgba(124, 110, 240, 0.25);
    --aurora-2: rgba(86, 196, 251, 0.2);
    --aurora-3: rgba(247, 126, 185, 0.15);
    
    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: 24px;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --section-gap: clamp(100px, 14vw, 160px);
    --container: 1140px;
    --gutter: clamp(20px, 5vw, 64px);
    
    /* Motion */
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--bg);
}

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

::selection {
    background: var(--accent-1);
    color: white;
}

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

/* --- AURORA BACKGROUND --- */
.aurora {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    will-change: transform;
}

.aurora-1 {
    width: 600px;
    height: 600px;
    background: var(--aurora-1);
    top: -10%;
    left: -5%;
    animation: aurora-drift-1 25s ease-in-out infinite;
}

.aurora-2 {
    width: 500px;
    height: 500px;
    background: var(--aurora-2);
    top: 30%;
    right: -10%;
    animation: aurora-drift-2 30s ease-in-out infinite;
}

.aurora-3 {
    width: 450px;
    height: 450px;
    background: var(--aurora-3);
    bottom: -5%;
    left: 20%;
    animation: aurora-drift-3 22s ease-in-out infinite;
}

@keyframes aurora-drift-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, 60px) scale(1.1); }
    66% { transform: translate(-40px, 30px) scale(0.95); }
}

@keyframes aurora-drift-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, -80px) scale(1.05); }
    66% { transform: translate(30px, 40px) scale(1.1); }
}

@keyframes aurora-drift-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -40px) scale(1.08); }
}

/* --- GRAIN OVERLAY --- */
.grain {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.8' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
    background-size: 256px 256px;
}

/* --- FLOATING GLASS ORBS --- */
.glass-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glass-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.02) 50%,
        transparent 70%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    will-change: transform;
}

.orb-a {
    width: 180px;
    height: 180px;
    top: 12%;
    left: 8%;
    animation: orb-float-1 28s ease-in-out infinite;
}

.orb-b {
    width: 120px;
    height: 120px;
    top: 45%;
    right: 6%;
    animation: orb-float-2 24s ease-in-out infinite;
}

.orb-c {
    width: 220px;
    height: 220px;
    bottom: 15%;
    left: 15%;
    opacity: 0.6;
    animation: orb-float-3 32s ease-in-out infinite;
}

.orb-d {
    width: 90px;
    height: 90px;
    top: 25%;
    right: 20%;
    animation: orb-float-1 20s ease-in-out infinite reverse;
}

.orb-e {
    width: 150px;
    height: 150px;
    bottom: 30%;
    right: 12%;
    opacity: 0.5;
    animation: orb-float-2 26s ease-in-out infinite reverse;
}

@keyframes orb-float-1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -40px) rotate(3deg); }
    50% { transform: translate(-20px, -60px) rotate(-2deg); }
    75% { transform: translate(15px, -25px) rotate(4deg); }
}

@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(-35px, 25px); }
    66% { transform: translate(20px, -30px); }
}

@keyframes orb-float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.05); }
}

/* --- GLASS UTILITY --- */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

.glass:hover {
    border-color: var(--border-hover);
}

.glass-dark {
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

/* --- NAVIGATION --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px var(--gutter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s var(--ease);
}

.nav.scrolled {
    padding: 14px var(--gutter);
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.logo-bracket {
    color: var(--accent-1);
    font-weight: 300;
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: var(--container);
    margin: 0 auto;
    padding: 120px var(--gutter) 80px;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 10px;
    border-radius: 100px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.15);
    margin-bottom: 36px;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-4);
    border-radius: 50%;
    position: relative;
}

.badge-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent-4);
    opacity: 0;
    animation: pulse-ring 2.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(2.5); opacity: 0; }
}

.badge-text {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--accent-4);
    letter-spacing: 0.04em;
}

.hero-title {
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.title-gradient {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-move 8s ease-in-out infinite;
}

@keyframes gradient-move {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-tagline {
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.hero-sub {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.35s var(--ease);
}

.btn-primary {
    background: var(--accent-1);
    color: white;
}

.btn-primary:hover {
    background: #6b5de6;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(124, 110, 240, 0.3);
}

.btn-primary svg {
    transition: transform 0.3s var(--ease);
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-glass {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* --- TERMINAL --- */
.hero-terminal {
    flex: 0 0 420px;
}

.terminal {
    background: rgba(12, 12, 18, 0.8);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

.terminal-dots {
    display: flex;
    gap: 7px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #28ca42; }

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-tertiary);
    margin-left: auto;
}

.terminal-body {
    padding: 20px;
    min-height: 220px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.7;
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.t-prompt {
    color: var(--accent-4);
    font-weight: 500;
}

.t-command {
    color: var(--text-primary);
}

.t-cursor {
    color: var(--accent-1);
    animation: cursor-blink 1s step-end infinite;
    font-size: 0.9em;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.terminal-output {
    margin-top: 12px;
    color: var(--text-secondary);
}

.terminal-output .t-line {
    margin-bottom: 4px;
    opacity: 0;
    transform: translateY(4px);
    animation: line-appear 0.3s var(--ease) forwards;
}

.t-key {
    color: var(--accent-2);
}

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

.t-highlight {
    color: var(--accent-3);
}

@keyframes line-appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SECTION SHARED --- */
.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.section-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-1);
    letter-spacing: 0.05em;
}

.section-line {
    width: 40px;
    height: 1px;
    background: var(--border);
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

/* --- ABOUT --- */
.about {
    position: relative;
    z-index: 2;
    padding: var(--section-gap) 0;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
}

.about-title em {
    font-style: normal;
    color: var(--text-secondary);
}

.text-glow {
    color: var(--accent-2);
    text-shadow: 0 0 30px rgba(86, 196, 251, 0.3);
}

.about-body p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 18px;
}

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

.about-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.metric-card {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.4s var(--ease);
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.metric-value {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
}

.metric-card:nth-child(1) .metric-value { color: var(--accent-1); }
.metric-card:nth-child(2) .metric-value { color: var(--accent-2); }
.metric-card:nth-child(3) .metric-value { color: var(--accent-3); }
.metric-card:nth-child(4) .metric-value { color: var(--accent-4); }

.metric-label {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* --- SKILLS — BENTO GRID --- */
.skills {
    position: relative;
    z-index: 2;
    padding-bottom: var(--section-gap);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 14px;
}

.bento-item {
    padding: 32px;
    transition: all 0.4s var(--ease);
    overflow: hidden;
    position: relative;
}

.bento-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.bento-lg {
    grid-column: span 2;
}

.bento-md {
    grid-column: span 1;
}

.bento-sm {
    grid-column: span 1;
}

.bento-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.bento-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.bento-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.3s var(--ease);
    cursor: default;
}

.pill:hover {
    background: rgba(124, 110, 240, 0.12);
    border-color: rgba(124, 110, 240, 0.2);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* --- PROJECTS --- */
.projects {
    position: relative;
    z-index: 2;
    padding-bottom: var(--section-gap);
}

.project-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.project-card {
    padding: 36px;
    transition: all 0.4s var(--ease);
    position: relative;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.project-featured {
    grid-column: 1 / -1;
    border-color: rgba(124, 110, 240, 0.15);
    background: linear-gradient(135deg, rgba(124, 110, 240, 0.06), rgba(86, 196, 251, 0.04));
}

.project-meta-card {
    border-style: dashed;
    border-color: rgba(255, 255, 255, 0.1);
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.project-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(124, 110, 240, 0.12);
    color: var(--accent-1);
}

.project-stack {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-tertiary);
    letter-spacing: 0.02em;
}

.project-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.project-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-tertiary);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-live {
    background: var(--accent-4);
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.status-dev {
    background: var(--accent-2);
    box-shadow: 0 0 8px rgba(86, 196, 251, 0.4);
}

/* --- PROJECT CTA --- */
.project-cta {
    text-align: center;
    margin-top: 36px;
}

/* --- BUILT WITH AI --- */
.ai-built {
    position: relative;
    z-index: 2;
    padding-bottom: var(--section-gap);
}

.ai-built-content {
    padding: clamp(40px, 6vw, 72px);
}

.ai-badge-row {
    margin-bottom: 28px;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(86, 196, 251, 0.08);
    border: 1px solid rgba(86, 196, 251, 0.15);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--accent-2);
}

.ai-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    max-width: 600px;
}

.ai-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 620px;
    margin-bottom: 16px;
}

.ai-desc strong {
    color: var(--accent-2);
    font-weight: 600;
}

.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
    min-width: 160px;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-1);
    font-weight: 600;
    padding-top: 2px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.step-content p {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.step-connector {
    width: 32px;
    height: 1px;
    background: var(--border);
    margin-top: 12px;
    flex-shrink: 0;
}

/* --- CONTACT --- */
.contact {
    position: relative;
    z-index: 2;
    padding-bottom: var(--section-gap);
}

.contact-content {
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 36px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.35s var(--ease);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    border-color: var(--accent-1);
}

.contact-btn:hover svg {
    transform: translateX(4px);
}

.contact-btn svg {
    transition: transform 0.3s var(--ease);
    color: var(--text-tertiary);
}

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

.contact-location {
    margin-top: 24px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

/* --- FOOTER --- */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 2;
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 0.78rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

.footer-sep {
    opacity: 0.3;
}

/* --- SCROLL REVEAL --- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* stagger children inside bento */
.bento-grid [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.bento-grid [data-reveal]:nth-child(2) { transition-delay: 60ms; }
.bento-grid [data-reveal]:nth-child(3) { transition-delay: 120ms; }
.bento-grid [data-reveal]:nth-child(4) { transition-delay: 180ms; }
.bento-grid [data-reveal]:nth-child(5) { transition-delay: 240ms; }
.bento-grid [data-reveal]:nth-child(6) { transition-delay: 300ms; }

.project-list [data-reveal]:nth-child(1) { transition-delay: 0ms; }
.project-list [data-reveal]:nth-child(2) { transition-delay: 80ms; }
.project-list [data-reveal]:nth-child(3) { transition-delay: 160ms; }
.project-list [data-reveal]:nth-child(4) { transition-delay: 240ms; }
.project-list [data-reveal]:nth-child(5) { transition-delay: 320ms; }
.project-list [data-reveal]:nth-child(6) { transition-delay: 400ms; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        gap: 48px;
        padding-top: 130px;
    }
    
    .hero-terminal {
        flex: 0 0 auto;
        width: 100%;
        max-width: 480px;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .bento-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .bento-lg {
        grid-column: 1 / -1;
    }
    
    .project-list {
        grid-template-columns: 1fr;
    }
    
    .project-featured {
        grid-column: auto;
    }
    
    .nav-links {
        display: none;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 20px var(--gutter);
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 20px;
    }
    
    .step-connector {
        display: none;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
    
    .about-metrics {
        grid-template-columns: 1fr;
    }
    
    .bento-grid {
        grid-template-columns: 1fr;
    }
    
    .bento-lg,
    .bento-md {
        grid-column: auto;
    }
}
