/* Theme By Kunjal Modi */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #090909;
    --surface: #111111;
    --border: rgba(255, 255, 255, 0.07);
    --accent: #f0e313;
    --text: #F0EDE8;
    --muted: #7A776F;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    cursor: none;
}

/* ── CURSOR ── */
.cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(240, 227, 19, 0.45);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width .2s, height .2s, border-color .2s;
}

body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring,
body:has(.video-thumb:hover) .cursor-ring {
    width: 56px;
    height: 56px;
    border-color: var(--accent);
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 60px;
    background: linear-gradient(to bottom, rgba(9, 9, 9, .92) 0%, transparent 100%);
}

.nav-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: .18em;
    color: var(--white);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    transition: color .3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* ── REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 {
    transition-delay: .1s;
}

.reveal-delay-2 {
    transition-delay: .22s;
}

.reveal-delay-3 {
    transition-delay: .36s;
}

.reveal-delay-4 {
    transition-delay: .52s;
}

.section-label {
    display: inline-block;
    font-size: .65rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

/* ══ HERO ══ */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

#yt-bg-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 177.78vh;
    height: 100vh;
    min-width: 100vw;
    min-height: 56.25vw;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: .42;
    filter: grayscale(15%);
}

#yt-bg-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(9, 9, 9, .35) 0%, rgba(9, 9, 9, .08) 45%, rgba(9, 9, 9, .9) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 880px;
    padding: 0 24px;
}

.hero-eyebrow {
    font-size: .7rem;
    letter-spacing: .45em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 1s .4s forwards;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(4.5rem, 11vw, 9.5rem);
    line-height: .92;
    letter-spacing: .04em;
    color: var(--white);
    opacity: 0;
    animation: fadeUp 1s .65s forwards;
}

.hero-title em {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    color: var(--accent);
}

.hero-cta {
    margin-top: 48px;
    opacity: 0;
    animation: fadeUp 1s 1.1s forwards;
}

.btn-primary {
    display: inline-block;
    padding: 14px 44px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
    font-size: .72rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    text-decoration: none;
    background: transparent;
    cursor: none;
    transition: background .3s, color .3s;
}

.btn-primary:hover {
    background: var(--accent);
    color: var(--bg);
}

.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeUp 1s 1.4s forwards;
}

.hero-scroll-hint span {
    font-size: .6rem;
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--muted);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: .4
    }

    50% {
        opacity: 1
    }
}

/* ══ ABOUT ══ */
#about-wrap {
    background: linear-gradient(to bottom, #090909, #0d0c0a);
}

#about {
    padding: 140px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.about-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 5vw, 5.5rem);
    line-height: .95;
    letter-spacing: .03em;
    color: var(--white);
    margin-bottom: 32px;
}

.about-title em {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    color: var(--accent);
    display: block;
}

.about-body {
    font-size: .95rem;
    line-height: 1.82;
    color: rgba(240, 237, 232, .58);
    margin-bottom: 24px;
}

.about-body strong {
    color: var(--text);
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.stat-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.8rem;
    color: var(--accent);
    letter-spacing: .05em;
    line-height: 1;
}

.stat-label {
    font-size: .68rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 6px;
}

/* ── CAROUSEL ── */
.carousel-wrap {
    position: relative;
    aspect-ratio: 4/5;
    background: var(--surface);
    overflow: hidden;
}

.carousel-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(240, 227, 19, .14);
    pointer-events: none;
    z-index: 5;
}

.c-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .75s ease;
}

.c-slide.active {
    opacity: 1;
}

.c-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--accent);
    width: 0%;
    z-index: 10;
}

.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.carousel-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: block;
    cursor: none;
    transition: background .3s, transform .3s;
}

.carousel-dots span.active {
    background: var(--accent);
    transform: scale(1.4);
}

.c-caption {
    position: absolute;
    bottom: 30px;
    left: 16px;
    font-size: .65rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(240, 237, 232, .45);
    z-index: 10;
}

/* ══ WORK ══ */
.section-divider {
    width: calc(100% - 120px);
    height: 1px;
    background: var(--border);
    margin: 0 60px;
}

#work {
    padding: 140px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.work-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
    flex-wrap: wrap;
    gap: 20px;
}

.work-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3rem, 5vw, 5.5rem);
    line-height: .95;
    letter-spacing: .03em;
    color: var(--white);
}

.work-title em {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    color: var(--accent);
}

.tabs {
    display: flex;
    gap: 4px;
    background: var(--surface);
    padding: 4px;
    border: 1px solid var(--border);
}

.tab-btn {
    padding: 9px 24px;
    background: transparent;
    border: none;
    cursor: none;
    font-family: 'Outfit', sans-serif;
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    transition: background .2s, color .2s;
}

.tab-btn.active {
    background: var(--accent);
    color: var(--bg);
    font-weight: 600;
}

.tab-btn:hover:not(.active) {
    color: var(--text);
}

.video-panel {
    display: none;
}

.video-panel.active {
    display: block;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.video-thumb {
    position: relative;
    overflow: hidden;
    cursor: none;
    background: var(--surface);
    aspect-ratio: 16/9;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(.72);
    transition: filter .4s, transform .5s;
}

.video-thumb:hover img {
    filter: brightness(.4);
    transform: scale(1.04);
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}

.video-thumb:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    width: 56px;
    height: 56px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    background: rgba(0, 0, 0, .3);
    transition: background .2s, border-color .2s, transform .2s;
}

.video-thumb:hover .play-icon {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.play-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--bg);
    margin-left: 3px;
}

.video-info {
    padding: 10px 2px 4px;
}

.video-info h4 {
    font-size: .78rem;
    font-weight: 400;
    letter-spacing: .06em;
    color: var(--text);
    line-height: 1.4;
}

.video-info span {
    font-size: .65rem;
    color: var(--muted);
    letter-spacing: .1em;
    text-transform: uppercase;
}

/* ══ CLIENTS ══ */
#clients {
    padding: 100px 60px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.clients-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.4rem, 4vw, 4rem);
    letter-spacing: .04em;
    color: var(--white);
    margin-bottom: 12px;
}

.clients-title em {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    color: var(--accent);
}

.clients-sub {
    font-size: .85rem;
    color: var(--muted);
    letter-spacing: .06em;
    margin-bottom: 64px;
}

.marquee-outer {
    overflow: hidden;
    position: relative;
}

.marquee-outer::before,
.marquee-outer::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 140px;
    z-index: 2;
    pointer-events: none;
}

.marquee-outer::before {
    left: 0;
    background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-outer::after {
    right: 0;
    background: linear-gradient(to left, var(--bg), transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.marquee-outer:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 52px;
    border-right: 1px solid var(--border);
    height: 80px;
    flex-shrink: 0;
}

.client-logo span {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.45rem;
    letter-spacing: .22em;
    color: var(--text);
    opacity: .45;
    transition: color .3s, opacity .3s;
    white-space: nowrap;
}

.client-logo:hover span {
    color: var(--accent);
    opacity: 1;
}

/* ══ MODAL ══ */
.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, .93);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
    backdrop-filter: blur(8px);
}

.modal-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

.modal-inner {
    position: relative;
    width: min(900px, 92vw);
    aspect-ratio: 16/9;
    background: #000;
}

.modal-inner iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    cursor: none;
    color: var(--muted);
    font-size: .7rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color .2s;
}

.modal-close:hover {
    color: var(--white);
}

.modal-close::before {
    content: '';
    display: block;
    width: 20px;
    height: 1px;
    background: currentColor;
}

/* ══ FOOTER ══ */
footer {
    border-top: 1px solid var(--border);
    padding: 48px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    letter-spacing: .2em;
    color: var(--muted);
    text-decoration: none;
}

.footer-logo span {
    color: var(--accent);
}

footer p {
    font-size: .68rem;
    color: var(--muted);
    letter-spacing: .1em;
}

.footer-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.footer-links a {
    font-size: .68rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    transition: color .2s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* grain */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9997;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: .28;
}

/* responsive */
@media (max-width:900px) {
    nav {
        padding: 20px 24px;
    }

    #about {
        grid-template-columns: 1fr;
        padding: 80px 24px;
        gap: 48px;
    }

    .carousel-wrap {
        aspect-ratio: 16/9;
    }

    #work {
        padding: 80px 24px;
    }

    #clients {
        padding: 72px 24px;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-divider {
        width: calc(100% - 48px);
        margin: 0 24px;
    }

    footer {
        padding: 36px 24px;
    }
}

@media (max-width:600px) {
    .nav-links {
        display: none;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-header {
        flex-direction: column;
        align-items: flex-start;
    }
}