/* ========================================
   AKASH KUMAR PORTFOLIO - PUNCHY CODER STYLE
   Heavy Glassmorphism + Neon Accents
   ======================================== */

:root {
    /* Colors - Cyberpunk Dark with Neon */
    --bg-primary: transparent;
    --bg-secondary: transparent;
    --bg-tertiary: transparent;
    --bg-glass: rgba(10, 10, 15, 0.8);
    /* INCREASED OPACITY FROM 0.4 */
    --bg-glass-heavy: rgba(10, 10, 15, 0.9);
    /* INCREASED OPACITY FROM 0.7 */
    --text-primary: #ffffff;
    --text-secondary: #b8b8c8;
    --text-muted: #6b6b80;

    /* Neon Colors */
    --neon-purple: #a855f7;
    --neon-pink: #ec4899;
    --neon-blue: #3b82f6;
    --neon-cyan: #22d3ee;
    --neon-green: #22c55e;

    /* Glassmorphism */
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --glass-blur: blur(12px);
    /* OPTIMIZED FROM 20px FOR SMOOTH SCROLL */

    /* Typography - Master Kerning */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --letter-spacing-tight: -0.02em;
    --letter-spacing-mono: 0.05em;

    /* Glow Effects */
    --glow-purple: 0 0 30px rgba(168, 85, 247, 0.5);
    --glow-pink: 0 0 30px rgba(236, 72, 153, 0.5);
    --glow-cyan: 0 0 30px rgba(34, 211, 238, 0.5);

    /* Fresnel Border Gradient */
    --fresnel-border: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(168, 85, 247, 0.2) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Custom Selection */
::selection {
    background: var(--neon-purple);
    color: white;
}

/* ========================================
   TERMINAL PRELOADER
   ======================================== */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050508;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.terminal-container {
    width: 90%;
    max-width: 600px;
    font-family: var(--font-mono);
    color: var(--neon-cyan);
}

#terminal-output {
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.terminal-line {
    margin-bottom: 4px;
    opacity: 0.8;
}

.terminal-line.success {
    color: var(--neon-green);
}

.terminal-line.info {
    color: var(--neon-purple);
}

.loader-bar-wrap {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

#loader-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-cyan));
    transition: width 0.3s ease;
}

#loader-percent {
    text-align: right;
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   TACTICAL HUD
   ======================================== */

.hud {
    position: fixed;
    z-index: 999;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    pointer-events: none;
    text-transform: uppercase;
}

.hud-tl {
    top: 20px;
    left: 20px;
    text-align: left;
}

.hud-tr {
    top: 20px;
    right: 20px;
    text-align: right;
}

.hud-bl {
    bottom: 20px;
    left: 20px;
    text-align: left;
}

.hud-br {
    bottom: 20px;
    right: 20px;
    text-align: right;
}

.hud-item {
    margin-bottom: 4px;
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 6px;
    border-left: 2px solid var(--neon-purple);
}

.hud .neon-text {
    color: var(--neon-cyan);
    font-weight: 700;
}

/* ========================================
   3D CANVAS BACKGROUND
   ======================================== */

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

#noise-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    /* EMBEDDED NOISE DATA FOR ZERO REQUESTS */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    z-index: 1;
    pointer-events: none;
    animation: noise 0.2s infinite;
}

@keyframes noise {
    0% {
        transform: translate(0, 0);
    }

    10% {
        transform: translate(-1%, -1%);
    }

    20% {
        transform: translate(-2%, 1%);
    }

    30% {
        transform: translate(1%, -2%);
    }

    40% {
        transform: translate(-1%, 3%);
    }

    50% {
        transform: translate(-2%, 1%);
    }

    60% {
        transform: translate(3%, 0);
    }

    70% {
        transform: translate(0, 2%);
    }

    80% {
        transform: translate(-3%, 1%);
    }

    90% {
        transform: translate(1%, 2%);
    }

    100% {
        transform: translate(1%, 1%);
    }
}

/* ========================================
   NAVIGATION - Floating Glass
   ======================================== */

.nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 20px;
    /* REDUCED GAP FROM 32px */
    padding: 12px 24px;
    /* REDUCED PADDING FROM 16px 32px */
    background: rgba(13, 13, 18, 0.9);
    /* REDUCED TRANSPARENCY */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 100px;
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.15);
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
    letter-spacing: var(--letter-spacing-mono);
}

.nav-logo::before {
    content: '<';
    color: var(--neon-purple);
}

.nav-logo::after {
    content: '/>';
    color: var(--neon-purple);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-mono);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: var(--letter-spacing-mono);
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 48px;
    pointer-events: none;
}

.hero-content {
    max-width: 700px;
    pointer-events: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.1));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--neon-purple);
    margin-bottom: 28px;
    box-shadow: var(--glow-purple);
}

.hero-badge::before {
    content: '>';
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: var(--letter-spacing-tight);
}

.hero-title em {
    font-style: normal;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink), var(--neon-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 550px;
    margin-bottom: 40px;
}

.hero-description code {
    font-family: var(--font-mono);
    background: rgba(168, 85, 247, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--neon-cyan);
}

/* STATS */
.hero-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    padding: 20px 28px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.08));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--glow-purple);
}

.stat:nth-child(2) {
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(59, 130, 246, 0.08));
    border-color: rgba(34, 211, 238, 0.3);
}

.stat:nth-child(2):hover {
    box-shadow: var(--glow-cyan);
}

.stat:nth-child(3) {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(168, 85, 247, 0.08));
    border-color: rgba(236, 72, 153, 0.3);
}

.stat:nth-child(3):hover {
    box-shadow: var(--glow-pink);
}

.stat-value {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.stat:nth-child(2) .stat-value {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat:nth-child(3) .stat-value {
    background: linear-gradient(135deg, var(--neon-pink), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 12px;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    color: white;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-in-out;
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    position: relative;
    z-index: 1;
    padding: 100px 48px;
    background: transparent;
    will-change: transform, opacity;
    contain: paint;
    /* LAYER ISOLATION */
}

.section-dark {
    background: rgba(5, 5, 8, 0.2);
    /* REMOVED BACKDROP BLUR TO KEEP 3D SHARP */
}

.section-content {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 48px;
    transition: letter-spacing 0.3s ease;
}

/* PREVENT JUMPING DURING MATRIX SHUFFLE */
[data-matrix].shuffling {
    font-family: var(--font-mono) !important;
    font-size: 36px;
    /* SLIGHTLY SMALLER TO FIT MONO RHYTHM */
    letter-spacing: 0.1em;
    color: var(--neon-cyan);
}

.section-title::before {
    content: '## ';
    font-family: var(--font-mono);
    color: var(--neon-purple);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

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

.about-text {
    position: relative;
    padding: 32px 48px;
    /* OPTICAL PADDING RATIO */
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(236, 72, 153, 0.05));
    backdrop-filter: var(--glass-blur) saturate(1.8);
    /* ENVIRONMENTAL LIGHTING */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    /* INNER GLOW */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-text::after {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    background: var(--fresnel-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-radius: 20px;
    pointer-events: none;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--neon-cyan);
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-category {
    padding: 20px;
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.skill-category h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--neon-purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tags span {
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.08));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-primary);
}

/* ========================================
   EXPERIENCE SECTION
   ======================================== */

.timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 40px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--neon-cyan);
}

.timeline-content {
    position: relative;
    padding: 32px 48px;
    /* OPTICAL PADDING RATIO */
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.9), rgba(30, 30, 45, 0.75));
    backdrop-filter: var(--glass-blur) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-content::after {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    background: var(--fresnel-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-radius: 16px;
    pointer-events: none;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.company {
    font-family: var(--font-mono);
    color: var(--neon-pink);
    font-size: 14px;
    display: block;
    margin-bottom: 16px;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    color: var(--text-secondary);
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--neon-cyan);
}

.timeline-content strong {
    color: var(--neon-cyan);
}

.project-cards {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.project-card {
    padding: 20px;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 12px;
}

.project-card h4 {
    font-family: var(--font-mono);
    font-size: 14px;
    margin-bottom: 6px;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 8px;
}

.client {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--neon-green);
    background: rgba(34, 197, 94, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.project-tile {
    position: relative;
    padding: 40px 48px;
    /* OPTICAL PADDING RATIO */
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.08));
    backdrop-filter: var(--glass-blur) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* SPRING INTERACTION */
    will-change: transform;
}

.project-tile::after {
    content: '';
    position: absolute;
    inset: -1px;
    padding: 1px;
    background: var(--fresnel-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    border-radius: 20px;
    pointer-events: none;
}

.project-tile:hover {
    border-color: var(--neon-purple);
    transform: translateY(-6px);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.2);
}

.project-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.project-tile h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 10px;
}

.project-tile p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.project-tech {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tech span {
    padding: 4px 10px;
    background: rgba(34, 211, 238, 0.1);
    border: 1px solid rgba(34, 211, 238, 0.3);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--neon-cyan);
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-content {
    text-align: center;
    padding: 60px 80px;
    /* MASTER PADDING */
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15), rgba(236, 72, 153, 0.08));
    backdrop-filter: blur(25px) saturate(2);
    border: 1px solid transparent;
    border-image: var(--fresnel-border) 1;
    border-radius: 24px;
}

.contact-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 16px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 13px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 13px;
    background: rgba(5, 5, 8, 0.3);
    /* REDUCED TINT */
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.skill-tag {
    background: rgba(168, 85, 247, 0.1);
    color: var(--neon-cyan);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    border: 1px solid rgba(168, 85, 247, 0.3);
    font-family: var(--font-mono);
}

.timeline-org {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    color: var(--neon-purple);
    margin-bottom: 15px;
}

/* ========================================
   3D CANVAS BACKGROUND
   ======================================== */

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {

    /* HIDE CLUTTERED HUD ON MOBILE */
    .hud-tl,
    .hud-bl,
    .hud-br {
        display: none;
    }

    .hud-tr {
        top: 10px;
        right: 10px;
        font-size: 8px;
    }

    .nav {
        padding: 12px 20px;
    }

    .nav-links {
        display: none;
        /* HIDE NAV LINKS ON MOBILE TO PREVENT OVERLAP */
    }

    .hero {
        padding: 120px 20px 60px;
        text-align: center;
        align-items: center;
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.1;
    }

    .hero-stats {
        flex-direction: column;
        width: 100%;
    }

    .stat {
        width: 100%;
        padding: 15px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 24px;
        width: 100%;
        overflow-wrap: break-word;
    }

    [data-matrix].shuffling {
        font-size: 28px;
        letter-spacing: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-text {
        padding: 24px;
    }

    .timeline-item {
        display: block;
        /* KILL THE 2-COLUMN GRID ON MOBILE */
        padding-left: 0;
        margin-bottom: 30px;
    }

    .timeline-date {
        margin-bottom: 10px;
        display: block;
    }

    .timeline-content {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
        /* PREVENT PADDING FROM PUSHING WIDTH */
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card,
    .project-tile {
        padding: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .contact-links {
        flex-direction: column;
    }

    .contact-link {
        font-size: 14px;
        padding: 12px 15px;
        width: 100%;
        box-sizing: border-box;
    }
}