: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;
    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;
}

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);
}

/* Connect CTA */
.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;
}

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

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

.video-frame-container iframe {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    pointer-events: none;
    border: none;
}

.video-frame-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Video Thumbnail Overlay */
.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    background: #000;
}

/* 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));
}

/* Polaroid Frame - Fixed Proportions */
.polaroid-frame {
    position: relative;
    display: inline-block;
    background: #fff;
    padding: 14px;
    padding-bottom: 28px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
    transform: rotate(-2deg);
    transition: transform 0.25s ease;
    height: fit-content;
    width: fit-content;
    max-width: 100%;
}

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

.polaroid-frame img {
    display: block;
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
}

/* Top Tape - Fixed positioning */
.polaroid-frame::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) rotate(2deg);
    width: 280px;
    height: 70px;
    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;
}

/* Bottom Tape - Fixed positioning */
.polaroid-frame::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) rotate(-3deg) scaleX(-1);
    width: 300px;
    height: 70px;
    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;
}

/* 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);
}

/* 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 */
.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;
    margin-top: 0;
}

.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);
}

/* Tablet - Smaller but same 2:1 ratio */
@media (max-width: 768px) {
    body, html {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    section,
    .page {
        height: auto !important;
        min-height: 100vh !important;
        overflow-y: auto !important;
        position: relative !important;
        padding-top: 5rem !important;
        padding-bottom: 10rem !important;
    }

    .polaroid-frame {
        padding: 15px;
        padding-bottom: 30px;
        max-width: 400px;
    }

    .grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .page .grid {
        display: flex !important;
        flex-direction: column !important;
    }

    .grid-cols-2,
    .grid-cols-3 {
        grid-template-columns: 1fr !important;
        display: grid !important;
    }

    .gap-16,
    .gap-8,
    .gap-0 {
        gap: 1rem !important;
    }

    .px-32,
    .px-16,
    .px-8 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    img {
        max-height: 50vh !important;
        height: auto !important;
    }

    .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-arrow {
        font-size: 4rem !important;
        top: 80%;
    }

    .slider-arrow.left {
        left: 0.5rem !important;
    }

    .slider-arrow.right {
        right: 0.5rem !important;
    }

    .slider-container {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .connect-cta {
        font-size: 1.5rem !important;
    }

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

    .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;
    }
}

/* Mobile - Even smaller but same 2:1 ratio */
@media (max-width: 480px) {
    .polaroid-frame {
        padding: 12px;
        padding-bottom: 24px;
        max-width: 100%;
    }
}