:root {
    --bg-color: #f4f4f0;
    --text-primary: #121212;
    --text-secondary: #333333;
    --accent: #d35400;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: none; 
}

/* Custom Cursor */
.cursor {
    position: fixed; top: 0; left: 0; width: 20px; height: 20px;
    background-color: var(--accent); border-radius: 50%;
    transform: translate(-50%, -50%); pointer-events: none; z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s, mix-blend-mode 0.3s;
    mix-blend-mode: difference;
}
.cursor.hovering { width: 60px; height: 60px; background-color: white; mix-blend-mode: difference; }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; padding: 2rem 4rem;
    display: flex; justify-content: space-between; align-items: center;
    z-index: 100; mix-blend-mode: difference; color: white;
}
.logo { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; letter-spacing: 2px; }
.logo span { font-weight: 400; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
    color: white; text-decoration: none; text-transform: uppercase;
    font-size: 0.9rem; letter-spacing: 1px; transition: opacity 0.3s; font-weight: 500;
}
.nav-links a:hover { opacity: 0.6; }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-img-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    height: 85vh;
    overflow: hidden;
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: translateY(-10%);
    filter: brightness(0.9);
}

.hero-text-container {
    position: relative;
    z-index: 2;
    mix-blend-mode: difference;
    color: white;
    width: 100%;
    padding: 0 5vw;
    display: flex;
    flex-direction: column;
    pointer-events: none;
    gap: 0;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 15vw, 15rem);
    line-height: 0.85;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin: 0;
}

.title-left { align-self: flex-start; }
.title-right { align-self: flex-end; }

/* Intro Divider */
.intro-divider {
    padding: 15vh 4rem 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.intro-divider p {
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    line-height: 1.5;
    max-width: 900px;
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-secondary);
}

/* Works Section */
.works-section { padding: 5vh 4rem 10vh; }
.section-header {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 5rem; border-bottom: 1px solid rgba(0,0,0,0.1); padding-bottom: 1rem;
}
.section-header h2 { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 4rem); text-transform: uppercase; }

.works-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4rem 2rem; }
.work-item { display: flex; flex-direction: column; gap: 1rem; }
.work-item .img-wrapper { overflow: hidden; position: relative; background-color: #ddd; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); }
.work-item:hover img { transform: scale(1.05); }

.work-info { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; }
.work-info h3 { font-family: var(--font-heading); font-size: clamp(1.2rem, 1.5vw, 1.5rem); text-transform: uppercase; }
.work-info span { color: var(--text-secondary); font-size: 0.9rem; }

.work-item.large { grid-column: 1 / 8; height: 80vh; }
.work-item.small { grid-column: 9 / 13; height: 50vh; }
.work-item.medium { grid-column: 4 / 11; height: 70vh; }
.offset-right { margin-top: 10vh; }
.align-bottom { margin-top: auto; }

/* Marquee */
.marquee-section {
    padding: 10vh 0; overflow: hidden; white-space: nowrap;
    border-top: 1px solid rgba(0,0,0,0.1); border-bottom: 1px solid rgba(0,0,0,0.1);
}
.marquee-inner { display: inline-block; animation: marquee 20s linear infinite; }
.marquee-inner span {
    font-family: var(--font-heading); font-size: clamp(3rem, 5vw, 5rem); text-transform: uppercase;
    color: transparent; -webkit-text-stroke: 1px var(--text-primary); margin-right: 2rem;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Footer */
.footer { padding: 15vh 4rem 4rem; background-color: var(--text-primary); color: var(--bg-color); }
.footer-content { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10vh; flex-wrap: wrap; gap: 2rem; }
.footer-title { font-family: var(--font-heading); font-size: clamp(4rem, 8vw, 8rem); line-height: 0.9; text-transform: uppercase; }
.massive-link { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 4rem); color: var(--bg-color); text-decoration: none; transition: color 0.3s; }
.massive-link:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 2rem; font-size: 0.9rem; color: #999; flex-wrap: wrap; gap: 1rem; }
.footer-brand { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-logo { 
    width: 120px; 
    height: auto; 
    filter: invert(1);
    mix-blend-mode: screen; 
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .cursor { display: none; }
    body { cursor: auto; }
    .navbar { padding: 1.5rem 2rem; }
    .hide-mobile { display: none !important; }
    .hero-img-wrapper { width: 100vw; height: 100vh; }
    .hero-title { font-size: 20vw; }
    .intro-divider { padding: 10vh 2rem; }
    .intro-divider p { font-size: 1.5rem; }
    .works-section { padding: 5vh 2rem; }
    .works-grid { display: flex; flex-direction: column; gap: 3rem; }
    .work-item.large, .work-item.small, .work-item.medium { width: 100%; height: auto; margin-top: 0; }
    .work-item .img-wrapper { height: 60vh; }
    .footer { padding: 10vh 2rem 2rem; }
    .footer-content { flex-direction: column; align-items: flex-start; }
}
