:root {
    --bg: #050505;
    --surface: #111;
    --text-main: #ececec;
    --text-muted: #555;
    --accent: #fff;
    --font-main: 'Inter', sans-serif;
    --font-mono: 'Space Mono', monospace; /* Tech feel */
}

/* Base Setup */
* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- 1. Embedded Base64 Noise (Zero Dependencies) --- */
body::after {
    content: "";
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    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)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 999;
}

/* --- 2. Custom Cursor System --- */
.cursor-dot, .cursor-circle {
    position: fixed; top: 0; left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none; z-index: 9999;
    border-radius: 50%;
}
.cursor-dot { width: 8px; height: 8px; background: white; }
.cursor-circle {
    width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}

/* --- Layout Components --- */
.container { max-width: 1400px; margin: 0 auto; padding: 0 5vw; }

nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 2rem 5vw; position: fixed; width: 100%; z-index: 100;
    mix-blend-mode: exclusion;
}
.logo { font-weight: 800; letter-spacing: -1px; font-size: 1.2rem; }
.nav-links a {
    text-decoration: none; color: white; margin-left: 2rem;
    position: relative; padding: 10px; display: inline-block;
}

/* --- Hero Typography --- */
.hero { height: 90vh; display: flex; flex-direction: column; justify-content: center; }
.hero h1 {
    font-size: clamp(3rem, 11vw, 9rem);
    line-height: 0.9; letter-spacing: -0.04em;
    font-weight: 800;
}
.hero-sub {
    font-family: var(--font-mono); color: var(--text-muted);
    margin-top: 2rem; display: flex; gap: 2rem; font-size: 0.85rem;
}

/* --- Infinite Marquee --- */
.marquee-wrapper {
    background: var(--text-main); color: var(--bg);
    padding: 1rem 0; overflow: hidden; white-space: nowrap;
    border-top: 1px solid #333; border-bottom: 1px solid #333;
}
.marquee-content {
    display: inline-block; animation: scroll 20s linear infinite;
    font-weight: 700; font-size: 3rem; text-transform: uppercase;
}
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- Project Grid (Brutalist Style) --- */
.project-row {
    border-top: 1px solid #222; padding: 4rem 0;
    display: flex; justify-content: space-between; align-items: flex-start;
    transition: 0.3s;
}
.project-row:hover { background: #111; padding-left: 2rem; padding-right: 2rem; }
.project-row h2 { font-size: 3rem; margin-bottom: 0.5rem; }
.project-meta { font-family: var(--font-mono); color: var(--text-muted); font-size: 0.8rem; }
.project-desc { max-width: 400px; color: #888; margin-top: 1rem; }

/* --- Magnetic Effect Class --- */
.magnetic { display: inline-block; transition: transform 0.2s cubic-bezier(0.1, 0.9, 0.2, 1); }

/* --- Contact Specifics --- */
input, textarea {
    background: transparent; border: none; border-bottom: 1px solid #333;
    width: 100%; font-size: 2rem; color: white; padding: 1rem 0;
    font-family: var(--font-main); transition: 0.3s;
}
input:focus, textarea:focus { border-color: white; outline: none; }
button.submit-btn {
    margin-top: 3rem; background: white; color: black; border: none;
    padding: 1.5rem 4rem; font-weight: bold; font-size: 1rem;
    text-transform: uppercase;
}
/* Add this to style.css to make the link behave like a block */
a.project-row {
    cursor: none; /* Keeps your custom cursor working */
    display: flex; /* Ensures the flex layout inside works */
}