        :root {
            --magenta: #d12f7a;
            --black: #000000;
            --white: #ffffff;
        }

      body {
    background-color: var(--black) !important;
    color: var(--white) !important;
    font-family: "neue-haas-grotesk-display", sans-serif !important;
    overflow: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

        h1, h2, h3, .brand-font {
            font-family: "termina", sans-serif;
            text-transform: uppercase;
            font-weight: 900;
            letter-spacing: -0.02em;
        }

        .magenta-bg {
            background-color: var(--magenta);
        }

      

        /* Hero Video */
        .hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translate(-50%, -50%);
            object-fit: cover;
            opacity: 0.4;
            z-index: 0;
        }

        /* Logo - Bottom Left */
        .stacked-logo {
            position: fixed;
            bottom: 2rem;
            left: 2rem;
            z-index: 100;
            font-family: "termina", sans-serif;
            font-weight: 900;
            font-size: 1.5rem;
            line-height: 0.85;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .stacked-logo:hover {
            animation: buzz 0.3s ease-in-out;
        }

        @keyframes buzz {
            0%, 100% { transform: translate(0, 0); }
            10% { transform: translate(-2px, -2px); }
            20% { transform: translate(2px, 2px); }
            30% { transform: translate(-2px, 2px); }
            40% { transform: translate(2px, -2px); }
            50% { transform: translate(-2px, -2px); }
            60% { transform: translate(2px, 2px); }
            70% { transform: translate(-2px, 2px); }
            80% { transform: translate(2px, -2px); }
            90% { transform: translate(-2px, -2px); }
        }

       
/* Navigation - Bottom Right */

        nav {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            z-index: 100;
            text-align: right;
        }

        .menu-item {
            font-family: "termina", sans-serif;
            text-transform: uppercase;
            font-weight: 900;
            font-size: 1.3rem;
            letter-spacing: 0.05em;
            cursor: pointer;
            transition: color 0.2s ease;
            line-height: 0.7;
        }

        .menu-item:hover {
            color: var(--magenta);
        }

        .menu-item.active {
            color: var(--magenta);
        }

        /* Page Title - Top Left */
        .page-title {
            position: absolute;
            top: 2rem;
            left: 2rem;
            font-family: "termina", sans-serif;
            font-weight: 900;
            font-size: 2rem;
            text-transform: uppercase;
            z-index: 100;
        }

        /* Magenta Flash Overlay */
        .flash-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: var(--magenta);
            z-index: 9999;
            pointer-events: none;
        }

        /* Page Container */
        .page {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100vh;
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Form Styling */
        input, textarea {
            background-color: var(--white);
            border: none;
            color: var(--black);
            padding: 1rem;
            font-family: "neue-haas-grotesk-display", sans-serif;
        }

        input:focus, textarea:focus {
            outline: none;
        }

.connect-cta {
    font-family: "termina", sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: 0.05em;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    text-align: center;
}

.video-frame-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden; /* This crops the YouTube UI */
    background: #000;
}

.video-frame-container iframe {
    position: absolute;
    top: -10%; /* Shifts the title bar up and out of view */
    left: 0;
    width: 100%;
    height: 120%; /* Makes the video large enough to cover the crop */
    pointer-events: none; /* Prevents users from clicking to reveal UI */
    border: none;
}

/* Polaroid Frame - Fixed Proportions */
.polaroid-frame {
    position: relative;
    display: inline-block;

    background: #fff;

    /* Fixed, proportional borders */
    padding: 14px;
    padding-bottom: 28px; /* exactly 2× top */

    box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.25);

    transform: rotate(-2deg);
    transition: transform 0.25s ease;

    /* CRITICAL: frame must size to content */
    height: fit-content;
    width: fit-content;
    max-width: 100%;
}

.polaroid-frame:hover {
    transform: rotate(0deg) scale(1.02);
}

.polaroid-frame img {
    display: block;
    width: 100%;
    height: auto;

    /* DO NOT cap height like 60vh */
    max-height: none;

    object-fit: contain;
}

/* Tablet - Smaller but same 2:1 ratio */
@media (max-width: 768px) {
    .polaroid-frame {
        padding: 15px;
        padding-bottom: 30px;  /* Still 2x */
        max-width: 400px;
    }
}

/* Mobile - Even smaller but same 2:1 ratio */
@media (max-width: 480px) {
    .polaroid-frame {
        padding: 12px;
        padding-bottom: 24px;  /* Still 2x */
        max-width: 100%;
    }
}
/* Top Tape - Fixed positioning */
.polaroid-frame::before {
    content: '';
    position: absolute;  /* Absolute to .polaroid-frame */
    top: -40px;  /* Above the frame */
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    width: 280px;  /* Adjust to your preference */
    height: 70px;  /* Adjust to your preference */
    background-image: url('assets/tape.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    z-index: 10;
    pointer-events: none;  /* Tape doesn't block clicks */
}

/* Bottom Tape - Fixed positioning */
.polaroid-frame::after {
    content: '';
    position: absolute;  /* Absolute to .polaroid-frame */
    bottom: -40px;  /* Near bottom of white border */
    left: 50%;
    transform: translateX(-50%) rotate(-3deg) scaleX(-1);
    width: 300px;  /* Adjust to your preference */
    height: 70px;  /* Adjust to your preference */
    background-image: url('assets/tape.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
    z-index: 10;
    pointer-events: none;  /* Tape doesn't block clicks */
}

.connect-cta:hover {
    color: var(--magenta);
}

        input::placeholder, textarea::placeholder {
            color: rgba(0, 0, 0, 0.5);
        }

        .form-label {
            font-family: "termina", sans-serif;
            text-transform: uppercase;
            font-weight: 700;
            font-size: 0.875rem;
            margin-bottom: 0.5rem;
        }

        .brutalist-button {
            background-color: var(--white);
            border: none;
            color: var(--black);
            padding: 0.75rem 2rem;
            font-weight: 700;
            font-family: "termina", sans-serif;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            cursor: pointer;
            transition: all 0.2s ease;
            font-size: 0.875rem;
        }

        .brutalist-button:hover {
            background-color: var(--magenta);
            color: var(--white);
        }

        /* Slider Arrows */
        .slider-arrow {
            position: fixed;
            top: 50%;
            transform: translateY(-50%);
            font-size: 4rem;
            cursor: pointer;
            user-select: none;
            transition: color 0.2s ease;
            z-index: 50;
        }

        .slider-arrow.left {
            left: 2rem;
        }

        .slider-arrow.right {
            right: 2rem;
        }

        .slider-arrow:hover {
            color: var(--magenta);
        }

        /* Pagination Dots - Updated */
        .slider-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: var(--white);
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .slider-dot.active {
            background-color: var(--magenta);
        }

        /* Services List */
        .service-item {
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: "termina", sans-serif;
            text-transform: uppercase;
            font-weight: 700;
        }

        .service-item:hover {
            color: var(--magenta);
        }

        .service-item.active {
            color: var(--magenta);
            font-size: 2rem;
        }

        .service-item:not(.active) {
            font-size: 1rem;
        }

        /* Hero Image */
        .hero-image-container {
            position: relative;
            max-width: 90%;
            width: auto;
        }

        .hero-image-container img {
            width: 100%;
            height: auto;
            display: block;
        }

        /* Link Styling */
        .termina-link {
            font-family: "termina", sans-serif;
            text-transform: uppercase;
            font-weight: 700;
            font-size: 0.875rem;
            letter-spacing: 0.05em;
            transition: color 0.2s ease;
            cursor: pointer;
        }

        .termina-link:hover {
            color: var(--magenta);
        }

        /* Responsive */
        @media (max-width: 768px) {
              body, html {
        overflow-y: auto !important;
        overflow-x: hidden !important;  /* Prevent horizontal scroll */
    }
    @media (max-width: 768px) {
    section,
    .page {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        position: relative !important;
    }

    @media (max-width: 768px) {
    .grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }
}
}
    
    /* Allow page content to scroll */
    .page {
        overflow-y: auto !important;
        height: auto !important;
        min-height: 100vh !important;
        position: relative !important;  /* Change from absolute */
          padding-top: 5rem !important;
    }
    .stacked-logo {
                bottom: 1rem;
                left: 1rem;
                font-size: 1.25rem;
            }

            nav {
                bottom: 1rem;
                right: 1rem;
            }

            .page-title {
                top: 1rem;
                left: 1rem;
                font-size: 1.5rem;
            }

            .slider-arrow {
                font-size: 2rem;
            }

            .slider-arrow.left {
                left: 1rem;
            }

            .slider-arrow.right {
                right: 1rem;
            }
       
 
    .page .grid {
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Alternative: Target by class name directly */
    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }
    
    /* Reduce gaps */
    .gap-16 {
        gap: 1rem !important;
    }
    
    .gap-8 {
        gap: 1rem !important;
    }
    
    .gap-0 {
        gap: 1rem !important;
    }
    
    /* Reduce all horizontal padding */
    .px-32,
    .px-16,
    .px-8 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    /* Adjust image heights for mobile */
    img {
        max-height: 50vh !important;
        height: auto !important;
    }
    
    /* Make text smaller on mobile */
    .text-5xl {
        font-size: 2rem !important;
    }
    
    .text-4xl {
        font-size: 1.75rem !important;
    }
    
    .text-3xl {
        font-size: 1.5rem !important;
    }
    
    .text-2xl {
        font-size: 1.25rem !important;
    }
    
    .text-xl {
        font-size: 1.125rem !important;
    }
    
    /* Slider arrows - smaller and closer on mobile */
    .slider-arrow {
        font-size: 2rem !important;
    }
    
    .slider-arrow.left {
        left: 0.5rem !important;
    }
    
    .slider-arrow.right {
        right: 0.5rem !important;
    }
    
    .slider-container {
    padding-left: 4rem;
    padding-right: 4rem;
}

    /* Connect page CTAs - smaller on mobile */
    .connect-cta {
        font-size: 1.5rem !important;
    }
    
    /* Page title - smaller on mobile */
    .page-title {
        font-size: 1.5rem !important;
        top: 1rem !important;
        left: 1rem !important;
    }
    
    /* Logo and nav - adjust positioning */
    .stacked-logo {
        font-size: 1rem !important;
        bottom: 1rem !important;
        left: 1rem !important;
    }
    
    nav {
        bottom: 1rem !important;
        right: 1rem !important;
    }
    
    .menu-item {
        font-size: 0.75rem !important;
    }
}
/* Different rotations for each service */
.polaroid-frame[data-service="COMMERCIAL"] {
    transform: rotate(-2deg);
}

.polaroid-frame[data-service="BRANDED CONTENT"] {
    transform: rotate(2deg);
}

.polaroid-frame[data-service="AI VIDEOS"] {
    transform: rotate(-3deg);
}

.polaroid-frame[data-service="post-production"] {
    transform: rotate(3deg);
}

.polaroid-frame[data-service="streategy"] {
    transform: rotate(-2.5deg);
}

.polaroid-frame[data-service="creative direction"] {
    transform: rotate(2.5deg);
}

.polaroid-frame[data-service="branded content"] {
    transform: rotate(-1.5deg);
}

/* Hover straightens all */
.polaroid-frame:hover {
    transform: rotate(0deg) scale(1.02) !important;
}
/* Video Thumbnail Overlay */
.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #000;
}

/* Video Frame Container - Flexible Height */
.video-frame-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;  /* ← Maintains video aspect ratio */
    background: #000;
    overflow: hidden;
}

.video-frame-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* ← Changed from 'cover' to preserve aspect ratio */
}

/* Magenta Play Button */
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
    z-index: 10;
}

.play-button-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button-overlay svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}



