:root {
    --bg: #0a0a0a;
    --text: #f4f4f4;
    --text-dim: #888888;
    --accent: #ffffff;
    --font-head: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none; /* Custom cursor everywhere */
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Prevent scrolling while loading */
body.loading {
    overflow: hidden;
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
    position: fixed;
    top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--accent);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: width 0.3s, height 0.3s, background-color 0.3s, border 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cursor-outline::after {
    content: attr(data-text);
    font-size: 0.6rem;
    font-family: var(--font-body);
    color: #000;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s;
}

.cursor-outline.hover {
    width: 70px;
    height: 70px;
    background-color: var(--accent);
    border-color: transparent;
    mix-blend-mode: exclusion;
}

.cursor-outline.hover-text {
    width: 80px;
    height: 80px;
    background-color: var(--accent);
    border-color: transparent;
    mix-blend-mode: normal;
}

.cursor-outline.hover-text::after {
    opacity: 1;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #000;
    z-index: 9000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.loader-counter {
    font-family: var(--font-head);
    font-size: 5rem;
    font-weight: 700;
}

.loader-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 1rem;
    color: var(--text-dim);
}

/* Layout Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
}

.section-pad {
    padding: 15vh 0;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.5rem 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(15, 30, 60, 0.85); /* Little blue */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-brand, .nav-status, .menu-btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-status {
    color: var(--text-dim);
}

.menu-btn {
    background: none;
    border: none;
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 5vh;
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(4rem, 12vw, 15rem);
    font-weight: 800;
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin-bottom: 8vh;
    padding: 0 4vw;
}

.line {
    overflow: hidden;
}

.line-inner {
    display: block;
    transform: translateY(100%);
}

.indent {
    margin-left: 15vw;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 4vw;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dim);
}

.hero-scroll {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.scroll-line {
    width: 60px;
    height: 1px;
    background: var(--text-dim);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--accent);
    transform: translateX(-100%);
    animation: scrollScroll 2s infinite ease-in-out;
}

@keyframes scrollScroll {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* About / Reveal Text */
.about-text {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 500;
    line-height: 1.3;
    max-width: 1200px;
}

/* Projects / Horizontal Scroll */
.projects {
    position: relative;
}

.projects-sticky {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.projects-header {
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
}

.count {
    color: var(--text-dim);
    margin-left: 1rem;
}

.projects-slider {
    display: flex;
    gap: 4vw;
    padding: 0 4vw;
    width: max-content;
}

.project-panel {
    width: 45vw;
    min-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-panel.empty {
    width: 4vw;
    min-width: 0;
}

.project-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #1a1a1a;
    position: relative;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-img-wrap:hover .project-placeholder {
    transform: scale(1.05);
}

/* Add some abstract gradients for the placeholders since we don't have images */
.p1 { background: linear-gradient(45deg, #1f2235, #2b3a55); }
.p2 { background: linear-gradient(45deg, #2a1f2d, #492e44); }
.p3 { background: linear-gradient(45deg, #1c2b2a, #264643); }
.p4 { background: linear-gradient(45deg, #302621, #533e30); }

.project-info h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--text-dim);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Experience */
.mb-large {
    margin-bottom: 4rem;
}

.exp-list {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.exp-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 50px;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    align-items: center;
    transition: background 0.3s;
}

.exp-row:hover {
    background: rgba(255,255,255,0.03);
}

.exp-year {
    color: var(--text-dim);
}

.exp-role {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 500;
}

.exp-company {
    color: var(--text-dim);
}

.exp-icon {
    text-align: right;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s;
}

.exp-row:hover .exp-icon {
    opacity: 1;
    transform: translateX(0);
}

/* Data / Skills Section */
.data-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.data-col h3 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-weight: 400;
}

.clean-list {
    list-style: none;
}

.clean-list li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.clean-list li.sub {
    font-size: 0.9rem;
    color: var(--text-dim);
    border-bottom: none;
    margin-top: -0.5rem;
}

.mt-small { margin-top: 2rem; }

.large-p {
    font-family: var(--font-head);
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.desc {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    padding: 10vh 0 5vh;
}

.footer-title {
    font-family: var(--font-head);
    font-size: clamp(4rem, 10vw, 12rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 10vh;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact a {
    color: var(--accent);
    text-decoration: none;
    font-size: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 2rem;
}

.footer-socials a {
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .exp-row { grid-template-columns: 1fr 2fr; gap: 1rem; }
    .exp-company { grid-column: 2; margin-top: -1rem; }
    .exp-icon { display: none; }
    .data-grid { grid-template-columns: 1fr; gap: 4rem; }
}

@media (max-width: 768px) {
    .projects-sticky { 
        height: auto; 
        padding-top: 10vh;
    }
    .projects-slider { 
        flex-direction: column; 
        width: 100%; 
    }
    .project-panel { 
        width: 100%; 
        min-width: 0; 
        margin-bottom: 4rem;
    }
    .project-panel.empty { display: none; }
    
    .nav-status { display: none; }
    .hero-bottom { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 3rem; }
    
    .hero-title {
        font-size: clamp(3rem, 15vw, 6rem);
    }
    .indent {
        margin-left: 5vw;
    }
    .cursor-outline { display: none; }
}
