/* ==========================================================================
   Aniekan Etim Portfolio Design Engine
   Design System Archetype: Premium Minimalist Dark / High-Fidelity Motion
   ========================================================================== */

/* 1. Global Property Overrides & Variable Tokens */
:root {
    --bg-base: #0a0a0c;
    --bg-surface: #121216;
    --bg-surface-hover: #1a1a22;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    --accent-glow: #4f46e5;
    --accent-gradient: linear-gradient(135deg, #a78bfa 0%, #6366f1 50%, #3b82f6 100%);
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-focus: rgba(99, 102, 241, 0.4);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Ambient Visual Backdrop Controls — Luxury Breathing Matrix */
.ambient-glow {
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 90vw;
    height: 60vh;
    background: radial-gradient(
        circle, 
        rgba(79, 70, 229, 0.12) 0%, 
        rgba(167, 139, 250, 0.04) 40%, 
        rgba(0, 0, 0, 0) 70%
    );
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
    animation: luxuryBreathing 12s ease-in-out infinite alternate;
    will-change: transform, opacity;
}

/* Secondary deep glow element for layered parallax color depth */
body::before {
    content: '';
    position: fixed;
    bottom: -10%;
    right: -10%;
    width: 50vw;
    height: 50vh;
    background: radial-gradient(circle, rgba(10, 14, 223, 0.05) 0%, rgba(10, 14, 223, 0.05) 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    animation: secondaryGlowShift 16s ease-in-out infinite alternate;
}

/* High-Fidelity Performance-Safe Micro-Motion Gradients */
@keyframes luxuryBreathing {
    0% {
        opacity: 0.7;
        transform: translateX(-50%) translateY(0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translateX(-48%) translateY(3%) scale(1.08);
    }
    100% {
        opacity: 0.6;
        transform: translateX(-52%) translateY(-2%) scale(0.95);
    }
}

@keyframes secondaryGlowShift {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    100% {
        transform: translate(-5%, -5%) scale(1.15);
        opacity: 0.8;
    }
}


/* 2. Structured Layout Containers */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(20, 20, 100, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Navigation Row Layout Alignment Upgrades
   ========================================================================== */
.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 1.25rem 4rem; 
    display: flex;
    justify-content: space-between; 
    align-items: center;
}

/* ==========================================================================
   Premium Weighted Biography Intro Text with Drop Glow Shadows
   ========================================================================== */
.hero-subtext {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #959ab7; /* change to #ffffff for bright white */
    font-weight: 700; 
    line-height: 1.6;
    letter-spacing: -0.01em;
    max-width: 820px;
    margin: 0 auto 3.5rem auto;
    
    /* Advanced multi-layered text shadow system creating a soft background ambient glow */
    text-shadow: 
        0px 2px 10px rgba(0, 0, 0, 0.9), 
        0px 4px 20px rgba(99, 102, 241, 0.25), 
        0px 10px 40px rgba(0, 0, 0, 0.8);
}


.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-text span {
    color: var(--text-secondary);
    font-weight: 450;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-cta) {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

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

/* Action Buttons */
.btn-cta {
    background: var(--text-primary);
    color: var(--bg-base);
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* 3. Section Specific Layout Configurations */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
    position: relative;
    z-index: 2;
}

.section-header {
    max-width: 600px;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ==========================================================================
   Advanced Premium Hero Layout & Animation Framework
   ========================================================================== */

/* 1. Canvas Vector Space Positioning */
#hero-particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.65;
}

.hero-section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding-top: 4rem;
    background: radial-gradient(circle at 50% 30%, rgba(221, 234, 39, 0.05) 0%, rgba(10, 10, 12, 0) 60%);
}

.hero-wrapper {
    width: 100%;
    min-width: 0; /* stops the full-width marquee from stretching the hero past the screen on phones */
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    z-index: 5;
}

/* 2. Glassmorphic Active Indicator Pill */
.role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(74, 74, 109, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(152, 216, 22, 0.08);
    padding: 0.6rem 1.25rem;
    border-radius: 99px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.03em;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(225, 204, 13, 0.2);
}

.pulse-indicator {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.pulse-indicator::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #10b981;
    border-radius: 50%;
    animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

/* 3. High-Fidelity Split-Text Masks */
.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5.5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.headline-row {
    display: block;
    overflow: hidden;
    margin-bottom: 0.2rem;
}

.word-mask {
    display: inline-block;
    animation: revealText 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform: translateY(100%);
}

@keyframes revealText {
    to { transform: translateY(0); }
}

/* Gradient text (used by .text-gradient in the HTML but was never defined) */
.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Staggered execution deltas for text mask indices */
.headline-row:nth-child(1) .word-mask { animation-delay: 0.1s; }
.headline-row:nth-child(2) .word-mask { animation-delay: 0.2s; }
.headline-row:nth-child(3) .word-mask { animation-delay: 0.3s; }

/* ==========================================================================
   Advanced Infinite Horizontal Marquee Track System & Neon Backdrop Matrix
   ========================================================================== */

.marquee-viewport-container {
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    margin: 2.5rem 0 3.5rem 0;
    padding: 1rem 0;
    pointer-events: auto;
    /* Smooth edge vignette mask to fade pills cleanly at the view edges */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.marquee-rolling-track {
    display: flex;
    white-space: nowrap;
    gap: 1.5rem;
    width: max-content;
    padding-right: 1.5rem; /* same as the gap, so the -50% loop joins seamlessly */
    animation: streamScrollFromRight 35s linear infinite;
    will-change: transform;
}

/* Pause marquee movement smoothly on hover to encourage interaction */
.marquee-viewport-container:hover .marquee-rolling-track {
    animation-play-state: paused;
}

.premium-neon-pill {
    /* Set up strict flexbox alignment matrix to lock assets center-center */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* Collapses the container size down dynamically to wrap text perfectly */
    width: max-content;
    height: auto;
    
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
    color: var(--text-primary);
    background: rgba(18, 18, 22, 0.85);
    
    /* Reduced padding metrics to shrink the pill shape tightly to the letters */
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    border: 1px solid rgba(59, 130, 246, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Premium Soft Light-Blue Shadow Glow Backdrop */
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.5), 
        0 0 20px rgba(59, 130, 246, 0.15);
}


.premium-neon-pill:hover {
    border-color: rgba(22, 50, 192, 0.7);
    color: #93c5fd;
    transform: translateY(-2px) scale(1.02);
    /* Intensify blue lighting on element highlight states */
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.6), 
        0 0 30px rgba(20, 60, 237, 0.4);
}

/* Hardware accelerated translation offsets */
@keyframes streamScrollFromRight {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0); /* Shifts exactly halfway through the duplicate joint */
    }
}


.domain-pill:hover {
    background: rgba(163, 161, 9, 0.05);
    border-color: rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
    transform: translateY(-1px);
}



/* Row that holds the two hero buttons (had no styles, so the buttons touched each other) */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

/* 5. Precision Weighted Call-to-Actions */
.btn-primary-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--text-primary);
    color: var(--bg-base);
    text-decoration: none;
    padding: 1rem 2.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    border: 1px solid var(--text-primary);
}

.btn-primary-premium svg {
    transition: var(--transition-smooth);
}

.btn-primary-premium:hover {
    background: transparent;
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(35, 53, 241, 0.15);
}

.btn-primary-premium:hover svg {
    transform: translateY(2px);
}

.btn-secondary-premium {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    text-decoration: none;
    padding: 1rem 2.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-secondary-premium:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ==========================================================================
   Precision Blended Backdrop Layer Configurations
   ========================================================================== */

/* Selected Projects Container with Premium Blended Background Image */
.projects-section {
    position: relative;
    background: 
        linear-gradient(180deg, rgba(14, 14, 25, 0.95) 0%, rgba(13, 13, 20, 0.92) 100%),
        url('./workspace-backdrop.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* Parallax movement effect when scrolling */
    background-blend-mode: multiply; /* Blends the desktop dark values seamlessly */
    border-bottom: 1px solid var(--border-subtle);
}

/* Core Expertise Section with Same Asset for Architectural Visual Continuity */
.skills-section {
    position: relative;
    background: 
        linear-gradient(180deg, rgba(13, 13, 18, 0.92) 0%, rgba(57, 57, 179, 0.96) 100%),
        url('./workspace-backdrop.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    background-blend-mode: multiply;
}

/* Add a subtle internal border structure overlay to ensure layout contrast is retained */
.projects-section::before, .skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 12, 0.2), transparent, rgba(12, 12, 82, 0.2));
    pointer-events: none;
    z-index: 1;
}

/* Ensure section text sits cleanly on top of the newly introduced backdrop layer */
.section-container {
    position: relative;
    z-index: 3;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-focus);
    background: var(--bg-surface-hover);
    box-shadow: 0 20px 40px rgba(25, 47, 237, 0.3);
}

.card-body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-role {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #818cf8;
    margin-bottom: 0.75rem;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
}

.card-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.card-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.project-tag {
    background: rgba(209, 191, 191, 0.02);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-weight: 500;
}

.card-action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    margin-top: auto;
}

.card-action-link span {
    transition: var(--transition-smooth);
}

.project-card:hover .card-action-link {
    color: #a78bfa;
}

.project-card:hover .card-action-link span {
    transform: translate(2px, -2px);
}

/* 5. Core Expertise Component Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.skill-card {
    border-left: 2px solid var(--border-subtle);
    padding: 0.5rem 0 0.5rem 2rem;
    transition: var(--transition-smooth);
}

.skill-card:hover {
    border-color: #6366f1;
}

.skill-icon {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.skill-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.skill-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 6. Contact Layout & System Footer */
.contact-section {
    background: #060608;
    border-top: 1px solid var(--border-subtle);
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.contact-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.contact-left p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.contact-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.meta-link {
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 0.25rem;
    transition: var(--transition-smooth);
}

.meta-link:hover {
    border-color: var(--text-primary);
}

.contact-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    border-top: 1px solid var(--border-subtle);
    padding-top: 3rem;
}

.social-links-container {
    display: flex;
    gap: 2.5rem;
}

.social-anchor {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.social-anchor:hover {
    color: var(--text-primary);
}

.copyright-notice {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* System Engine Feedback States */
.loading-state, .error-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    color: var(--text-secondary);
    border: 1px dashed var(--border-subtle);
    border-radius: 8px;
    font-size: 0.95rem;
}

/* 7. Precision Media Query Interventions */
@media (min-width: 768px) {
.footer-wrapper {
flex-direction: row;
justify-content: space-between;
align-items: flex-start;
}
.contact-right {
border-top: none;
padding-top: 0;
align-items: flex-end;
text-align: right;
}
}
@media (max-width: 640px) {
.nav-links {
display: none; /* Simplifies layout for small viewports */
}
.hero-actions {
flex-direction: column;
width: 100%;
}
.btn-primary-premium, .btn-secondary-premium {
width: 100%;
text-align: center;
}
}

/* ==========================================================================
   Premium Grid-Card Showcase Architecture Matrix
   ========================================================================== */

.expertise-showcase-section {
    background: #0a0a0c;
    position: relative;
    z-index: 2;
}

.expertise-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.expertise-showcase-card {
    background: rgba(18, 18, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertise-showcase-card:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(28, 28, 94, 0.7);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-text-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #818cf8;
}

.expertise-showcase-card h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
}

.expertise-showcase-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Integrated Micro-Browser Screenshot Container Box */
.card-mockup-display-box {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #141419;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    margin-top: auto;
}

.window-chrome-bar {
    height: 34px;
    background: #1c1c24;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 1rem;
}

.dot-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot-btn.red { background: #ef4444; }
.dot-btn.yellow { background: #eab308; }
.dot-btn.green { background: #22c55e; }

.mockup-screenshot-area {
    width: 100%;
    height: calc(100% - 34px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

/* Premium Gradient fallbacks until you link your custom asset paths */
.grench-theme { background: linear-gradient(135deg, #1e1b4b 0%, #311042 100%); }
.stovest-theme { background: linear-gradient(135deg, #064e3b 0%, #111827 100%); }
.mary-theme { background: linear-gradient(135deg, #172554 0%, #1e1b4b 100%); }
.kasaja-theme { background: linear-gradient(135deg, #7c2d12 0%, #311042 100%); }

.mockup-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.4);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Precision adjustment variables for smaller screen configurations */
@media (max-width: 640px) {
    .expertise-showcase-grid {
        grid-template-columns: 1fr;
    }
    .expertise-showcase-card {
        padding: 1.5rem;
    }
}

/* ===== Hero portrait layout (responsive) ===== */
.hero-layout{width:100%;max-width:1280px;margin:0 auto;padding:0 2rem;display:flex;flex-direction:column-reverse;align-items:center;position:relative;z-index:5}
.hero-layout .hero-wrapper{max-width:1000px;padding:2rem 0 4rem}
.hero-photo{margin:0;position:relative;isolation:isolate;width:min(88%,460px);flex:none;padding-top:1rem}
.hero-photo::before{content:"";position:absolute;inset:8% -10% 0;z-index:-1;background:radial-gradient(closest-side,rgba(99,102,241,.35),rgba(168,85,247,.15) 55%,transparent 75%);filter:blur(20px)}
.hero-photo img{display:block;width:100%;height:auto;
  -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 72%,transparent 100%),linear-gradient(to right,transparent 0,#000 12%,#000 88%,transparent 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to bottom,#000 0,#000 72%,transparent 100%),linear-gradient(to right,transparent 0,#000 12%,#000 88%,transparent 100%);
  mask-composite:intersect}
@media (min-width:960px){
  .hero-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:2rem;align-items:center}
  .hero-layout .hero-wrapper{text-align:left;margin:0;padding:4rem 0}
  .hero-layout .hero-subtext{margin-left:0;margin-right:0}
  .hero-layout .hero-actions{justify-content:flex-start}
  .hero-photo{width:min(100%,520px,86vh);justify-self:end}
}
@media (max-width:640px){.hero-layout{padding:0 1rem}.hero-photo{width:min(80%,340px)}}
.hero-section{overflow-x:clip}

/* ===== "What I Can Do" image carousels: 4 slides each, auto roll in/out, different directions ===== */
.expertise-showcase-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr))}
.expertise-showcase-card,.card-text-content{min-width:0}
.mk{display:block!important;overflow:hidden;position:relative;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:clamp(.6rem,1.3vw,.78rem);color:#cbd5e1}
.mk-track{display:flex;width:500%;height:100%;animation:mkH 16s cubic-bezier(.65,0,.35,1) infinite}
.mk-up .mk-track,.mk-down .mk-track{flex-direction:column;width:100%;height:500%;animation-name:mkV}
.mk-right .mk-track{animation-name:mkH;animation-direction:reverse}
.mk-down .mk-track{animation-name:mkV;animation-direction:reverse}
.mk:hover .mk-track{animation-play-state:paused}
.sl{flex:0 0 20%;position:relative;display:flex;align-items:center;justify-content:center;padding:2.2rem 1rem 1rem;box-sizing:border-box;overflow:hidden}
.mk-up .sl,.mk-down .sl{flex:0 0 20%;width:100%}
.sl img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cap{position:absolute;top:.6rem;left:.8rem;font:600 .68rem/1 Inter,system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.55)}
@keyframes mkH{0%,20%{transform:translateX(0)}25%,45%{transform:translateX(-20%)}50%,70%{transform:translateX(-40%)}75%,95%{transform:translateX(-60%)}100%{transform:translateX(-80%)}}
@keyframes mkV{0%,20%{transform:translateY(0)}25%,45%{transform:translateY(-20%)}50%,70%{transform:translateY(-40%)}75%,95%{transform:translateY(-60%)}100%{transform:translateY(-80%)}}
.ui{width:92%;max-width:420px}
.ui i{font-style:normal}.k{color:#c084fc}.f{color:#60a5fa}.s{color:#fbbf24}.o{color:#94a3b8}.ok{color:#22c55e;font-style:normal}
.code{background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.08);border-radius:8px;padding:.8em 1em}
.code p{margin:.35em 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.deploy{text-align:center;font-family:Inter,system-ui,sans-serif;display:flex;flex-direction:column;align-items:center;gap:.4em}
.deploy .ring{width:2.6em;height:2.6em;border-radius:50%;background:#22c55e;color:#04130a;display:grid;place-items:center;font-weight:800;font-size:1.2em}
.deploy b{font-size:1.1em;color:#fff}.deploy span{color:#94a3b8}
.pb{width:70%;height:6px;border-radius:9px;background:rgba(255,255,255,.12);overflow:hidden}.pb u{display:block;height:100%;width:100%;background:#22c55e}
.chat{display:flex;flex-direction:column;gap:.5em;font-family:Inter,system-ui,sans-serif}
.m{max-width:85%;padding:.5em .8em;border-radius:12px}.m.u{align-self:flex-end;background:#4f46e5;color:#fff}.m.a{align-self:flex-start;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.1)}
.list{display:flex;flex-direction:column;gap:.45em;font-family:Inter,system-ui,sans-serif}
.list div{display:flex;justify-content:space-between;padding:.5em .8em;border-radius:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08)}
.list em{font-style:normal;color:#34d399}
.spark{font-family:Inter,system-ui,sans-serif;text-align:center}.spark b{display:block;font-size:2.2em;color:#fff}.spark span{color:#94a3b8}.spark svg{width:100%;height:3.2em;margin-top:.6em}
.bars>div,.perf>div{display:grid;grid-template-columns:4em 1fr 2.8em;align-items:center;gap:.6em;margin-bottom:.6em}
.bars u,.perf u{display:block;height:.75em;border-radius:99px;background:linear-gradient(90deg,#6366f1,#22d3ee)}.perf u.g{background:#22c55e}
.bars em,.perf em{font-style:normal;color:#94a3b8;text-align:right}
.er{display:flex;align-items:center;justify-content:center;gap:0}
.er .t{flex:1;background:rgba(0,0,0,.45);border:1px solid rgba(255,255,255,.14);border-radius:6px;padding:.4em .6em;display:flex;flex-direction:column;gap:.2em}
.er .t b{color:#a5b4fc}.er .ln{width:1.4em;height:2px;background:#818cf8;flex:none}
.tbl{font-family:Inter,system-ui,sans-serif}.tbl>div{display:grid;grid-template-columns:1fr 1fr;padding:.5em .8em;border-radius:6px;margin-bottom:.35em;background:rgba(255,255,255,.07)}
.tbl .h{color:#94a3b8;background:none}.tbl .x{background:rgba(239,68,68,.22);color:#fecaca}.tbl .ok2{background:rgba(34,197,94,.2);color:#bbf7d0}
.dash{display:flex;gap:.5em;height:9em}.dash .side{width:18%;border-radius:6px;background:rgba(255,255,255,.1)}
.dash .main{flex:1;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:2fr 3fr;gap:.5em}.dash .main i{border-radius:6px;background:rgba(129,140,248,.5)}.dash .main b{grid-column:1/-1;border-radius:6px;background:linear-gradient(90deg,rgba(168,85,247,.5),rgba(99,102,241,.3))}
.tab2{width:55%;display:grid;grid-template-columns:1fr 1fr;gap:.5em;padding:.6em;border:2px solid rgba(255,255,255,.35);border-radius:10px;background:rgba(15,10,30,.8);height:9em}.tab2 i{border-radius:6px;background:rgba(129,140,248,.5)}
.ph{display:flex;gap:1.2em;justify-content:center;height:9em}.ph .p{width:4.8em;display:flex;flex-direction:column;gap:.4em;padding:.5em;border:2px solid rgba(255,255,255,.35);border-radius:12px;background:rgba(15,10,30,.8)}.ph i{flex:1;border-radius:4px;background:rgba(168,85,247,.5)}
.comp{display:flex;flex-wrap:wrap;gap:.7em;align-items:center;justify-content:center;font-family:Inter,system-ui,sans-serif}
.btn1{padding:.5em 1em;border-radius:8px;background:#6366f1;color:#fff}.chip{padding:.3em .8em;border-radius:99px;border:1px solid #a78bfa;color:#ddd6fe}
.tg{width:2.4em;height:1.3em;border-radius:99px;background:#22c55e;position:relative}.tg u{position:absolute;right:.15em;top:.15em;width:1em;height:1em;border-radius:50%;background:#fff}
.card2{width:100%;height:3.6em;border-radius:8px;background:linear-gradient(90deg,rgba(129,140,248,.5),rgba(168,85,247,.3))}
@media (prefers-reduced-motion:reduce){.mk-track{animation:none!important}}
.card-mockup-display-box{aspect-ratio:4/3}@media (max-width:640px){.card-mockup-display-box{aspect-ratio:1/1}.mk{font-size:.62rem}.sl{padding:2rem .6rem .6rem}}

/* ===== v3: portrait as faded backdrop (upper page only), centred bold headline, smaller card image boxes ===== */
.hero-section{overflow:hidden}
.hero-layout{position:static;display:block;max-width:1100px;padding:0 1.5rem}
.hero-layout .hero-wrapper{text-align:center;margin:0 auto;padding:4rem 0}
.hero-layout .hero-subtext{margin-left:auto;margin-right:auto}
.hero-layout .hero-actions{justify-content:center}
.hero-headline{font-size:clamp(2.8rem,7.2vw,6.2rem);font-weight:900;line-height:1.02;letter-spacing:-.03em}
.hero-photo{position:absolute;right:0;bottom:0;top:auto;height:100%;width:min(70%,860px);max-width:none;margin:0;padding:0;z-index:1;pointer-events:none;justify-self:auto;display:flex;align-items:flex-end;justify-content:flex-end}
.hero-photo::before{display:none}
.hero-photo img{width:auto;height:92%;max-width:100%;object-fit:contain;object-position:right bottom;opacity:.55;
  -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 55%,transparent 100%),linear-gradient(to right,transparent 0,#000 30%,#000 100%);
  -webkit-mask-composite:source-in;
  mask-image:linear-gradient(to bottom,#000 0,#000 55%,transparent 100%),linear-gradient(to right,transparent 0,#000 30%,#000 100%);
  mask-composite:intersect}
@media (min-width:960px){.hero-layout{display:block}.hero-layout .hero-wrapper{text-align:center;margin:0 auto}.hero-layout .hero-actions{justify-content:center}.hero-photo{width:min(70%,860px)}}
@media (max-width:640px){.hero-photo{width:100%}.hero-photo img{height:70%;opacity:.4}.hero-layout{padding:0 1rem}}
.card-mockup-display-box{aspect-ratio:16/10;max-width:400px;margin-left:auto;margin-right:auto}
.sl{padding:1.9rem .8rem .6rem}
.mk{font-size:clamp(.55rem,1vw,.68rem)}
.ui{width:88%}
.dash,.tab2,.ph{height:7em}
@media (max-width:640px){.card-mockup-display-box{aspect-ratio:4/3;max-width:100%}.mk{font-size:.58rem}}
.hero-photo{width:min(52%,700px)}
.hero-photo img{height:82%;opacity:.5}
@media (min-width:960px){.hero-photo{width:min(52%,700px)}}
@media (max-width:640px){.hero-photo{width:100%;align-items:flex-start;top:3.5rem;height:70%}.hero-photo img{height:100%;width:100%;object-position:right top;opacity:.32;
  -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 40%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0,#000 40%,transparent 100%)}}
@media (max-width:640px){.hero-photo img{object-fit:contain;object-position:right top;height:auto;max-height:100%}}
@media (max-width:640px){.hero-photo{top:5.5rem;height:60%}.hero-photo img{width:80%;margin-left:auto}}

/* ===== v4: mobile spacing + bolder, brighter text from "What I Can Do" down ===== */
.expertise-showcase-card h3,.project-card h3,.skill-card h3{font-weight:800;color:#fff}
.section-title{font-weight:800;color:#fff}
.expertise-showcase-card p,.project-card p,.skill-card p,.section-subtitle,.contact-left p{color:#d5d8ea;font-weight:500}
@media (max-width:640px){
  .section-container{padding:3.5rem .85rem}
  .section-header{margin-bottom:2rem}
  .section-title{font-size:2.1rem}
  .expertise-showcase-grid{gap:1.25rem;margin-top:1.5rem}
  .expertise-showcase-card{padding:1.1rem;border-radius:14px}
  .expertise-showcase-card h3{font-size:1.45rem}
  .expertise-showcase-card p,.project-card p,.skill-card p{font-size:1rem}
  .card-mockup-display-box{max-width:100%}
  .projects-grid{gap:1.25rem}
  .project-card{padding:1.4rem}
  .skills-grid{gap:1.5rem;grid-template-columns:1fr}
  .skill-card{padding-left:1rem}
  .contact-section .section-container{padding:3.5rem .85rem}
  .footer-wrapper{gap:2.5rem}
  .contact-left h2{font-weight:800;color:#fff}
}

/* ===== v5: use more of the laptop/desktop width ===== */
@media (min-width:641px){
  .section-container{max-width:1680px;padding:6rem clamp(1.5rem,4vw,4.5rem)}
  .section-header{max-width:760px}
  .contact-section .section-container{max-width:1680px}
  .card-mockup-display-box{max-width:520px}
}

/* ===== v6: stats, services, experience, FAQ, contact form, WhatsApp ===== */
.nav-links .nav-cv{border:1px solid rgba(255,255,255,.25);padding:.35rem .8rem;border-radius:8px}
.stats-strip{position:relative;z-index:3;border-top:1px solid var(--border-subtle);border-bottom:1px solid var(--border-subtle);background:rgba(18,18,22,.7)}
.stats-inner{max-width:1680px;margin:0 auto;padding:2rem clamp(1rem,4vw,4.5rem);display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;text-align:center}
.stat b{display:block;font:800 clamp(1.8rem,4vw,3rem)/1 var(--font-heading);background:var(--accent-gradient);-webkit-background-clip:text;background-clip:text;color:transparent}
.stat span{display:block;margin-top:.5rem;color:#d5d8ea;font-weight:600;font-size:.95rem}
@media (max-width:640px){.stats-inner{grid-template-columns:repeat(2,1fr);padding:1.5rem .85rem}}
.services-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1.5rem}
.service-card{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:14px;padding:2rem;display:flex;flex-direction:column;gap:1rem;transition:var(--transition-smooth)}
.service-card:hover{border-color:var(--border-focus);transform:translateY(-4px)}
.service-card h3{font:800 1.5rem var(--font-heading);color:#fff}
.service-card ul{list-style:none;display:flex;flex-direction:column;gap:.6rem;color:#d5d8ea;font-weight:500}
.service-card li{padding-left:1.4rem;position:relative}
.service-card li::before{content:"✓";position:absolute;left:0;color:#34d399;font-weight:800}
.btn-service{margin-top:auto;align-self:flex-start;padding:.7rem 1.2rem;border-radius:10px;background:#f3f4f6;color:#0a0a0c;font-weight:700;text-decoration:none}
.btn-service:hover{background:#fff}
.timeline{list-style:none;position:relative;max-width:900px;padding-left:1.8rem;border-left:2px solid rgba(129,140,248,.35)}
.timeline li{position:relative;padding:0 0 2.2rem 1rem}
.timeline li::before{content:"";position:absolute;left:calc(-1.8rem - 7px);top:.35rem;width:12px;height:12px;border-radius:50%;background:#818cf8;box-shadow:0 0 0 4px rgba(129,140,248,.2)}
.timeline .when{display:block;color:#a5b4fc;font-weight:700;letter-spacing:.06em;font-size:.85rem;text-transform:uppercase}
.timeline h3{font:800 1.3rem var(--font-heading);color:#fff;margin:.3rem 0}
.timeline em{display:block;color:#9ca3af;font-style:normal;font-weight:600;margin-bottom:.4rem}
.timeline p{color:#d5d8ea;font-weight:500;line-height:1.6}
.faq-list{max-width:900px;display:flex;flex-direction:column;gap:.8rem}
.faq-list details{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:12px;padding:1.1rem 1.3rem}
.faq-list summary{cursor:pointer;font-weight:700;color:#fff;font-size:1.05rem;list-style:none;display:flex;justify-content:space-between;gap:1rem}
.faq-list summary::after{content:"+";color:#a5b4fc;font-size:1.4rem;line-height:1}
.faq-list details[open] summary::after{content:"–"}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list p{margin-top:.8rem;color:#d5d8ea;font-weight:500;line-height:1.6}
.hire-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:2rem;align-items:start}
.hire-form{display:flex;flex-direction:column;gap:1rem;background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:14px;padding:1.8rem}
.hire-form label{display:flex;flex-direction:column;gap:.4rem;font-weight:700;color:#fff}
.hire-form input,.hire-form textarea{font:500 1rem var(--font-body);color:#fff;background:#0a0a0c;border:1px solid rgba(255,255,255,.15);border-radius:10px;padding:.8rem 1rem;width:100%}
.hire-form input:focus,.hire-form textarea:focus{outline:2px solid #6366f1;border-color:transparent}
.hire-form button{border:0;cursor:pointer;align-self:flex-start;font-family:inherit}
.form-status{font-weight:600;min-height:1.2em}.form-status.ok{color:#34d399}.form-status.err{color:#fca5a5}
.hire-side{display:flex;flex-direction:column;gap:1rem}
.wa-card{display:flex;flex-direction:column;gap:.3rem;padding:1.4rem;border-radius:14px;background:#25d366;color:#04130a;text-decoration:none;transition:var(--transition-smooth)}
.wa-card b{font:800 1.3rem var(--font-heading)}.wa-card span{font-weight:600}
.wa-card.alt{background:var(--bg-surface);color:#fff;border:1px solid rgba(255,255,255,.15)}
.wa-card:hover{transform:translateY(-3px)}
@media (max-width:820px){.hire-grid{grid-template-columns:1fr}}
.wa-float{position:fixed;right:1rem;bottom:1rem;z-index:50;width:56px;height:56px;border-radius:50%;background:#25d366;display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.45)}
.wa-float:hover{transform:scale(1.08)}

/* ===== v7: game + task manager carousels ===== */
.naija-theme{background:linear-gradient(135deg,#064e3b 0%,#022c22 60%,#3f3a0a 100%)}
.cloud-theme{background:linear-gradient(135deg,#0c1a3d 0%,#1e1b4b 100%)}
.gm-map{display:grid;grid-template-columns:repeat(8,1fr);gap:.3em;transform:perspective(500px) rotateX(32deg);width:78%}
.gm-map i{aspect-ratio:1;border-radius:4px;background:#15803d;box-shadow:0 .25em 0 #14532d;animation:gmPulse 4s ease-in-out infinite}
.gm-map i:nth-child(3n){background:#16a34a}.gm-map i:nth-child(5n){background:#0e7490;box-shadow:0 .25em 0 #155e75}.gm-map i.go{background:#eab308;box-shadow:0 .25em 0 #a16207}.gm-map i.gw{background:#0ea5e9}
.gm-map i:nth-child(4n){animation-delay:-1s}.gm-map i:nth-child(7n){animation-delay:-2s}
@keyframes gmPulse{50%{transform:translateY(-3px)}}
.gm-hud{font-family:Inter,system-ui,sans-serif;background:rgba(0,0,0,.4);border:1px solid rgba(234,179,8,.4);border-radius:12px;padding:1em 1.2em}
.gm-hud .who{display:flex;justify-content:space-between;color:#fff}.gm-hud .who span{color:#eab308;font-weight:800}
.gm-hud .money{font:800 1.8em var(--font-heading);color:#fde047;margin:.3em 0 .6em}
.meter{display:grid;grid-template-columns:5.5em 1fr;align-items:center;gap:.6em;margin-bottom:.4em;color:#d5d8ea}
.meter u{display:block;height:.6em;border-radius:99px;background:linear-gradient(90deg,#16a34a,#eab308)}
.gm-build{display:grid;grid-template-columns:repeat(4,1fr);gap:.6em;font-family:Inter,system-ui,sans-serif;text-align:center}
.gm-build div{padding:.8em .3em;border-radius:10px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12)}
.gm-build i{display:block;font-style:normal;font-size:1.8em}.gm-build b{color:#fff;font-size:.9em}
.gm-build .pay{grid-column:1/-1;padding:.6em;border-radius:10px;background:#eab308;color:#1c1400;font-weight:800}
.tm-list{display:flex;flex-direction:column;gap:.5em;font-family:Inter,system-ui,sans-serif}
.tm-list>div{display:grid;grid-template-columns:.7em 1fr auto;align-items:center;gap:.7em;padding:.55em .8em;border-radius:8px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.08)}
.tm-list u{width:.7em;height:.7em;border-radius:50%}.tm-list .hi{background:#ef4444}.tm-list .md{background:#f59e0b}.tm-list .lo{background:#22c55e}
.tm-list b{color:#fff;font-weight:600}.tm-list em{font-style:normal;color:#94a3b8;font-size:.85em}
.tm-list .done b{text-decoration:line-through;opacity:.6}
.tm-prog{text-align:center;font-family:Inter,system-ui,sans-serif}.tm-prog b{display:block;font:800 2.6em var(--font-heading);color:#fff}.tm-prog span{color:#94a3b8}
.tm-prog .pb{width:100%;margin:.8em 0}.tm-prog .row{display:flex;justify-content:center;gap:1.2em}.tm-prog .row i{font-style:normal;color:#d5d8ea;font-weight:600}
.chip.on{background:#6366f1;color:#fff;border-color:#6366f1}.chip.hi{border-color:#ef4444;color:#fecaca}
.tm-stack{display:flex;flex-direction:column;gap:.5em;font-family:Inter,system-ui,sans-serif;text-align:center}
.tm-stack div{padding:.6em;border-radius:8px;background:rgba(255,255,255,.1);color:#fff;font-weight:600}.tm-stack .g{background:#1a73e8}

/* ===== v8: Blockchain & Web3 ===== */
.eyebrow{display:inline-block;margin-bottom:.8rem;padding:.3rem .8rem;border-radius:99px;border:1px solid rgba(165,180,252,.4);color:#c7d2fe;font-weight:700;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase}
.web3-section{position:relative;background:radial-gradient(ellipse at top,rgba(99,102,241,.12),transparent 60%)}
.case-card{background:var(--bg-surface);border:1px solid rgba(129,140,248,.3);border-radius:16px;padding:clamp(1.1rem,3vw,2.4rem);margin-bottom:1.5rem;box-shadow:0 20px 60px rgba(0,0,0,.35)}
.case-head{display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;align-items:flex-start}
.case-head h3{font:800 clamp(1.4rem,2.6vw,2rem)/1.2 var(--font-heading);color:#fff;margin:.6rem 0 .3rem}
.case-role{color:#a5b4fc;font-weight:700}
.badge-live,.badge-dev{display:inline-block;padding:.2rem .7rem;border-radius:99px;font-weight:700;font-size:.78rem}
.badge-live{background:rgba(34,197,94,.18);color:#86efac}.badge-dev{background:rgba(245,158,11,.18);color:#fcd34d}
.case-links{display:flex;gap:.6rem;flex-wrap:wrap}
.case-links a{padding:.55rem 1rem;border-radius:10px;border:1px solid rgba(255,255,255,.25);color:#fff;font-weight:700;text-decoration:none}
.case-links a:hover{background:#fff;color:#0a0a0c}
.case-lead{margin:1rem 0 1.4rem;color:#e5e7f5;font-weight:500;line-height:1.65;font-size:1.05rem}
.case-cols{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.case-cols h4{font:800 1.1rem var(--font-heading);color:#fff;margin-bottom:.7rem}
.case-cols ul{list-style:none;display:flex;flex-direction:column;gap:.55rem;color:#d5d8ea;font-weight:500;margin:.7rem 0 1rem}
.case-cols li{padding-left:1.3rem;position:relative;line-height:1.5}
.case-cols li::before{content:"→";position:absolute;left:0;color:#818cf8;font-weight:800}
.case-cols p{color:#d5d8ea;font-weight:500;line-height:1.6}
.case-cols code,.addr-box code{font-family:ui-monospace,Menlo,Consolas,monospace;color:#c7d2fe;word-break:break-all}
.addr-box{display:grid;grid-template-columns:1fr auto;gap:.3rem .8rem;align-items:center;padding:.7rem .9rem;margin-top:.6rem;border-radius:10px;background:#0a0a0c;border:1px solid rgba(255,255,255,.12)}
.addr-box span{grid-column:1/-1;color:#9ca3af;font-weight:700;font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}
.addr-box code{font-size:.78rem}
.copy-btn{border:0;cursor:pointer;padding:.4rem .8rem;border-radius:8px;background:#4f46e5;color:#fff;font:700 .85rem var(--font-body)}
.chip-row{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.5rem 0 1rem}
.chip-row span{padding:.35rem .8rem;border-radius:99px;background:rgba(129,140,248,.15);border:1px solid rgba(129,140,248,.35);color:#e0e7ff;font-weight:600;font-size:.85rem}
.case-note{color:#d5d8ea;font-weight:500;line-height:1.6}.case-note b{color:#fff}
.case-card.slim .case-lead{margin-bottom:0}
.web3-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;padding:1.4rem 1.6rem;border-radius:14px;background:linear-gradient(90deg,rgba(99,102,241,.25),rgba(168,85,247,.2));border:1px solid rgba(129,140,248,.35);color:#fff;font-size:1.1rem}
.web3-cta .btn-service{margin:0}
@media (max-width:820px){.case-cols{grid-template-columns:1fr;gap:1.5rem}}
@media (max-width:640px){.case-card{padding:1.1rem}.addr-box{grid-template-columns:1fr}.copy-btn{justify-self:start}}

/* ===== v9: colourful backdrop from Experience down to the footer ===== */
.experience-section,.faq-section,.hire-section,.contact-section{position:relative;overflow:hidden;isolation:isolate}
.experience-section::before,.faq-section::before,.hire-section::before,.contact-section::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none}
.experience-section::before{background:
  radial-gradient(600px 400px at 85% 15%,rgba(99,102,241,.32),transparent 70%),
  radial-gradient(500px 400px at 5% 80%,rgba(168,85,247,.25),transparent 70%),
  linear-gradient(180deg,#0a0a0c 0%,#0f0c24 100%)}
.faq-section::before{background:
  radial-gradient(600px 420px at 10% 20%,rgba(14,165,233,.25),transparent 70%),
  radial-gradient(520px 420px at 95% 85%,rgba(99,102,241,.3),transparent 70%),
  linear-gradient(180deg,#0f0c24 0%,#0b1230 100%)}
.hire-section::before{background:
  radial-gradient(640px 420px at 90% 10%,rgba(236,72,153,.22),transparent 70%),
  radial-gradient(600px 460px at 5% 90%,rgba(139,92,246,.32),transparent 70%),
  linear-gradient(180deg,#0b1230 0%,#150c2e 100%)}
.contact-section{background:#0b0716}
.contact-section::before{background:
  radial-gradient(700px 380px at 50% 0%,rgba(99,102,241,.3),transparent 70%),
  radial-gradient(500px 360px at 100% 100%,rgba(168,85,247,.28),transparent 70%),
  radial-gradient(500px 360px at 0% 100%,rgba(14,165,233,.2),transparent 70%)}
/* soft dotted grid texture for depth */
.experience-section::after,.faq-section::after,.hire-section::after,.contact-section::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.5;
  background-image:radial-gradient(rgba(255,255,255,.09) 1px,transparent 1px);background-size:28px 28px;
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 30%,#000 70%,transparent);mask-image:linear-gradient(180deg,transparent,#000 30%,#000 70%,transparent)}
.faq-list details,.hire-form,.timeline li{backdrop-filter:blur(6px)}
.faq-list details,.hire-form{background:rgba(18,18,30,.72);border-color:rgba(165,180,252,.18)}
.contact-left h2,.contact-meta a{text-shadow:0 2px 20px rgba(0,0,0,.4)}

/* ===== v10: certifications, larger footer-right text ===== */
.certs{margin-top:2.5rem}
.certs-title{font:800 1.6rem var(--font-heading);color:#fff;margin-bottom:1rem}
.cert-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:1rem}
.cert{position:relative;display:flex;flex-direction:column;gap:.35rem;padding:1.1rem 1.2rem 1.1rem 1.4rem;border-radius:12px;background:rgba(18,18,30,.75);border:1px solid rgba(165,180,252,.45);box-shadow:0 0 0 1px rgba(99,102,241,.15),0 10px 30px rgba(0,0,0,.3)}
.cert::before{content:"";position:absolute;left:0;top:12px;bottom:12px;width:4px;border-radius:4px;background:var(--accent-gradient)}
.cert b{color:#fff;font:800 1.15rem var(--font-heading)}
.cert span{color:#d5d8ea;font-weight:600}
.cert i{font-style:normal;color:#a5b4fc;font-weight:700;letter-spacing:.06em}
.social-anchor{font-size:1.2rem;font-weight:700;color:#e5e7f5}
.copyright-notice{font-size:1rem;color:#aab0c6;font-weight:500}
.social-links-container{gap:1.8rem;flex-wrap:wrap;justify-content:flex-end}
@media (max-width:767px){.social-links-container{justify-content:flex-start}.social-anchor{font-size:1.1rem}}

/* ===== v11: redesigned contact section ===== */
.hire-section .section-container{padding-top:5rem;padding-bottom:5rem}
.hire-panel{position:relative;display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(1.5rem,4vw,4rem);padding:clamp(1.2rem,3.5vw,3.2rem);border-radius:28px;background:linear-gradient(135deg,rgba(30,27,75,.85),rgba(15,12,36,.9));border:1px solid rgba(165,180,252,.25);box-shadow:0 30px 90px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.08);overflow:hidden}
.hire-panel::before{content:"";position:absolute;width:520px;height:520px;right:-160px;top:-200px;background:radial-gradient(closest-side,rgba(236,72,153,.35),transparent);filter:blur(10px);pointer-events:none}
.hire-panel::after{content:"";position:absolute;width:480px;height:480px;left:-160px;bottom:-220px;background:radial-gradient(closest-side,rgba(14,165,233,.3),transparent);pointer-events:none}
.hire-left,.hire-panel .hire-form{position:relative;z-index:1}
.avail{display:inline-flex;align-items:center;gap:.6rem;padding:.4rem .9rem;border-radius:99px;background:rgba(34,197,94,.14);border:1px solid rgba(34,197,94,.4);color:#bbf7d0;font-weight:700;font-size:.9rem}
.avail i{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 0 rgba(34,197,94,.7);animation:availPulse 2s infinite}
@keyframes availPulse{70%{box-shadow:0 0 0 10px rgba(34,197,94,0)}100%{box-shadow:0 0 0 0 rgba(34,197,94,0)}}
.hire-left h2{font:800 clamp(2rem,4.2vw,3.4rem)/1.08 var(--font-heading);letter-spacing:-.03em;color:#fff;margin:1.2rem 0 1rem}
.hire-left>p{color:#d5d8ea;font-weight:500;font-size:1.08rem;line-height:1.65;max-width:520px;margin-bottom:1.8rem}
.ch-list{display:flex;flex-direction:column;gap:.75rem}
.ch{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;padding:.9rem 1.1rem;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);text-decoration:none;color:#fff;transition:var(--transition-smooth)}
.ch:hover{transform:translateX(6px);background:rgba(255,255,255,.11);border-color:rgba(165,180,252,.6)}
.ch-ic{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:rgba(129,140,248,.2);color:#c7d2fe}
.ch.wa .ch-ic{background:#25d366;color:#04130a}
.ch-tx b{display:block;font:800 1.1rem var(--font-heading)}
.ch-tx small{color:#b6bbd3;font-weight:600;font-size:.92rem;word-break:break-word}
.ch-ar{font-size:1.4rem;color:#a5b4fc;transition:var(--transition-smooth)}
.ch:hover .ch-ar{transform:translateX(4px);color:#fff}
.hire-panel .hire-form{background:rgba(8,6,22,.72);border:1px solid rgba(255,255,255,.12);border-radius:20px;padding:clamp(1.1rem,2.5vw,2rem);gap:1.1rem;backdrop-filter:blur(10px)}
.hire-form h3{font:800 1.6rem var(--font-heading);color:#fff}
.topics{border:0;display:flex;flex-wrap:wrap;gap:.5rem;min-width:0}
.topics legend{color:#b6bbd3;font-weight:700;font-size:.85rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.6rem}
.topics label{display:inline-flex;flex-direction:row}
.topics input{position:absolute;opacity:0;pointer-events:none}
.topics span{padding:.5rem 1rem;border-radius:99px;border:1px solid rgba(255,255,255,.25);color:#e5e7f5;font-weight:700;cursor:pointer;transition:var(--transition-smooth)}
.topics input:checked+span{background:var(--accent-gradient);border-color:transparent;color:#fff;box-shadow:0 6px 20px rgba(99,102,241,.45)}
.topics input:focus-visible+span{outline:2px solid #a5b4fc;outline-offset:2px}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.fld{position:relative;display:block}
.fld input,.fld textarea{width:100%;padding:1.5rem 1rem .6rem;border-radius:12px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);color:#fff;font:500 1rem var(--font-body);resize:vertical;transition:var(--transition-smooth)}
.fld span{position:absolute;left:1rem;top:1rem;color:#9ca3c4;font-weight:600;pointer-events:none;transition:all .2s ease;transform-origin:left}
.fld input:focus+span,.fld input:not(:placeholder-shown)+span,.fld textarea:focus+span,.fld textarea:not(:placeholder-shown)+span{top:.4rem;font-size:.75rem;color:#a5b4fc}
.fld input:focus,.fld textarea:focus{outline:0;border-color:#818cf8;background:rgba(99,102,241,.12);box-shadow:0 0 0 3px rgba(99,102,241,.25)}
.send-btn{display:inline-flex;align-items:center;justify-content:center;gap:.7rem;padding:1rem 1.6rem;border:0;border-radius:14px;cursor:pointer;background:var(--accent-gradient);color:#fff;font:800 1.05rem var(--font-body);box-shadow:0 12px 34px rgba(99,102,241,.5);transition:var(--transition-smooth)}
.send-btn:hover{transform:translateY(-2px);box-shadow:0 18px 44px rgba(99,102,241,.65)}
.send-btn b{transition:var(--transition-smooth)}.send-btn:hover b{transform:translateX(5px)}
.hire-panel .form-status{color:#b6bbd3;font-weight:600;font-size:.92rem}
.hire-panel .form-status.ok{color:#34d399}.hire-panel .form-status.err{color:#fca5a5}
@media (max-width:900px){.hire-panel{grid-template-columns:1fr;border-radius:22px}}
@media (max-width:560px){.row2{grid-template-columns:1fr}.hire-panel{padding:1rem}.ch{padding:.75rem .8rem;gap:.7rem}.ch-ic{width:40px;height:40px}}

/* ===== v12: designer logo, hamburger menu, calmer mobile hero ===== */
.logo-text{font-family:'Syne',var(--font-heading);font-weight:800;font-size:1.45rem;letter-spacing:-.02em;background:linear-gradient(90deg,#fff 0%,#c7d2fe 60%,#a78bfa 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
.logo-text span{font-weight:700;color:transparent;background:linear-gradient(90deg,#a78bfa,#60a5fa);-webkit-background-clip:text;background-clip:text}
.nav-toggle{display:none}
body.no-scroll{overflow:hidden}
@media (max-width:900px){
  .nav-container{justify-content:space-between;padding-left:1.1rem;padding-right:1.1rem}
  .nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:46px;height:46px;border-radius:12px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.06);cursor:pointer;padding:0 12px;z-index:120}
  .nav-toggle span{display:block;height:2px;width:100%;background:#fff;border-radius:2px;transition:transform .3s ease,opacity .2s ease}
  .menu-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .menu-open .nav-toggle span:nth-child(2){opacity:0}
  .menu-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .main-header .nav-links{display:flex!important;position:fixed;top:0;right:0;bottom:0;width:min(82vw,340px);flex-direction:column;align-items:stretch;justify-content:flex-start;gap:.3rem;padding:5.5rem 1.4rem 2rem;background:linear-gradient(180deg,#14103a,#0a0a14);border-left:1px solid rgba(165,180,252,.25);box-shadow:-20px 0 60px rgba(0,0,0,.6);transform:translateX(105%);transition:transform .35s cubic-bezier(.16,1,.3,1);z-index:110;overflow-y:auto}
  .menu-open .nav-links{transform:none}
  .main-header .nav-links a:not(.btn-cta){display:block;padding:.95rem 1rem;border-radius:12px;font-size:1.2rem;font-weight:700;color:#e5e7f5}
  .main-header .nav-links a:not(.btn-cta):hover{background:rgba(255,255,255,.08)}
  .main-header .nav-links .nav-cv{border:1px solid rgba(165,180,252,.5);text-align:center;margin-top:.6rem}
  .main-header .nav-links .btn-cta{margin-top:.8rem;text-align:center;padding:1rem;font-size:1.05rem}
  .menu-open::after{content:"";position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:100}
}
/* calmer, cleaner phone hero */
@media (max-width:640px){
  .hero-section{min-height:auto;padding-top:5.5rem}
  .hero-layout{display:flex;flex-direction:column-reverse}
  .hero-photo{position:relative;top:auto;right:auto;bottom:auto;width:100%;height:auto;max-width:none;display:flex;justify-content:center;padding:0;margin:0 0 -3.5rem}
  .hero-photo img{width:78%;height:auto;max-height:none;opacity:.9;margin:0;object-fit:contain;
    -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 55%,transparent 100%);mask-image:linear-gradient(to bottom,#000 0,#000 55%,transparent 100%)}
  .hero-layout .hero-wrapper{padding:0 0 3rem;position:relative}
  .role-badge{font-size:.72rem;padding:.55rem .9rem;margin:0 auto 1.2rem;max-width:100%;width:fit-content}
  .hero-headline{font-size:clamp(2.4rem,11.5vw,3.3rem);margin-bottom:1.2rem}
  .marquee-wrapper,.hero-marquee,[class*="marquee"]{display:none!important}
  .hero-subtext{font-size:1.02rem;font-weight:600;line-height:1.55;margin-bottom:1.6rem;color:#c3c8e0}
  .hero-actions{gap:.8rem}
  .hero-actions .btn-secondary-premium[href="#hire"]{display:none}
}
@media (max-width:900px){
  .main-header,.main-header.menu-open{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(14,12,48,.96)}
  .main-header{z-index:200}
}