/* ═══════════════════════════════════════════════════════════
   BALAJI LOGANATHAN — PORTFOLIO
   Theme: TRUE SKEUOMORPHISM
   Palette: Black & White — Monochrome
   Materials: Brushed aluminum, leather, paper, matte plastic
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
    /* Pure B&W Palette */
    --black: #000000;
    --near-black: #0a0a0a;
    --charcoal: #141414;
    --dark-gray: #1c1c1e;
    --mid-dark: #2c2c2e;
    --mid-gray: #3a3a3c;
    --gray: #636366;
    --light-gray: #8e8e93;
    --silver: #aeaeb2;
    --pale: #c7c7cc;
    --off-white: #e5e5ea;
    --near-white: #f2f2f7;
    --white: #ffffff;

    /* Semantic */
    --bg-body: #0e0e0e;
    --bg-surface: #181818;
    --bg-elevated: #222222;
    --bg-card: #1e1e1e;
    --bg-inset: #111111;

    --text-primary: #f0f0f0;
    --text-secondary: #999999;
    --text-muted: #666666;
    --text-dim: #444444;
    --text-bright: #ffffff;

    /* Accent — subtle warm white */
    --accent: #e8e8e8;
    --accent-dim: #aaaaaa;
    --accent-glow: rgba(255, 255, 255, 0.08);

    /* Material Shadows — Skeuomorphic */
    --shadow-raised: 
        0 1px 0 rgba(255,255,255,0.05) inset,
        0 4px 12px rgba(0,0,0,0.5),
        0 2px 4px rgba(0,0,0,0.3);
    --shadow-pressed:
        0 1px 0 rgba(255,255,255,0.02) inset,
        inset 0 2px 8px rgba(0,0,0,0.5),
        inset 0 1px 2px rgba(0,0,0,0.3);
    --shadow-deep:
        0 1px 0 rgba(255,255,255,0.04) inset,
        0 8px 32px rgba(0,0,0,0.6),
        0 4px 12px rgba(0,0,0,0.4),
        0 1px 3px rgba(0,0,0,0.3);
    --shadow-floating:
        0 20px 60px rgba(0,0,0,0.5),
        0 8px 24px rgba(0,0,0,0.3),
        0 1px 0 rgba(255,255,255,0.04) inset;
    --shadow-subtle:
        0 2px 8px rgba(0,0,0,0.3);
    
    /* Bevel / Emboss */
    --bevel-light: 0 1px 0 rgba(255,255,255,0.06);
    --bevel-dark: 0 -1px 0 rgba(0,0,0,0.4);

    /* Textures */
    --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    --brushed-metal: repeating-linear-gradient(
        90deg,
        rgba(255,255,255,0.01) 0px,
        rgba(255,255,255,0.02) 1px,
        transparent 1px,
        transparent 3px
    );
    --leather: repeating-linear-gradient(
        135deg,
        rgba(0,0,0,0.02) 0px,
        rgba(0,0,0,0.03) 1px,
        transparent 1px,
        transparent 4px
    );

    /* Typography */
    --font-heading: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.2s var(--ease-out);
    --t-smooth: 0.5s var(--ease-out);
    --t-slow: 0.8s var(--ease-out);

    /* Radius */
    --r-sm: 6px;
    --r-md: 10px;
    --r-lg: 16px;
    --r-xl: 24px;

    /* Spacing */
    --section-pad: 120px 0;
    --max-w: 1200px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    /* Subtle noise texture over everything */
    background-image: var(--noise);
    background-size: 256px 256px;
}

::selection {
    background: rgba(255,255,255,0.15);
    color: var(--white);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── Particle Canvas ─── */
#particle-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
}

/* ─── Scroll Reveal ─── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.scroll-reveal.slide-right { transform: translateX(-50px); }
.scroll-reveal.slide-right.revealed { transform: translateX(0); }
.scroll-reveal.slide-left { transform: translateX(50px); }
.scroll-reveal.slide-left.revealed { transform: translateX(0); }

.scroll-reveal:nth-child(2) { transition-delay: 0.08s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.16s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.24s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.32s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.40s; }


/* ═══════════════════════════════════════════════════════════
   NAVIGATION — Brushed Aluminum Bar
   ═══════════════════════════════════════════════════════════ */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 40px;
    background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
    background-image: var(--brushed-metal);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 2px 16px rgba(0,0,0,0.5);
    transition: all var(--t-smooth);
}

.nav.scrolled {
    padding: 10px 40px;
    background: linear-gradient(180deg, #161616 0%, #0e0e0e 100%);
    box-shadow: 0 4px 24px rgba(0,0,0,0.7);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
}

.nav-logo-symbol {
    color: var(--white);
    font-size: 1.3rem;
    text-shadow: 0 0 12px rgba(255,255,255,0.15);
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--r-sm);
    transition: all var(--t-fast);
    position: relative;
    letter-spacing: 0.3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%;
    width: 0; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--t-fast);
    transform: translateX(-50%);
}

.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link.active::after, .nav-link:hover::after { width: 20px; }

.nav-cta { display: flex; }

.nav-btn {
    padding: 9px 22px;
    background: var(--white);
    color: var(--black);
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: var(--r-sm);
    transition: all var(--t-fast);
    box-shadow: 
        0 1px 0 rgba(255,255,255,0.1) inset,
        0 2px 8px rgba(0,0,0,0.3);
    /* Skeuomorphic button — raised matte plastic */
    background: linear-gradient(180deg, #f5f5f5 0%, #d4d4d4 100%);
    border: 1px solid rgba(0,0,0,0.15);
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.nav-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.nav-btn:active {
    transform: translateY(0);
    background: linear-gradient(180deg, #cccccc 0%, #b8b8b8 100%);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-mobile-toggle span {
    width: 24px; height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--t-fast);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: #121212;
    background-image: var(--brushed-metal);
    padding: 24px;
    flex-direction: column;
    gap: 4px;
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--t-smooth);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; }

.mobile-link {
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--r-sm);
    transition: all var(--t-fast);
}
.mobile-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.04);
}


/* ═══════════════════════════════════════════════════════════
   SECTIONS SHARED
   ═══════════════════════════════════════════════════════════ */
.section { position: relative; z-index: 1; }

.section-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 32px;
}

.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    /* Embossed label feel */
    text-shadow: 0 1px 0 rgba(255,255,255,0.04);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 16px;
    /* Subtle emboss */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 1px 0 rgba(255,255,255,0.03);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* Section dividers — real groove */
.about-section::before,
.projects-section::before,
.contact-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(255,255,255,0.03) 100%);
}


/* ═══════════════════════════════════════════════════════════
   HERO — Command Center
   ═══════════════════════════════════════════════════════════ */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
}

/* Subtle radial vignette */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Badge — embossed metal plate */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 22px;
    background: linear-gradient(180deg, #222 0%, #1a1a1a 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--silver);
    margin-bottom: 36px;
    box-shadow: var(--shadow-raised);
    letter-spacing: 0.5px;
    /* Brushed aluminum feel */
    background-image: var(--brushed-metal);
}

.badge-dot {
    width: 8px; height: 8px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255,255,255,0.4), inset 0 1px 2px rgba(0,0,0,0.3);
    animation: dot-pulse 2.5s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(255,255,255,0.4); }
    50% { opacity: 0.4; box-shadow: 0 0 3px rgba(255,255,255,0.15); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-line { display: block; }

.hero-line-1 {
    color: var(--white);
    /* Metallic emboss effect */
    text-shadow: 
        0 1px 0 #ccc,
        0 2px 0 #bbb,
        0 3px 0 #999,
        0 4px 8px rgba(0,0,0,0.4);
}

.hero-line-2 {
    color: var(--light-gray);
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

/* Terminal line — real screen inset */
.hero-subtitle-container { margin-bottom: 24px; }

.hero-terminal-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 1rem;
    padding: 12px 24px;
    /* Inset screen look */
    background: #0a0a0a;
    border: 1px solid #222;
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-pressed);
    position: relative;
}

/* CRT scanline overlay on terminal line */
.hero-terminal-line::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-sm);
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(255,255,255,0.008) 2px,
        rgba(255,255,255,0.008) 4px
    );
    pointer-events: none;
}

.terminal-prompt {
    color: var(--white);
    font-weight: 700;
}

#typed-hero { color: var(--silver); }

.terminal-cursor {
    color: var(--white);
    animation: cursor-blink 1s step-end infinite;
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-description strong {
    color: var(--white);
    font-weight: 600;
}

/* Buttons — Skeuomorphic raised */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 56px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--r-md);
    transition: all var(--t-fast);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

/* Primary — white raised matte button */
.btn-primary {
    background: linear-gradient(180deg, #f0f0f0 0%, #cccccc 100%);
    color: var(--near-black);
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 -1px 0 rgba(0,0,0,0.1) inset,
        0 4px 12px rgba(0,0,0,0.3);
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #ffffff 0%, #d8d8d8 100%);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 8px 24px rgba(0,0,0,0.4);
}

.btn-primary:active {
    transform: translateY(0);
    background: linear-gradient(180deg, #c0c0c0 0%, #aaa 100%);
    box-shadow: var(--shadow-pressed);
}

/* Ghost button — dark recessed */
.btn-ghost {
    background: linear-gradient(180deg, #222 0%, #1a1a1a 100%);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow-raised);
    background-image: var(--brushed-metal);
}

.btn-ghost:hover {
    background: linear-gradient(180deg, #2a2a2a 0%, #222 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-deep);
}

.btn-ghost:active {
    transform: translateY(0);
    box-shadow: var(--shadow-pressed);
}

/* Stats bar — brushed aluminum plate */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 24px 40px;
    background: linear-gradient(180deg, #1c1c1c 0%, #141414 100%);
    background-image: var(--brushed-metal);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-deep);
    position: relative;
}

/* Screw holes on the stats plate */
.hero-stats::before,
.hero-stats::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: radial-gradient(circle, #333 30%, #1a1a1a 60%, #222 100%);
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}
.hero-stats::before { left: 16px; }
.hero-stats::after { right: 16px; }

.stat-item { text-align: center; }

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.stat-divider {
    width: 1px; height: 40px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.08), transparent);
}

/* Floating Cards — physical objects */
.hero-visual {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-card {
    position: absolute;
    padding: 14px 20px;
    background: linear-gradient(145deg, #222 0%, #181818 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-raised);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    animation: float 7s ease-in-out infinite;
    background-image: var(--brushed-metal);
    will-change: transform;
    contain: layout style;
}

.fc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--silver);
}
.fc-1 { top: 18%; left: 6%; animation-delay: 0s; }
.fc-2 { top: 28%; right: 8%; animation-delay: 1.8s; }
.fc-3 { bottom: 32%; left: 8%; animation-delay: 3.5s; }
.fc-4 { bottom: 22%; right: 6%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(0.5deg); }
    66% { transform: translateY(6px) rotate(-0.5deg); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
}

.mouse {
    width: 22px; height: 36px;
    border: 2px solid rgba(255,255,255,0.12);
    border-radius: 11px;
    position: relative;
}

.mouse-wheel {
    width: 3px; height: 7px;
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
    position: absolute;
    top: 7px; left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}


/* ═══════════════════════════════════════════════════════════
   ABOUT — Physical ID Card & Passport
   ═══════════════════════════════════════════════════════════ */
.about-section {
    padding: var(--section-pad);
    background: var(--bg-surface);
    background-image: var(--noise);
    position: relative;
}

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

/* Student ID Card — physical card */
.neumorph-card {
    background: linear-gradient(160deg, #222 0%, #181818 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-floating);
    overflow: hidden;
    transition: all var(--t-smooth);
    position: relative;
}

.neumorph-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-lg);
    background-image: var(--leather);
    pointer-events: none;
}

.neumorph-card:hover {
    transform: translateY(-4px) rotate(-0.5deg);
    box-shadow: 
        0 24px 64px rgba(0,0,0,0.5),
        0 12px 32px rgba(0,0,0,0.3);
}

.card-header-strip {
    height: 5px;
    background: linear-gradient(90deg, #333 0%, #555 50%, #333 100%);
    border-bottom: 1px solid rgba(0,0,0,0.3);
}

.id-card-content {
    padding: 28px;
    display: flex;
    gap: 24px;
    position: relative;
}

.id-photo-placeholder {
    width: 80px; height: 100px;
    background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--silver);
    box-shadow: var(--shadow-pressed);
    text-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.id-info { display: flex; flex-direction: column; gap: 6px; }

.id-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.id-title {
    font-size: 0.85rem;
    color: var(--silver);
    font-weight: 500;
}

.id-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.id-detail svg { color: var(--text-muted); }

.id-languages {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.lang-tag {
    padding: 4px 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 5px;
    background: rgba(255,255,255,0.08);
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--silver);
}

.id-barcode {
    padding: 16px 28px;
    border-top: 1px solid rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.barcode-lines {
    flex: 1;
    height: 30px;
    background: repeating-linear-gradient(
        90deg,
        var(--text-muted) 0px, var(--text-muted) 2px,
        transparent 2px, transparent 5px
    );
    opacity: 0.2;
    border-radius: 2px;
}

.id-barcode span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    white-space: nowrap;
}

/* About text */
.about-text-block { display: flex; flex-direction: column; gap: 32px; }

.about-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}
.about-text strong {
    color: var(--white);
    font-weight: 600;
}

.about-highlights { display: flex; flex-direction: column; gap: 12px; }

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(145deg, #1c1c1c 0%, #161616 100%);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-raised);
    transition: all var(--t-fast);
    background-image: var(--brushed-metal);
}

.highlight-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-deep);
    border-color: rgba(255,255,255,0.08);
}

.highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--silver);
}

.highlight-item strong {
    display: block;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 4px;
}

.highlight-item span {
    font-size: 0.88rem;
    color: var(--text-secondary);
}


/* ═══════════════════════════════════════════════════════════
   SKILLS — Physical Control Panel
   ═══════════════════════════════════════════════════════════ */
.skills-section {
    padding: var(--section-pad);
    background: var(--bg-body);
    background-image: var(--noise);
}

/* The control panel itself — a real metal enclosure */
.control-panel {
    background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
    border: 2px solid #2a2a2a;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-floating);
    overflow: hidden;
    position: relative;
}

/* Top and bottom bevel */
.control-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: rgba(255,255,255,0.06);
}

/* Panel header — real status bar */
.panel-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 32px;
    background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
    border-bottom: 2px solid #0a0a0a;
    box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}

/* Real LED indicators */
.panel-led {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.4);
    box-shadow: inset 0 -2px 3px rgba(0,0,0,0.4);
}

.led-green {
    background: radial-gradient(circle at 40% 35%, #fff 0%, #aaa 30%, #777 60%, #555 100%);
    box-shadow:
        0 0 4px rgba(255,255,255,0.2),
        inset 0 -2px 3px rgba(0,0,0,0.3),
        inset 0 1px 2px rgba(255,255,255,0.2);
    animation: led-pulse 3s ease-in-out infinite;
}

.led-amber {
    background: radial-gradient(circle at 40% 35%, #eee 0%, #999 30%, #666 60%, #444 100%);
    box-shadow:
        0 0 3px rgba(255,255,255,0.1),
        inset 0 -2px 3px rgba(0,0,0,0.3),
        inset 0 1px 2px rgba(255,255,255,0.15);
}

@keyframes led-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.panel-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 1px 0 rgba(0,0,0,0.5);
}

/* Skill Groups */
.skill-groups {
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.skill-group {
    padding: 20px;
    background: linear-gradient(180deg, #151515 0%, #111 100%);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-pressed);
}

.group-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    /* Engraved text look */
    text-shadow: 0 1px 0 rgba(255,255,255,0.03);
}

.group-indicator {
    width: 6px; height: 6px;
    background: var(--silver);
    border-radius: 2px;
    box-shadow: 0 0 4px rgba(255,255,255,0.1);
}

.toggle-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Real toggle switch — physical */
.toggle-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: all var(--t-fast);
    border: 1px solid transparent;
}

.toggle-switch:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.06);
}

.switch-track {
    width: 34px; height: 18px;
    background: linear-gradient(180deg, #111 0%, #1a1a1a 100%);
    border-radius: 9px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.5);
    transition: all var(--t-fast);
}

.toggle-switch.active .switch-track {
    background: linear-gradient(180deg, #333 0%, #2a2a2a 100%);
    border-color: rgba(255,255,255,0.1);
}

.switch-thumb {
    width: 14px; height: 14px;
    /* Metal knob */
    background: linear-gradient(180deg, #888 0%, #555 100%);
    border-radius: 50%;
    position: absolute;
    top: 1px; left: 1px;
    transition: all var(--t-fast);
    border: 1px solid rgba(0,0,0,0.3);
    box-shadow: 
        0 1px 3px rgba(0,0,0,0.4),
        inset 0 1px 1px rgba(255,255,255,0.3);
}

.toggle-switch.active .switch-thumb {
    left: 17px;
    background: linear-gradient(180deg, #eee 0%, #bbb 100%);
    box-shadow:
        0 0 6px rgba(255,255,255,0.15),
        0 1px 3px rgba(0,0,0,0.4),
        inset 0 1px 1px rgba(255,255,255,0.5);
}

.switch-label {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-dim);
    white-space: nowrap;
    transition: color var(--t-fast);
}

.toggle-switch.active .switch-label {
    color: var(--text-primary);
}

/* Analog Meters */
.meters-row {
    display: flex;
    justify-content: center;
    gap: 36px;
    padding: 28px 36px 40px;
    border-top: 2px solid #0a0a0a;
    box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}

.analog-meter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.meter-display {
    width: 120px;
    height: 80px;
}

.meter-svg { width: 100%; height: 100%; }

.meter-needle {
    transform-origin: 60px 70px;
    transition: transform 1.5s var(--ease-out);
}

.meter-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.meter-value {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}


/* ═══════════════════════════════════════════════════════════
   PROJECTS — File Cabinet Folders
   ═══════════════════════════════════════════════════════════ */
.projects-section {
    padding: var(--section-pad);
    background: var(--bg-surface);
    background-image: var(--noise);
    position: relative;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Each folder — real physical folder */
.project-folder {
    background: linear-gradient(160deg, #1e1e1e 0%, #161616 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.project-folder::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--r-lg);
    background-image: var(--leather);
    pointer-events: none;
    z-index: 0;
}

.project-folder:hover {
    transform: translateY(-6px) rotate(-0.3deg);
    box-shadow:
        0 24px 64px rgba(0,0,0,0.5),
        0 12px 32px rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.08);
}

.folder-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    background: linear-gradient(180deg, #252525 0%, #1c1c1c 100%);
    border-bottom: 2px solid #0a0a0a;
    box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
    position: relative;
    z-index: 1;
}

.folder-index {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
    font-weight: 600;
}

.folder-status {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    color: var(--silver);
}

.folder-content {
    padding: 28px;
    position: relative;
    z-index: 1;
}

.folder-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
}

.folder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--silver);
}

.folder-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.folder-category {
    font-size: 0.72rem;
    color: var(--silver);
    font-weight: 500;
    background: rgba(255,255,255,0.04);
    padding: 4px 10px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.06);
}

.folder-date {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-dim);
}

.folder-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.folder-description {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.folder-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.tech-tag {
    padding: 4px 11px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    /* Embossed label */
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

.folder-actions { display: flex; gap: 10px; }

.folder-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: linear-gradient(180deg, #222 0%, #1a1a1a 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-sm);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--t-fast);
    box-shadow: var(--shadow-subtle);
    background-image: var(--brushed-metal);
}

.folder-link:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-raised);
}

.folder-link:active {
    transform: translateY(0);
    box-shadow: var(--shadow-pressed);
}

.folder-link-live {
    background: linear-gradient(180deg, #e8e8e8 0%, #ccc 100%);
    color: var(--near-black);
    border-color: rgba(0,0,0,0.1);
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
}

.folder-link-live:hover {
    background: linear-gradient(180deg, #fff 0%, #ddd 100%);
    color: var(--black);
}


/* ═══════════════════════════════════════════════════════════
   TERMINAL — Vintage CRT Monitor
   ═══════════════════════════════════════════════════════════ */
.terminal-section {
    padding: var(--section-pad);
    background: var(--bg-body);
    background-image: var(--noise);
}

/* CRT monitor enclosure */
.terminal-window {
    max-width: 900px;
    margin: 0 auto;
    background: #080808;
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 3px solid #222;
    position: relative;
    /* Monitor housing — thick plastic bezel */
    box-shadow:
        0 1px 0 rgba(255,255,255,0.04) inset,
        0 -3px 0 #111,
        0 20px 60px rgba(0,0,0,0.6),
        0 8px 24px rgba(0,0,0,0.4);
}

/* Monitor top chrome — matte plastic */
.terminal-chrome {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
    border-bottom: 2px solid #0a0a0a;
    box-shadow: 0 1px 0 rgba(255,255,255,0.03) inset;
}

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

.dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.3);
}

/* B&W dots — no color */
.dot-red {
    background: radial-gradient(circle at 40% 35%, #999 0%, #555 60%, #333 100%);
    box-shadow: inset 0 -2px 3px rgba(0,0,0,0.3);
}
.dot-yellow {
    background: radial-gradient(circle at 40% 35%, #888 0%, #555 60%, #333 100%);
    box-shadow: inset 0 -2px 3px rgba(0,0,0,0.3);
}
.dot-green {
    background: radial-gradient(circle at 40% 35%, #bbb 0%, #777 60%, #444 100%);
    box-shadow: inset 0 -2px 3px rgba(0,0,0,0.3), 0 0 4px rgba(255,255,255,0.1);
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-dim);
}

/* Screen area — CRT recessed glass */
.terminal-body {
    padding: 28px;
    min-height: 400px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.8;
    overflow-y: auto;
    max-height: 500px;
    /* Inset screen */
    background: #050505;
    box-shadow: inset 0 4px 16px rgba(0,0,0,0.8);
    /* Slight green CRT glow on text */
    color: var(--off-white);
}

.terminal-line { margin-bottom: 8px; }

.t-prompt { color: var(--white); font-weight: 600; }
.t-command { color: var(--pale); }

.terminal-output { margin-top: 16px; }

.t-key { color: var(--white); }
.t-string { color: var(--silver); }
.t-number { color: var(--off-white); font-weight: 600; }
.t-bracket { color: var(--text-dim); }
.t-comment { color: var(--text-dim); font-style: italic; }

/* CRT scanline overlay */
.terminal-scanline {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent 0px,
        transparent 2px,
        rgba(255,255,255,0.006) 2px,
        rgba(255,255,255,0.006) 4px
    );
    pointer-events: none;
    z-index: 2;
}


/* ═══════════════════════════════════════════════════════════
   CONTACT — Physical Mailbox Cards
   ═══════════════════════════════════════════════════════════ */
.contact-section {
    padding: var(--section-pad);
    background: var(--bg-surface);
    background-image: var(--noise);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* Each contact card — like a physical business card */
.contact-card {
    padding: 36px 28px;
    background: linear-gradient(160deg, #1e1e1e 0%, #161616 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-deep);
    text-align: center;
    transition: all var(--t-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    background-image: var(--leather);
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-floating);
    border-color: rgba(255,255,255,0.08);
}

.contact-card-icon {
    width: 64px; height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
    border-radius: var(--r-md);
    color: var(--silver);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow-pressed);
}

.contact-card-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    /* Engraved text */
    text-shadow: 0 1px 0 rgba(255,255,255,0.03);
}

.contact-card-value {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 500;
    word-break: break-all;
    transition: color var(--t-fast);
}

.contact-card-value:hover {
    color: var(--white);
}


/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
    padding: 28px 40px;
    background: #0a0a0a;
    border-top: 2px solid #1a1a1a;
    box-shadow: 0 1px 0 rgba(255,255,255,0.02) inset;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--text-dim);
}

.footer-divider { opacity: 0.3; }


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .neumorph-card.id-card { max-width: 420px; margin: 0 auto; }
    .skill-groups { grid-template-columns: 1fr; }
    .floating-card { display: none; }
}

@media (max-width: 768px) {
    :root { --section-pad: 80px 0; }

    .nav { padding: 14px 20px; }
    .nav-links, .nav-cta { display: none; }
    .nav-mobile-toggle { display: flex; }
    .mobile-menu { display: flex; }

    .hero-section { padding: 100px 20px 60px; }
    .hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
    .hero-cta { flex-direction: column; align-items: center; }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding: 24px;
    }
    .hero-stats::before, .hero-stats::after { display: none; }
    .stat-divider { width: 40px; height: 1px; }

    .section-container { padding: 0 20px; }
    .projects-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }

    .meters-row {
        flex-wrap: wrap;
        gap: 24px;
        padding: 24px;
    }
    .skill-groups { padding: 20px; }

    .terminal-body {
        padding: 16px;
        font-size: 0.72rem;
    }

    .id-card-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .id-info { align-items: center; }

    .hero-terminal-line {
        font-size: 0.82rem;
        padding: 10px 16px;
    }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .section-title { font-size: 1.8rem; }
    .toggle-row { gap: 5px; }
    .toggle-switch { padding: 5px 9px; }
    .switch-label { font-size: 0.68rem; }
}


/* ═══════════════════════════════════════════════════════════
   EXPERIENCE & EDUCATION — Timeline
   ═══════════════════════════════════════════════════════════ */
.experience-section {
    padding: var(--section-pad);
    background: var(--bg-body);
    background-image: var(--noise);
    position: relative;
}

.experience-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(255,255,255,0.03) 100%);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

/* Vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
}

.timeline-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 28px;
    padding: 10px 18px;
    background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
    background-image: var(--brushed-metal);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-raised);
    margin-left: -10px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.03);
}

.timeline-label svg { color: var(--silver); }

.timeline-item {
    position: relative;
    margin-bottom: 36px;
    padding-left: 20px;
}

.timeline-marker {
    position: absolute;
    left: -33px;
    top: 8px;
    width: 14px;
    height: 14px;
    background: linear-gradient(180deg, #e0e0e0 0%, #999 100%);
    border-radius: 50%;
    border: 3px solid var(--bg-body);
    box-shadow: 0 0 0 2px rgba(255,255,255,0.08), 0 2px 6px rgba(0,0,0,0.4);
    z-index: 1;
}

.timeline-marker.marker-edu {
    background: linear-gradient(180deg, #aaa 0%, #666 100%);
    border-radius: 3px;
    transform: rotate(45deg);
    width: 12px;
    height: 12px;
    left: -32px;
    top: 9px;
}

.timeline-content {
    padding: 24px 28px;
    background: linear-gradient(160deg, #1e1e1e 0%, #161616 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-deep);
    transition: all var(--t-smooth);
    position: relative;
    background-image: var(--leather);
}

.timeline-content:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow-floating);
    border-color: rgba(255,255,255,0.08);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--silver);
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.4);
}

.timeline-role {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.timeline-company {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    font-weight: 500;
}

.timeline-details {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.timeline-details li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-details li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--silver);
    font-size: 0.8rem;
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}


/* ═══════════════════════════════════════════════════════════
   CERTIFICATIONS & AWARDS
   ═══════════════════════════════════════════════════════════ */
.certs-section {
    padding: var(--section-pad);
    background: var(--bg-body);
    background-image: var(--noise);
    position: relative;
}

.certs-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(255,255,255,0.03) 100%);
}

.certs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.cert-card {
    padding: 28px;
    background: linear-gradient(160deg, #1e1e1e 0%, #161616 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-deep);
    display: flex;
    gap: 20px;
    transition: all var(--t-smooth);
    background-image: var(--leather);
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-floating);
    border-color: rgba(255,255,255,0.08);
}

.cert-icon {
    font-size: 2rem;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #1a1a1a 0%, #111 100%);
    border-radius: var(--r-md);
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: var(--shadow-pressed);
}

.cert-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cert-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.cert-org {
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.cert-date {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.cert-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 4px;
}


/* ═══════════════════════════════════════════════════════════
   WIP PROJECT LINK
   ═══════════════════════════════════════════════════════════ */
.folder-link-wip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: var(--r-sm);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dim);
    box-shadow: var(--shadow-subtle);
    cursor: default;
    font-style: italic;
}


/* ═══════════════════════════════════════════════════════════
   ACCESSIBILITY — Reduced Motion
   ═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }

    .floating-card { animation: none; }
    .badge-dot { animation: none; }
    .terminal-cursor { animation: none; }
    .mouse-wheel { animation: none; }
}


/* ═══════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════ */
@media print {
    body { background: white; color: black; }
    .nav, .mobile-menu, #particle-canvas, .hero-visual,
    .scroll-indicator, .terminal-scanline, .footer { display: none; }
    .section { page-break-inside: avoid; }
    .scroll-reveal { opacity: 1; transform: none; }
    a { color: black; text-decoration: underline; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — New Sections
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .certs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .timeline { padding-left: 30px; }
    .timeline::before { left: 10px; }
    .timeline-marker { left: -28px; }
    .timeline-marker.marker-edu { left: -27px; }
    .timeline-content { padding: 20px; }
    .certs-grid { grid-template-columns: 1fr; }
    .cert-card { padding: 20px; }
    .hero-cta { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .timeline { padding-left: 24px; }
    .timeline::before { left: 6px; }
    .timeline-marker { left: -25px; width: 12px; height: 12px; }
    .timeline-marker.marker-edu { left: -24px; width: 10px; height: 10px; }
    .timeline-content { padding: 16px; }
    .timeline-role { font-size: 1rem; }
    .cert-card { flex-direction: column; align-items: center; text-align: center; }
}
