:root {
    --bg: #0d0d0d;
    --text: #ffffff;
    --dim: #777777;
    --accent: #f0f0f0;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    cursor: none;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* Header Fix */
nav {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 30px 5%;
    transition: all 0.4s ease;
}

/* Glass effect when scrolling */
nav.scrolled {
    padding: 15px 5%;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--text);
    letter-spacing: -1px;
}

.logo span { font-weight: 400; opacity: 0.7; }

.nav-links a {
    color: var(--text);
    text-decoration: none;
    margin-left: 30px;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Hero Section Fix */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
}

.hero-text-wrapper h1 {
    /* CLAMP prevents text from overflowing screen */
    font-size: clamp(3rem, 10vw, 12rem);
    line-height: 0.85;
    font-family: 'Syne', sans-serif;
    letter-spacing: -0.04em;
}

.hero-footer {
    position: absolute;
    bottom: 40px;
    width: 90%;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--dim);
}

/* Floating Image Logic */
#image-float {
    position: fixed;
    width: 400px; height: 280px;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    z-index: 50;
    border-radius: 10px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
}

/* Projects */
.projects { padding: 150px 5%; }
.section-label { color: var(--dim); font-size: 12px; margin-bottom: 30px; }

.project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0;
    border-top: 1px solid #333;
    text-decoration: none;
    color: var(--text);
}

.project-item h2 { font-size: 6vw; font-family: 'Syne'; transition: 0.4s; }
.project-item:hover h2 { transform: translateX(20px); opacity: 0.5; }

/* Custom Cursor */
#cursor {
    width: 12px; height: 12px;
    background: #fff;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
}