:root {
    --bg-color: #050505;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --accent: #ff3b30;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

::selection {
    background: var(--text-primary);
    color: var(--bg-color);
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.cursor {
    width: 10px;
    height: 10px;
    background-color: var(--text-primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    mix-blend-mode: difference;
}

.cursor.hovered {
    width: 50px;
    height: 50px;
    background-color: transparent;
    border: 1px solid var(--text-primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.highlight {
    font-style: italic;
    color: #fff;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--text-secondary);
    opacity: 0.3;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    z-index: 100;
    mix-blend-mode: difference;
    transition: padding 0.3s ease, background-color 0.3s ease, mix-blend-mode 0.3s ease;
}

.navbar.scrolled {
    mix-blend-mode: normal;
    background-color: rgba(5, 5, 5, 0.95);
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.nav-links a:hover::after {
    width: 100%;
}

section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8vh 0;
}

.hero {
    position: relative;
    padding-top: 25vh;
    align-items: flex-start;
    overflow: hidden;
    min-height: 100vh;
}

.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: -2;
}

.video-bg-container video {
    flex: 1;
    height: 100%;
    object-fit: cover;
    min-width: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.4) 0%, var(--bg-color) 100%);
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
    height: calc(100vh - 25vh);
    display: flex;
    flex-direction: column;
}

.hero-bottom-left {
    margin-top: auto;
    padding-bottom: 5vh;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hero-title {
    font-size: clamp(1.5rem, 8vw, 8rem);
    display: block;
    margin-bottom: 2rem;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    max-width: 700px;
    font-weight: 300;
    line-height: 1.5;
}

.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

.scroll-indicator .line {
    width: 60px;
    height: 1px;
    background-color: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.scroll-indicator .line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--text-primary);
    animation: scroll-line 2.5s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scroll-line {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.section-title {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-body);
    font-weight: 500;
}

.lead-text {
    font-size: clamp(2rem, 5vw, 4.5rem);
    line-height: 1.2;
    font-family: var(--font-heading);
    font-weight: 600;
    max-width: 1000px;
}

.gallery {
    padding-top: 5vh;
    padding-bottom: 15vh;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    margin-top: 3rem;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    width: max-content;
    animation: marquee 70s linear infinite;
    gap: 1.5rem;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

.photo-item {
    width: clamp(250px, 20vw, 400px);
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    overflow: hidden;
    background: #111;
    cursor: pointer;
    border-radius: 4px;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    opacity: 0.8;
}

.photo-item:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 5, 5, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
    cursor: zoom-out;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    font-size: 3rem;
    color: var(--text-primary);
    cursor: pointer;
    font-weight: 300;
    z-index: 10001;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--text-secondary);
}

.artists-marquee-section {
    padding: 8vh 0;
    min-height: auto;
}

.text-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 3rem 0;
    background-color: var(--bg-color);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.text-marquee-content {
    display: flex;
    width: max-content;
    gap: 2rem;
    align-items: center;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-secondary);
    white-space: nowrap;
}

.text-marquee-content.left {
    animation: text-marquee-left 80s linear infinite;
}

.text-marquee-content.right {
    animation: text-marquee-right 90s linear infinite;
}

.text-marquee-content span.dot {
    color: var(--text-primary);
    -webkit-text-stroke: 0;
    font-size: 0.5em;
    opacity: 0.3;
}

.text-marquee-content:hover {
    animation-play-state: paused;
}

.text-marquee-content span:not(.dot) {
    transition: color 0.4s ease, -webkit-text-stroke 0.4s ease;
    cursor: default;
}

.text-marquee-content span:not(.dot):hover {
    color: var(--text-primary);
    -webkit-text-stroke: 0px var(--text-primary);
}

@keyframes text-marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

@keyframes text-marquee-right {
    0% { transform: translateX(calc(-50% - 1rem)); }
    100% { transform: translateX(0); }
}

.contact .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.contact h2 {
    font-size: clamp(3rem, 8vw, 7rem);
    line-height: 1;
}

.video-text-wrapper {
    position: relative;
    margin-bottom: 3rem;
    display: inline-block;
}

.video-text-wrapper .text-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.video-text-mask {
    position: relative;
    z-index: 2;
    background-color: var(--bg-color);
    color: #fff;
    mix-blend-mode: multiply;
    padding: 0.1em 0;
}

.contact-email {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-secondary);
    font-weight: 300;
    display: block;
    margin-bottom: 3rem;
    font-family: var(--font-body);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 8rem;
    max-width: 800px;
}

.contact-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-row {
    display: flex;
    gap: 2.5rem;
}

.form-row.align-end {
    align-items: flex-end;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1.1rem;
    padding: 1rem 0;
    transition: border-color 0.3s ease;
    resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom-color: var(--text-primary);
}

.submit-btn {
    background: transparent;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    padding: 1rem 3rem;
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    border-radius: 30px;
    height: fit-content;
}

.submit-btn:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

.form-response {
    font-size: 0.95rem;
    margin-top: -1rem;
}

.form-response.success { color: #34c759; }
.form-response.error { color: #ff3b30; }

.security-group input {
    max-width: 200px;
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.popup-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.popup-content {
    background: var(--bg-color);
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (min-width: 768px) {
    .popup-content {
        flex-direction: row;
        width: 100%;
        max-height: none;
        overflow-y: visible;
    }
}

.popup-overlay.hidden .popup-content {
    transform: translateY(30px);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.4);
    color: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

@media (min-width: 768px) {
    .popup-close {
        top: 20px;
        right: 25px;
        color: var(--text-secondary);
        background: transparent;
        width: auto;
        height: auto;
        font-size: 2.5rem;
    }
}

.popup-close:hover {
    background: transparent;
    color: #fff;
}

.popup-image {
    width: 100%;
    height: 300px;
    background: #000;
}

@media (min-width: 768px) {
    .popup-image {
        width: 45%;
        height: auto;
        min-height: 450px;
    }
}

.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.popup-body {
    width: 100%;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

@media (min-width: 768px) {
    .popup-body {
        width: 55%;
        padding: 4rem 3.5rem;
    }
}

.popup-body p {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    font-family: var(--font-heading);
}

.popup-btn {
    align-self: flex-start;
    background: transparent;
    color: var(--text-primary);
    padding: 0 0 6px 0;
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    transition: border-color 0.3s ease, opacity 0.3s ease;
}

.popup-btn:hover {
    background: transparent;
    transform: none;
    border-bottom-color: var(--text-primary);
    opacity: 0.8;
}

.footer {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: auto;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 4rem;
    padding-bottom: 2.5rem;
}

.footer-text {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    font-weight: 300;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.socials {
    display: flex;
    gap: 2.5rem;
}

.socials a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 4px;
}

.socials a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--text-primary);
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.socials a:hover::after {
    width: 100%;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.usage-terms {
    width: 100%;
    margin-top: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.6;
    letter-spacing: 0.02em;
    text-align: justify;
    max-width: 100%;
    align-self: flex-start;
}

.usage-terms p {
    margin-bottom: 0.75rem;
}

.usage-terms p:last-child {
    margin-bottom: 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }

.reveal-text {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.reveal-text span, .reveal-text {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 1.4s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal-text.visible span, .reveal-text.visible {
    opacity: 1;
    transform: translateY(0);
}



@media (max-width: 768px) {
    .navbar {
        padding: 1.5rem 5%;
    }
    
    .nav-links {
        display: none;
    }
    
    .video-bg-container video {
        position: relative;
    }
    
    .hero-subtitle {
        margin-left: 0;
        font-size: 1.1rem;
    }

    .hero {
        padding-top: 15vh;
        padding-bottom: 5vh;
        height: 100dvh; /* modern mobile viewport height */
        min-height: 100dvh;
    }
    
    .hero .container {
        height: 100%;
        justify-content: flex-end;
    }
    
    .hero-bottom-left {
        padding-bottom: 5vh;
        margin-top: auto;
    }

    .lead-text {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
        width: 100%;
        max-width: none;
        line-height: 1.4;
    }
    
    .contact h2 {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }
    
    .contact-email {
        font-size: clamp(1.2rem, 6vw, 2rem);
        word-break: break-all;
    }

    .footer {
        padding-top: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.5rem;
    }
    
    .usage-terms {
        -webkit-text-size-adjust: none;
        text-size-adjust: none;
        font-size: 10px; /* fallback for mobile */
        text-align: justify;
        color: rgba(255, 255, 255, 0.3);
    }
    
    body {
        cursor: auto;
    }
    
    .cursor {
        display: none;
    }

    .artists-marquee-section {
        padding: 8vh 5%;
    }
    
    .text-marquee-wrapper {
        padding: 1rem 0;
    }

    .text-marquee-content {
        font-size: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-row.align-end {
        align-items: stretch;
    }

    .contact-tabs {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        border-bottom: none;
    }
    
    .tab-btn {
        width: 100%;
        text-align: left;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .submit-btn {
        margin-top: 1rem;
    }
}
