:root {
    --bg: #000000;
    --text: #ffffff;
    --primary: #ffffff;
    --accent: #00f2ff;
    --border: rgba(255, 255, 255, 0.08);
    --easing: cubic-bezier(0.16, 1, 0.3, 1);
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    letter-spacing: -0.01em;
    font-weight: 300;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.03;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Custom Selection */
::selection {
    background: var(--text);
    color: var(--bg);
}

.ambient-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    z-index: -1;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: blur(100px);
}

.cursor-glow {
    position: fixed;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10001;
    mix-blend-mode: difference;
    transition: transform 0.1s linear;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 3rem 10%;
    z-index: 1000;
    transition: all 0.5s var(--easing);
}

nav.scrolled {
    padding: 1.5rem 10%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -2px;
    color: #fff;
    text-decoration: none;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    margin-left: 2.5rem;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.nav-links a:hover {
    opacity: 1;
}

/* Sections */
#hero,
#work,
#capabilities,
#services,
#connect {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 5%;
    padding-right: 5%;
}

/* Hero Section */
#hero {
    min-height: 100vh;
    padding-top: 15vh;
    padding-bottom: 10vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 4rem;
    width: 100%;
    align-items: center;
}

.hero-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.4em;
    color: var(--accent);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 600;
    line-height: 0.85;
    letter-spacing: -0.04em;
    margin-bottom: 3.5rem;
}

.highlight {
    color: var(--text);
    opacity: 0.3;
}

.subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 600px;
    line-height: 1.6;
    margin-bottom: 4.5rem;
    opacity: 0.7;
}

.btn-editorial {
    display: inline-block;
    padding: 1.5rem 3.5rem;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    transition: all 0.4s var(--easing);
}

.btn-editorial:hover {
    background: var(--accent);
    transform: scale(1.05);
}

.profile-container {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.1);
    transition: all 1s var(--easing);
}

.profile-container:hover .profile-img {
    transform: scale(1.05);
}

/* Main Sections */
#work,
#capabilities,
#services,
#connect {
    padding-top: 15rem;
    padding-bottom: 10rem;
}

.section-header {
    margin-bottom: 8rem;
}

h2 {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: 600;
    line-height: 0.9;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.04em;
}

.section-header p {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    color: var(--accent);
    text-transform: uppercase;
}

/* Grids */
.grid {
    display: grid;
    gap: 4rem;
}

.long-form {
    grid-template-columns: 1fr 1fr;
}

.shorts {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

.glass {
    background: #080808;
    border: 1px solid var(--border);
    transition: all 0.6s var(--easing);
    padding: 0;
    overflow: hidden;
    position: relative;
}

.glass:hover {
    border-color: #fff;
    transform: translateY(-10px);
}

/* Video Containers */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    background: #111;
}

.short-video {
    padding-bottom: 177.77%;
    /* 9:16 */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Capability Cards */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.capability-card {
    padding: 4rem 3rem;
    background: transparent;
    border: 1px solid var(--border);
    transition: all 0.5s var(--easing);
}

.capability-card:hover {
    background: #fff;
    border-color: #fff;
}

.capability-card:hover h3,
.capability-card:hover p {
    color: #000;
}

.capability-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.capability-card p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.4;
}

/* Connect */
#connect {
    text-align: center;
    padding-top: 10rem;
    padding-bottom: 20rem;
}

.connect-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 5rem;
    flex-wrap: wrap;
}

.btn-premium {
    display: inline-block;
    padding: 1.8rem 4rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s var(--easing);
    min-width: 280px;
}

.btn-premium.solid {
    background: #fff;
    color: #000;
}

.btn-premium.outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-premium:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.btn-premium.solid:hover {
    background: var(--accent);
}

.btn-premium.outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Footer */
footer {
    padding: 5rem 5%;
    text-align: center;
    border-top: 1px solid var(--border);
    opacity: 0.3;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Marquee Skills */
#skills-bar {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.marquee {
    width: 100%;
    overflow: hidden;
}

.marquee-inner {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.marquee-inner span {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: #fff;
    margin: 0 4rem;
    opacity: 0.3;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Reveal Transitions */
.revealed {
    opacity: 1 !important;
    transform: scale(1) translateY(0) !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .long-form {
        grid-template-columns: 1fr;
    }

    #hero {
        padding-top: 150px;
    }

    h1 {
        font-size: 4.5rem;
    }

    .shorts {
        grid-template-columns: 1fr 1fr;
    }

    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .shorts {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    #work,
    #capabilities,
    #services,
    #connect {
        padding: 8rem 5%;
    }

    h2 {
        font-size: 2.5rem;
    }

    .connect-links {
        gap: 2rem;
    }

    .connect-link {
        font-size: 1rem;
    }
}