:root { --bg: #FDFDFD; --text: #111; }
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

#v-cursor {
    width: 14px; height: 14px; background: #000; position: fixed;
    top: -7px; left: -7px; 
    z-index: 9999999; pointer-events: none;
    mix-blend-mode: difference; 
    border: 1px solid rgba(255,255,255,0.4); border-radius: 50%;
    display: none;
}

body { 
    background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif;
    cursor: none !important; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
a, button, input, textarea { cursor: none !important; }

#loader { position: fixed; inset: 0; z-index: 1000000; display: flex; align-items: center; justify-content: center; }
.loader-columns { position: absolute; inset: 0; display: flex; }
.l-col { flex: 1; height: 100%; background: #000; transform-origin: top; }
.loader-text { position: relative; z-index: 10; color: #fff; font-weight: 900; letter-spacing: 0.5em; font-size: 12px; }

.sticky-controls { position: fixed; bottom: 30px; right: 30px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.sticky-btn { background: #000; color: #fff; border: none; padding: 12px 24px; border-radius: 4px; font-size: 10px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; transition: transform 0.3s; }
.sticky-btn:hover { transform: scale(1.05); }

.nav { display: flex; justify-content: space-between; align-items: center; padding: 25px 5%; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; position: relative; z-index: 100; }
.nav span { opacity: 0.3; }
.nav-right { display: flex; align-items: center; gap: 15px; }
.lang-switch, .nav-links { display: flex; align-items: center; }
.lang-btn { background: none; border: none; font-size: 11px; font-weight: 900; opacity: 0.2; transition: 0.3s; padding: 20px 10px; }
.lang-btn.active, .lang-btn:hover { opacity: 1; }
.nav-links a { text-decoration: none; color: #111; opacity: 0.5; font-weight: 900; padding: 20px 15px; transition: 0.3s; }
.nav-links a:hover { opacity: 1; color: #000; }

.hero { position: relative; min-height: 95vh; display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.hero-content { position: relative; z-index: 10; padding: 5%; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.hero-content * { pointer-events: auto; }
.main-title { font-size: clamp(3rem, 12vw, 11rem); font-weight: 900; line-height: 0.8; letter-spacing: -0.05em; margin: 0; }
.hero-subtitle { font-size: clamp(1.5rem, 4vw, 3.5rem); font-weight: 900; letter-spacing: 0.1em; opacity: 0.4; margin-top: 15px; text-transform: uppercase; line-height: 1; }
#generative-grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; mask-image: radial-gradient(circle at 70% 30%, black 20%, transparent 80%); -webkit-mask-image: radial-gradient(circle at 70% 30%, black 20%, transparent 80%); }

.tags-group { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 9px; border: 1px solid rgba(0,0,0,0.1); padding: 6px 14px; border-radius: 4px; font-weight: 900; background: #fff; transition: 0.4s; }
.tag:hover { background: #000; color: #fff; transform: translateY(-3px); }
.hero-bio { max-width: 480px; font-size: 16px; opacity: 0.6; line-height: 1.6; }
.hero-meta { align-self: flex-end; font-size: 10px; font-weight: 900; opacity: 0.4; letter-spacing: 0.2em; margin-top: -20px; z-index: 15; position: relative; }

.marquee { padding: 25px 0; border-y: 1px solid rgba(0,0,0,0.05); overflow: hidden; background: #fff; }
.marquee-track { display: flex; white-space: nowrap; animation: scroll 75s linear infinite; }
.marquee-track span { font-size: 13px; color: #999; padding-right: 40px; text-transform: uppercase; letter-spacing: 0.08em; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.works { padding: 100px 5%; background: #000; color: #fff; min-height: 400px; }
.label { font-size: 10px; font-weight: 900; opacity: 0.4; letter-spacing: 0.3em; margin-bottom: 50px; display: block; }

/* Фікс сітки для мобілок */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; width: 100%; }
.w-card { position: relative; aspect-ratio: 16/9; background: #111; border-radius: 8px; overflow: hidden; width: 100%; }
.w-card img, .w-card video { width: 100%; height: 100%; object-fit: cover; display: block; }

.cv { padding: 100px 5%; }
.cv-row { display: grid; grid-template-columns: 240px 1fr; padding: 60px 0; border-top: 1px solid rgba(0,0,0,0.05); }
.cv-year { font-size: 12px; font-weight: 900; opacity: 0.3; }
.cv-body h3 { font-size: 28px; font-weight: 900; margin-bottom: 20px; }
.cv-body p { font-size: 16px; opacity: 0.5; line-height: 1.7; }

.footer { padding: 100px 5% 40px; background: #000; color: #fff; }
.f-main { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.f-headline { font-size: clamp(3rem, 10vw, 8rem); font-weight: 900; line-height: 0.9; }
.f-socials { display: flex; gap: 30px; margin-bottom: 40px; }
.f-socials a { color: #fff; text-decoration: none; font-size: 11px; font-weight: 900; opacity: 0.4; padding: 10px 10px 10px 0; transition: 0.3s; }
.f-socials a:hover { opacity: 1; }
.f-form input, .f-form textarea { background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2); width: 100%; padding: 20px 0; color: #fff; margin-bottom: 20px; outline: none; font-size: 16px; }
.f-form button { background: #fff; color: #000; padding: 20px 60px; font-weight: 900; border: none; width: 100%; transition: 0.3s; }
.f-form button:hover { background: #e0e0e0; }
.f-bottom { display: flex; justify-content: space-between; margin-top: 80px; font-size: 10px; opacity: 0.2; }

@media (max-width: 1024px) {
    .works-grid { grid-template-columns: 1fr; gap: 30px; }
    .cv-row { grid-template-columns: 1fr; gap: 20px; }
    .f-main { grid-template-columns: 1fr; }
    .hero-meta { align-self: flex-start; margin-top: 20px; }
}
@media (max-width: 768px) {
    .nav { flex-direction: column; align-items: flex-start; gap: 20px; }
    .nav-logo { line-height: 1.4; }
    .nav-logo span { display: block; margin-top: 4px; }
    .nav-right { width: 100%; justify-content: space-between; }
    .lang-btn { padding: 10px 15px 10px 0; }
    .nav-links a { padding: 10px 0 10px 15px; }
}