﻿
/* =====================
   CSS VARIABLES & RESET
   ===================== */
:root {
    --bg: #0a0c10;
    --bg-2: #0f1117;
    --bg-3: #13161e;
    --surface: #161923;
    --surface-2: #1c2030;
    --border: rgba(255,255,255,0.07);
    --border-hover: rgba(255,255,255,0.15);
    --accent: #4f8ef7;
    --accent-dim: rgba(79,142,247,0.12);
    --accent-glow: rgba(79,142,247,0.3);
    --accent-2: #e0a84b;
    --text: #e8eaf0;
    --text-muted: #8892a4;
    --text-dim: #5a6478;
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Sora', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.2s ease;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =====================
   UTILITY
   ===================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 20px;
}

    .section-title em {
        font-style: italic;
        color: var(--accent-2);
    }

    .section-title.center {
        text-align: center;
    }

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
}

    .section-sub.center {
        text-align: center;
        margin: 0 auto 56px;
    }

/* =====================
   BUTTONS
   ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

    .btn-primary:hover {
        background: #3a7de5;
        transform: translateY(-1px);
        box-shadow: 0 6px 24px var(--accent-glow);
    }

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid var(--border-hover);
}

    .btn-outline:hover {
        border-color: var(--accent);
        color: var(--accent);
        background: var(--accent-dim);
    }

.btn-full {
    width: 100%;
    justify-content: center;
}

/* =====================
   NAVIGATION
   ===================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0;
    transition: background 0.3s, box-shadow 0.3s;
}

    .nav.scrolled {
        background: rgba(10, 12, 16, 0.95);
        backdrop-filter: blur(12px);
        box-shadow: 0 1px 0 var(--border);
    }

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.dot {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

    .nav-links a {
        font-size: 0.9rem;
        color: var(--text-muted);
        transition: color var(--transition);
    }

        .nav-links a:hover {
            color: var(--text);
        }

.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 9px 20px;
    border-radius: 7px;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
}

    .nav-cta:hover {
        background: #3a7de5 !important;
    }

    /* Keep Hire Me text white even when on the contact section
       (the .active rule otherwise blends text into its background) */
    .nav-cta.active,
    .nav-links a.nav-cta.active {
        color: #fff !important;
    }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

    .nav-hamburger span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text);
        border-radius: 2px;
        transition: all 0.3s;
    }

    .nav-hamburger.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-hamburger.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

/* =====================
   HERO
   ===================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(79,142,247,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(79,142,247,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79,142,247,0.15) 0%, transparent 65%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(79,142,247,0.08);
    border: 1px solid rgba(79,142,247,0.2);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 0.82rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.85);
    }
}

.hero-name {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    line-height: 1.05;
    margin-bottom: 12px;
}

.name-line {
    display: block;
}

    .name-line.accent {
        color: var(--accent);
    }

.hero-role {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.role-sep {
    margin: 0 8px;
    color: var(--text-dim);
}

.hero-tagline {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 500px;
}

    .hero-tagline em {
        font-style: italic;
        color: var(--text);
    }

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 0;
}

.stat {
    display: flex;
    flex-direction: column;
    padding: 0 24px 0 0;
}

    .stat strong {
        font-family: var(--font-display);
        font-size: 1.8rem;
        color: var(--text);
        line-height: 1;
    }

    .stat span {
        font-size: 0.78rem;
        color: var(--text-dim);
        margin-top: 3px;
    }

.stat-sep {
    width: 1px;
    height: 40px;
    background: var(--border);
    margin: 0 24px 0 0;
}

/* Hero Photo */
.hero-photo-wrap {
    display: flex;
    justify-content: center;
}

.hero-photo {
    position: relative;
    width: 360px;
    height: 460px;
}

/* Photo frame holds the user's image; uses object-fit: contain
   so the photo is never cropped on any side. The frame's surface
   background fills any unused space (letterbox) elegantly. */
.photo-frame {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    background: linear-gradient(140deg, var(--surface) 0%, var(--bg-3) 100%);
    border: 1.5px solid var(--border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-photo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.photo-ring {
    position: absolute;
    inset: -8px;
    border-radius: 24px;
    border: 1px solid rgba(79,142,247,0.2);
    pointer-events: none;
}

.photo-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.photo-dot-1 {
    top: 20px;
    right: -16px;
}

.photo-dot-2 {
    bottom: 40px;
    left: -16px;
    background: var(--accent-2);
}

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-dim);
    font-size: 0.75rem;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    animation: bounce 2.5s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

/* =====================
   ABOUT
   ===================== */
.about {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 64px;
    align-items: start;
    margin-top: 48px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 18px;
    font-size: 1rem;
}

    .about-text p strong {
        color: var(--text);
    }

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

    .highlight svg {
        color: var(--accent);
        flex-shrink: 0;
    }

.about-card-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: border-color var(--transition), transform var(--transition);
}

    .about-card:hover {
        border-color: var(--border-hover);
        transform: translateY(-2px);
    }

.about-card-icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.about-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.about-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =====================
   SKILLS
   ===================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.skill-group {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: border-color var(--transition);
}

    .skill-group:hover {
        border-color: var(--border-hover);
    }

.skill-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.skill-icon {
    font-size: 1.3rem;
}

.skill-group-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all var(--transition);
}

    .tag:hover {
        border-color: var(--accent);
        color: var(--accent);
    }

    .tag.tag-primary {
        background: var(--accent-dim);
        border-color: rgba(79,142,247,0.25);
        color: var(--accent);
        font-weight: 600;
    }

/* =====================
   PROJECTS
   ===================== */
.projects {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
    overflow: hidden;
    transition: border-color var(--transition);
}

    .project-card:hover {
        border-color: var(--border-hover);
    }

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 32px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.project-number {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 500;
}

.project-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.25);
    border-radius: 100px;
    padding: 3px 10px;
    font-size: 0.78rem;
    color: #4ade80;
    font-weight: 600;
}

.badge-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s infinite;
}

.badge-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.78rem;
    background: var(--bg-3);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 8px;
    background: var(--accent-dim);
    border: 1px solid rgba(79,142,247,0.25);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition);
}

    .project-link-btn:hover {
        background: var(--accent);
        color: #fff;
        border-color: var(--accent);
    }

    /* Restricted (Private Project) variant */
    .project-link-btn-restricted {
        background: transparent;
        border: 1px solid #ff7a00;
        color: #ff7a00;
        cursor: default;
    }

        .project-link-btn-restricted:hover {
            background: #ff7a00;
            border-color: #ff7a00;
            color: #fff;
        }

.project-body {
    display: grid;
    grid-template-columns: 1fr 440px;
    gap: 0;
}

.project-info {
    padding: 36px 32px;
    border-right: 1px solid var(--border);
}

.project-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 4px;
}

.project-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    margin-bottom: 28px;
}

.problem-box {
    background: rgba(79,142,247,0.05);
    border: 1px solid rgba(79,142,247,0.2);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 20px 20px 20px 24px;
    margin-bottom: 32px;
}

.problem-box-alt {
    background: rgba(224,168,75,0.05);
    border-color: rgba(224,168,75,0.2);
    border-left-color: var(--accent-2);
}

.problem-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-family: var(--font-mono);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    font-weight: 600;
}

.problem-box-alt .problem-label {
    color: var(--accent-2);
}

.problem-box p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
}

    .problem-box p strong {
        color: var(--text);
    }

.project-roles h4,
.integrations h4,
.erp-features h4,
.companies-served h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.role-card {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    transition: border-color var(--transition);
}

    .role-card:hover {
        border-color: var(--border-hover);
    }

.role-icon {
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.role-card h5 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.role-card ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.role-card li {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-left: 12px;
    position: relative;
}

    .role-card li::before {
        content: '–';
        position: absolute;
        left: 0;
        color: var(--text-dim);
    }

.integrations {
    margin-bottom: 8px;
}

.integration-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.integration-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
}

.int-icon {
    font-size: 1.2rem;
}

.integration-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 600;
}

.integration-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Project Visuals */
.project-visual {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.visual-mockup {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
}

.mockup-bar {
    background: var(--bg-3);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid var(--border);
}

    .mockup-bar span {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: var(--border-hover);
    }

.mockup-url {
    margin-left: 10px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    background: var(--bg);
    padding: 3px 12px;
    border-radius: 4px;
    flex: 1;
    text-align: center;
}

.mockup-screen {
    padding: 14px;
}

.mock-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.mock-logo {
    width: 50px;
    height: 8px;
    background: var(--accent);
    border-radius: 4px;
    opacity: 0.7;
}

.mock-nav-links {
    display: flex;
    gap: 8px;
}

    .mock-nav-links div {
        width: 28px;
        height: 6px;
        background: var(--border-hover);
        border-radius: 3px;
    }

.mock-banner {
    display: flex;
    gap: 10px;
    background: var(--surface);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
}

.mock-banner-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.mock-h1 {
    height: 10px;
    background: var(--text-dim);
    border-radius: 3px;
    width: 80%;
}

.mock-p {
    height: 7px;
    background: var(--border-hover);
    border-radius: 3px;
    width: 60%;
}

.mock-btn {
    width: 50px;
    height: 18px;
    background: var(--accent);
    border-radius: 4px;
    opacity: 0.8;
}

.mock-banner-img {
    width: 60px;
    height: 54px;
    background: var(--surface-2);
    border-radius: 6px;
    flex-shrink: 0;
}

.mock-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.mock-product-card {
    background: var(--surface);
    border-radius: 6px;
    padding: 8px;
}

.mock-img {
    height: 40px;
    background: var(--surface-2);
    border-radius: 4px;
    margin-bottom: 6px;
}

.mock-name {
    height: 5px;
    background: var(--border-hover);
    border-radius: 2px;
    margin-bottom: 4px;
}

.mock-price {
    height: 5px;
    background: rgba(79,142,247,0.3);
    border-radius: 2px;
    width: 60%;
}

/* ERP Dashboard */
.erp-dashboard-mock {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
    display: flex;
    height: 260px;
}

.erp-sidebar {
    width: 110px;
    background: var(--bg-3);
    border-right: 1px solid var(--border);
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.erp-side-item {
    padding: 8px 12px;
    font-size: 0.7rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    margin: 0 6px;
    cursor: default;
    transition: background var(--transition);
}

    .erp-side-item.active {
        background: var(--accent-dim);
        color: var(--accent);
    }

.erp-main {
    flex: 1;
    padding: 14px;
    overflow: hidden;
}

.erp-top-stats {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.erp-stat {
    flex: 1;
    background: var(--surface);
    border-radius: 6px;
    padding: 10px 12px;
    border: 1px solid var(--border);
}

.erp-stat-num {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 3px;
}

.erp-stat-label {
    font-size: 0.62rem;
    color: var(--text-dim);
}

.erp-table-mock {
    overflow: hidden;
}

.erp-table-header {
    display: grid;
    grid-template-columns: 0.6fr 1fr 1fr 0.8fr;
    gap: 6px;
    padding: 6px 8px;
    background: var(--surface-2);
    border-radius: 4px 4px 0 0;
    font-size: 0.65rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.erp-table-row {
    display: grid;
    grid-template-columns: 0.6fr 1fr 1fr 0.8fr;
    gap: 6px;
    padding: 7px 8px;
    border-bottom: 1px solid var(--border);
    font-size: 0.7rem;
    color: var(--text-muted);
    align-items: center;
}

.status {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 600;
}

    .status.done {
        background: rgba(74,222,128,0.1);
        color: #4ade80;
    }

    .status.pending {
        background: rgba(251,191,36,0.1);
        color: #fbbf24;
    }

    .status.assigned {
        background: rgba(79,142,247,0.1);
        color: var(--accent);
    }

/* Feature Flow */
.feature-flow {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.flow-step {
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
    text-align: center;
    flex: 1;
    min-width: 90px;
}

.flow-icon {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.flow-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}

.flow-sub {
    font-size: 0.68rem;
    color: var(--text-dim);
    line-height: 1.4;
}

.flow-arrow {
    color: var(--text-dim);
    font-size: 1rem;
    flex-shrink: 0;
}

/* Companies */
.company-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

    .company-tags span {
        padding: 5px 14px;
        border-radius: 6px;
        background: var(--bg-3);
        border: 1px solid var(--border);
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--text-muted);
    }

/* Impact metrics */
.impact-metrics {
    display: flex;
    gap: 24px;
}

.metric {
    display: flex;
    flex-direction: column;
}

    .metric strong {
        font-family: var(--font-display);
        font-size: 1.6rem;
        color: var(--accent);
        line-height: 1;
    }

    .metric span {
        font-size: 0.78rem;
        color: var(--text-dim);
        margin-top: 3px;
    }

/* Tech chips */
.tech-stack-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.chip {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* =====================
   EXPERIENCE
   ===================== */
.exp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-top: 48px;
}

.exp-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 28px;
}

    .exp-timeline::before {
        content: '';
        position: absolute;
        left: 6px;
        top: 8px;
        bottom: 8px;
        width: 1px;
        background: var(--border);
    }

.timeline-item {
    position: relative;
    padding-bottom: 36px;
}

    .timeline-item:last-child {
        padding-bottom: 0;
    }

.timeline-dot {
    position: absolute;
    left: -25px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent);
    border: 2px solid var(--bg-2);
    box-shadow: 0 0 0 3px var(--accent-dim);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 6px;
    font-weight: 600;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.achievements-col h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 28px;
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.achievement {
    display: flex;
    gap: 16px;
}

.ach-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ach-body h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 5px;
}

.ach-body p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =====================
   CONTACT
   ===================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    margin-top: 48px;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--transition);
}

    .contact-method:hover {
        border-color: var(--border-hover);
    }

.cm-icon {
    width: 38px;
    height: 38px;
    background: var(--accent-dim);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-method strong {
    display: block;
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 2px;
}

.contact-method a {
    font-size: 0.9rem;
    color: var(--text);
    transition: color var(--transition);
}

    .contact-method a:hover {
        color: var(--accent);
    }

/* Contact CTA Card (replaces old contact form) */
.contact-cta {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    overflow: hidden;
}

    .contact-cta::before {
        content: '';
        position: absolute;
        top: -40%;
        right: -20%;
        width: 320px;
        height: 320px;
        background: radial-gradient(circle, rgba(79,142,247,0.12) 0%, transparent 65%);
        pointer-events: none;
        z-index: 0;
    }

    .contact-cta > * {
        position: relative;
        z-index: 1;
    }

.cta-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.25);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.8rem;
    color: #4ade80;
    align-self: flex-start;
    font-weight: 600;
}

.cta-heading {
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1.15;
    color: var(--text);
}

    .cta-heading em {
        font-style: italic;
        color: var(--accent);
    }

.cta-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 6px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .cta-actions .btn {
        padding: 14px 22px;
        font-size: 0.94rem;
    }

.cta-response {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 6px;
}

.response-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.cta-response strong {
    display: block;
    font-size: 0.92rem;
    color: var(--text);
    margin-bottom: 2px;
}

.cta-response span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* =====================
   FOOTER
   ===================== */
.footer {
    background: var(--bg-3);
    border-top: 1px solid var(--border);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-brand p {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 5px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

    .footer-links a {
        font-size: 0.85rem;
        color: var(--text-muted);
        transition: color var(--transition);
    }

        .footer-links a:hover {
            color: var(--text);
        }

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-dim);
}

/* =====================
   SCROLL REVEAL
   ===================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-photo-wrap {
        display: none;
    }

    .hero-tagline {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-card-col {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .about-card {
        flex: 1;
        min-width: 200px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .project-body {
        grid-template-columns: 1fr;
    }

    .project-info {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .roles-grid {
        grid-template-columns: 1fr;
    }

    .exp-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: rgba(10,12,16,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
    }

        .nav-links.open {
            transform: translateY(0);
            opacity: 1;
            pointer-events: all;
        }

        .nav-links li {
            width: 100%;
        }

        .nav-links a {
            display: block;
            padding: 8px 0;
            font-size: 1rem;
        }

    .nav-cta {
        text-align: center;
    }

    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .feature-flow {
        gap: 8px;
    }

    .flow-arrow {
        display: none;
    }

    .flow-step {
        min-width: 80px;
    }

    .impact-metrics {
        flex-wrap: wrap;
        gap: 16px;
    }

    .contact-cta {
        padding: 28px 24px;
    }

    .cta-heading {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 16px;
    }

    .stat-sep {
        display: none;
    }

    .stat {
        padding: 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .erp-dashboard-mock {
        height: auto;
        flex-direction: column;
    }

    .erp-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 8px;
    }

    .erp-side-item {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 3rem;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .roles-grid {
        gap: 10px;
    }
}
/* =====================
   PROJECT RESPONSIVE FIX (ERP SECTION + GLOBAL MOBILE)
   ===================== */
@media (max-width: 768px) {

    /* Tighten container gutters */
    .container,
    .nav-inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    /* Stack project layout */
    .project-body {
        grid-template-columns: 1fr;
    }

    .project-info {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 24px 20px;
    }

    .project-visual {
        padding: 20px;
    }

    /* Project header stacking + tight padding */
    .project-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 18px 20px;
    }

    .project-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .project-badges {
        gap: 6px;
    }

    /* Restricted / link button takes full row & centers itself */
    .project-link-btn,
    .project-link-btn-restricted {
        width: 100%;
        justify-content: center;
        font-size: 0.82rem;
        padding: 9px 14px;
    }

    /* Project text sizes */
    .project-title {
        font-size: 1.55rem;
    }

    .project-subtitle {
        font-size: 0.82rem;
    }

    /* Problem box readable on narrow */
    .problem-box {
        padding: 16px 14px 16px 18px;
        margin-bottom: 24px;
    }

        .problem-box p {
            font-size: 0.88rem;
        }

    /* Roles grid stacks */
    .roles-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 22px;
    }

    .role-card {
        padding: 16px;
    }

    /* Companies tags */
    .company-tags {
        gap: 6px;
        margin-bottom: 22px;
    }

        .company-tags span {
            font-size: 0.76rem;
            padding: 4px 11px;
        }

    /* Feature flow (ERP steps) */
    .feature-flow {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-bottom: 22px;
    }

    .flow-arrow {
        display: none;
    }

    .flow-step {
        width: 100%;
        padding: 12px 14px;
    }

    /* ERP dashboard mock */
    .erp-dashboard-mock {
        flex-direction: column;
        height: auto;
    }

    .erp-sidebar {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding: 8px;
    }

    .erp-side-item {
        white-space: nowrap;
        font-size: 0.68rem;
    }

    .erp-main {
        padding: 12px;
    }

    .erp-top-stats {
        gap: 8px;
        margin-bottom: 12px;
    }

    .erp-stat {
        padding: 8px 10px;
    }

    .erp-stat-num {
        font-size: 0.95rem;
    }

    .erp-stat-label {
        font-size: 0.58rem;
    }

    .erp-table-header,
    .erp-table-row {
        font-size: 0.62rem;
        gap: 4px;
        padding: 6px 7px;
    }

    .status {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    /* Impact metrics */
    .impact-metrics {
        flex-wrap: wrap;
        gap: 14px;
    }

    .metric strong {
        font-size: 1.4rem;
    }

    /* Tech chips */
    .tech-stack-chips {
        gap: 6px;
    }

    .chip {
        font-size: 0.7rem;
        padding: 3px 9px;
    }

    /* Integration items */
    .integration-item {
        padding: 11px 13px;
        gap: 12px;
    }

    /* Hero polish */
    .hero-inner {
        padding: 96px 20px 64px;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .hero-actions {
        margin-bottom: 36px;
    }

    .hero-actions .btn {
        flex: 1;
        justify-content: center;
        min-width: 140px;
    }

    /* About cards become single column */
    .about-card-col {
        flex-direction: column;
    }

    /* Section spacing */
    .section {
        padding: 64px 0;
    }

    /* Section title narrows */
    .section-title.center {
        padding: 0 8px;
    }

    /* Skills card padding */
    .skill-group {
        padding: 22px;
    }

    /* Contact form padding already handled, but adjust card padding */
    .contact-method {
        padding: 12px 14px;
        gap: 12px;
    }

    /* Footer compactness */
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }
}

@media (max-width: 480px) {
    /* Even tighter on small phones */
    .container,
    .nav-inner {
        padding-left: 14px;
        padding-right: 14px;
    }

    .nav-inner {
        height: 60px;
    }

    .nav-links {
        top: 60px;
    }

    .nav-logo {
        font-size: 1.15rem;
    }

    /* Hero */
    .hero-inner {
        padding: 84px 16px 56px;
    }

    .hero-badge {
        font-size: 0.74rem;
        padding: 5px 12px;
    }

    .hero-name {
        font-size: 2.6rem;
        line-height: 1.05;
    }

    .hero-role {
        font-size: 0.85rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .hero-actions {
        gap: 10px;
        margin-bottom: 32px;
    }

    .btn {
        padding: 11px 22px;
        font-size: 0.88rem;
    }

    .stat strong {
        font-size: 1.5rem;
    }

    .stat span {
        font-size: 0.72rem;
    }

    /* Section paddings */
    .section {
        padding: 56px 0;
    }

    .section-label {
        font-size: 11px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-sub {
        font-size: 0.95rem;
    }

        .section-sub.center {
            margin-bottom: 40px;
        }

    /* About */
    .about-grid {
        gap: 32px;
        margin-top: 36px;
    }

    .about-card {
        padding: 18px;
    }

    /* Skills */
    .skills-grid {
        gap: 16px;
    }

    .skill-group {
        padding: 18px;
    }

    .tag {
        font-size: 0.78rem;
        padding: 4px 10px;
    }

    /* Projects */
    .project-card {
        margin-bottom: 28px;
    }

    .project-header {
        padding: 16px;
        gap: 10px;
    }

    .project-meta {
        gap: 8px;
    }

    .project-info {
        padding: 22px 16px;
    }

    .project-visual {
        padding: 16px;
    }

    .project-number {
        font-size: 0.72rem;
    }

    .badge-live, .badge-tag {
        font-size: 0.7rem;
        padding: 2px 8px;
    }

    .project-link-btn,
    .project-link-btn-restricted {
        font-size: 0.78rem;
        padding: 9px 12px;
    }

    .project-title {
        font-size: 1.4rem;
    }

    .project-subtitle {
        font-size: 0.78rem;
        margin-bottom: 22px;
    }

    .problem-box {
        padding: 14px 12px 14px 16px;
        margin-bottom: 22px;
    }

        .problem-box p {
            font-size: 0.85rem;
        }

    .problem-label {
        font-size: 0.72rem;
    }

    .project-roles h4,
    .integrations h4,
    .erp-features h4,
    .companies-served h4 {
        font-size: 0.78rem;
        margin-bottom: 12px;
    }

    .roles-grid {
        gap: 10px;
    }

    .role-card {
        padding: 14px;
    }

        .role-card h5 {
            font-size: 0.85rem;
        }

        .role-card li {
            font-size: 0.78rem;
        }

    .integration-item {
        padding: 10px 12px;
        gap: 10px;
    }

        .integration-item strong {
            font-size: 0.84rem;
        }

        .integration-item span {
            font-size: 0.74rem;
        }

    .company-tags span {
        font-size: 0.74rem;
        padding: 4px 10px;
    }

    .flow-step {
        padding: 11px 12px;
    }

    .flow-label {
        font-size: 0.76rem;
    }

    .flow-sub {
        font-size: 0.66rem;
    }

    .impact-metrics {
        gap: 12px;
    }

    .metric strong {
        font-size: 1.35rem;
    }

    .metric span {
        font-size: 0.72rem;
    }

    /* ERP visual mock - shrink to fit */
    .erp-side-item {
        font-size: 0.62rem;
        padding: 6px 10px;
    }

    .erp-main {
        padding: 10px;
    }

    .erp-stat {
        padding: 7px 8px;
    }

    .erp-stat-num {
        font-size: 0.85rem;
    }

    .erp-stat-label {
        font-size: 0.55rem;
    }

    .erp-table-header,
    .erp-table-row {
        font-size: 0.58rem;
        padding: 5px 6px;
        gap: 3px;
    }

    .status {
        font-size: 0.55rem;
        padding: 1px 5px;
    }

    .chip {
        font-size: 0.68rem;
        padding: 3px 8px;
    }

    /* Sonurida mock */
    .mockup-screen {
        padding: 10px;
    }

    .mockup-url {
        font-size: 0.62rem;
    }

    /* Experience timeline */
    .exp-grid {
        gap: 32px;
        margin-top: 36px;
    }

    .exp-timeline {
        padding-left: 22px;
    }

    .timeline-content h4 {
        font-size: 0.94rem;
    }

    .timeline-content p {
        font-size: 0.84rem;
    }

    .achievements-col h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .achievement {
        gap: 12px;
    }

    .ach-icon {
        font-size: 1.2rem;
    }

    .ach-body h5 {
        font-size: 0.9rem;
    }

    .ach-body p {
        font-size: 0.84rem;
    }

    /* Contact */
    .contact-grid {
        gap: 32px;
        margin-top: 36px;
    }

    .contact-info h3 {
        font-size: 1.25rem;
    }

    .contact-info > p {
        font-size: 0.9rem;
        margin-bottom: 22px;
    }

    .contact-method {
        padding: 11px 12px;
        gap: 10px;
    }

    .cm-icon {
        width: 34px;
        height: 34px;
    }

        .cm-icon svg {
            width: 17px;
            height: 17px;
        }

    .contact-method strong {
        font-size: 0.78rem;
    }

    .contact-method a {
        font-size: 0.85rem;
        word-break: break-word;
    }

    .contact-cta {
        padding: 24px 18px;
    }

    .cta-heading {
        font-size: 1.45rem;
    }

    .cta-text {
        font-size: 0.88rem;
    }

    .cta-response {
        padding: 12px 14px;
        gap: 12px;
    }

        .cta-response strong {
            font-size: 0.86rem;
        }

        .cta-response span {
            font-size: 0.76rem;
        }

    /* Footer */
    .footer {
        padding: 32px 0;
    }

    .footer-links {
        gap: 16px;
    }

        .footer-links a {
            font-size: 0.82rem;
        }

    .footer-copy {
        font-size: 0.74rem;
    }

    .footer-brand p {
        font-size: 0.78rem;
    }
}

/* Extra-small devices (≤360px) — guard against overflow */
@media (max-width: 360px) {
    .hero-name {
        font-size: 2.3rem;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .project-title {
        font-size: 1.25rem;
    }

    .project-link-btn,
    .project-link-btn-restricted {
        font-size: 0.74rem;
        padding: 8px 10px;
    }

    .badge-tag, .badge-live {
        font-size: 0.66rem;
    }

    .erp-table-header,
    .erp-table-row {
        font-size: 0.54rem;
    }
}

/* =====================
   CRITICAL OVERFLOW FIX (RAJ REFRIGERATION ERP CARD)
   Children of flex/grid containers default to min-width: auto,
   which prevents shrinking below content's intrinsic min-content
   width. This was pushing the card's inner content (problem-box
   text, impact metrics, ERP table) past the card boundary.
   ===================== */
@media (max-width: 1024px) {
    /* Allow grid/flex children to shrink properly inside the project card */
    .project-card,
    .project-body,
    .project-info,
    .project-visual,
    .problem-box,
    .impact-metrics,
    .feature-flow,
    .integration-list,
    .integration-item,
    .integration-item > div,
    .companies-served,
    .company-tags,
    .roles-grid,
    .role-card,
    .erp-dashboard-mock,
    .erp-main,
    .erp-table-mock,
    .erp-top-stats,
    .erp-stat,
    .tech-stack-chips {
        min-width: 0;
        max-width: 100%;
    }

    /* Make all card text wrap aggressively so no single
       string ever forces horizontal overflow */
    .problem-box p,
    .problem-box p strong,
    .role-card li,
    .role-card h5,
    .integration-item strong,
    .integration-item span,
    .company-tags span,
    .flow-label,
    .flow-sub,
    .metric strong,
    .metric span,
    .erp-side-item,
    .erp-stat-num,
    .erp-stat-label,
    .erp-table-header span,
    .erp-table-row span,
    .chip {
        overflow-wrap: anywhere;
        word-wrap: break-word;
        min-width: 0;
    }

    /* Force Impact Metrics into a predictable 3-col grid that fills
       the available width — flex was letting items overflow */
    .impact-metrics {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    /* ERP dashboard mock must stay inside the card */
    .erp-dashboard-mock {
        width: 100%;
        overflow: hidden;
    }

    .erp-table-mock {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .impact-metrics {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .metric {
        min-width: 0;
    }

        .metric strong {
            font-size: 1.15rem;
        }

        .metric span {
            font-size: 0.62rem;
            line-height: 1.35;
        }

    /* Companies-served tags should stay tidy */
    .company-tags span {
        font-size: 0.7rem;
        padding: 3px 9px;
    }

    /* ERP table - shrink columns more so all 4 fit */
    .erp-table-header,
    .erp-table-row {
        grid-template-columns: 0.7fr 1fr 1fr 0.9fr;
        font-size: 0.55rem;
        padding: 5px 5px;
        gap: 2px;
    }

    .status {
        font-size: 0.5rem;
        padding: 1px 4px;
    }

    .erp-stat-num {
        font-size: 0.78rem;
    }

    .erp-stat-label {
        font-size: 0.5rem;
        line-height: 1.25;
    }

    .erp-side-item {
        font-size: 0.6rem;
        padding: 5px 8px;
    }

    /* Tech chips must wrap, never overflow */
    .tech-stack-chips {
        flex-wrap: wrap;
    }

    /* Sonurida mock - tighten too */
    .mockup-screen {
        padding: 8px;
    }

    .mock-products {
        gap: 4px;
    }

    .mock-product-card {
        padding: 5px;
    }
}

@media (max-width: 360px) {
    .impact-metrics {
        gap: 6px;
    }

    .metric strong {
        font-size: 1rem;
    }

    .metric span {
        font-size: 0.58rem;
    }

    .erp-table-header,
    .erp-table-row {
        font-size: 0.5rem;
    }
}
