/*
Theme Name: 33mmltd
Author: Antigravity
Description: Optimized video production theme
Version: 1.5.7
*/

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;500;600&display=swap');

:root {
    --bg-dark: #0e0e0e;
    --bg-light: #f3f4ef;
    --text-white: #ffffff;
    --text-grey: #4d4d4d;
    --accent: #ffffff;
    --font-primary: 'Fira Sans', sans-serif;
    --padding-x: clamp(20px, 5vw, 95px);
    --padding-x-mobile: 20px;
    --radius-sm: 8px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --transition: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--padding-x);
}

/* Home Page specific Expertise Gallery styling */
.home-expertise-gallery {
    background-color: #0E0E0E !important;
    padding-top: 30px !important;
    min-height: auto !important;
}

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

html,
body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    cursor: none;
    /* Hide default cursor */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    text-transform: uppercase;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    pointer-events: none;
    /* Let clicks pass through to content except for interactive elements */
}

.header-container {
    pointer-events: auto;
    /* Re-enable clicks for logo and menu */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
}

.logo a {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 26px;
    max-width: 180px;
    width: auto;
    display: block;
}

#menu-open-btn {
    background: transparent;
    border: none;
    color: inherit;
    cursor: none;
    /* Handled by custom cursor */
    font: inherit;
    padding: 0;
}

.menu-trigger span {
    font-weight: 600;
    letter-spacing: 0.1em;
    font-size: 16px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.plus-icon {
    color: #e63928;
    font-size: 1.2em;
    line-height: 1;
}

/* Hero */
.hero {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-marquee-wrap {
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: clamp(100px, 15vh, 200px);
    left: 0;
    z-index: 20;
    white-space: nowrap;
    pointer-events: none;
    padding: 20px 0;
}

.hero-marquee {
    display: flex;
    width: fit-content;
}

.marquee-content {
    display: flex;
    animation: marquee-scroll 120s linear infinite;
}

.marquee-content span {
    font-size: clamp(40px, 10vw, 130px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 700;
    padding-right: 80px;
    display: inline-block;
    vertical-align: middle;
}



.video-container-wrap {
    position: relative;
    z-index: 5;
}

.video-container {
    width: calc(100% - 80px);
    max-width: 1720px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    background: #000;
    overflow: hidden;
    position: relative;
}

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

/* About Section */
.about-us {
    padding: 200px var(--padding-x);
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 5;
}

.reveal-text {
    font-size: clamp(24px, 3.5vw, 52px);
    line-height: 1.2;
    color: var(--text-grey);
}

.about-link {
    display: inline-block;
    color: var(--text-white);
    text-decoration: underline;
    font-size: 14px;
    margin-top: 40px;
    letter-spacing: 0.05em;
}

/* Floating Images */
.float-img {
    position: absolute;
    width: 240px;
    overflow: hidden;
    z-index: 1;
    opacity: 1;
    pointer-events: none;
}

.img-caption {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
}

.img-1 {
    top: 5%;
    left: 2%;
    width: 180px;
}

.img-2 {
    top: 45%;
    right: 5%;
    width: 240px;
}

.img-3 {
    bottom: 5%;
    left: 10%;
    width: 200px;
}

.float-img img {
    width: 100%;
    opacity: 0.75;
    border-radius: var(--radius-sm);
    margin-bottom: 5px;
}

/* Services Section */
.services-list-section {
    padding: 60px 40px;
    background-color: #ffffff;
    color: #000;
}

.service-item {
    display: flex;
    align-items: flex-start;
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.service-num {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-right: 60px;
    padding-top: 8px;
    flex: 0 0 40px;
}

.service-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: baseline;
}

.service-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    text-transform: uppercase;
    margin: 0;
    flex: 0 0 45%;
    color: #000;
    letter-spacing: -0.02em;
}

.service-desc {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin: 0;
    max-width: 600px;
}

/* Stories Section */
.stories-slider-section {
    padding-bottom: 80px;
}

.stories-slider-section .container {
    max-width: 100%;
    padding: 0 40px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 60px;
    text-transform: none;
}

.brand-accent {
    color: #e63928;
}

.story-card {
    cursor: pointer;
    outline: none;
    display: block;
    text-decoration: none;
}

.story-card:focus {
    outline: none;
}

.story-thumb {
    aspect-ratio: 16/9;
    background: #222;
    overflow: hidden;
    position: relative;
    border-radius: var(--radius-md);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 80px;
    height: 80px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 1;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid var(--text-white);
    margin-left: 5px;
    transition: all var(--transition);
}

.story-card:hover .play-btn,
.story-card:focus .play-btn {
    background: var(--text-white);
    border-color: var(--text-white);
    transform: translate(-50%, -50%) scale(1.1);
}

.story-card:hover .play-btn::after,
.story-card:focus .play-btn::after {
    border-left-color: #000;
}

.story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.story-card:hover .story-thumb img,
.story-card:focus .story-thumb img {
    transform: scale(1.05);
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
}

.story-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: capitalize;
    color: var(--text-white);
}

/* Video Projects Listing Grid */
.video-projects-listing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 30px;
    row-gap: 50px;
}

.video-projects-listing-grid .story-card {
    width: 100% !important;
}

.video-projects-listing-grid .story-card .story-thumb {
    aspect-ratio: 16/9;
}

.video-projects-listing-grid .case-study-card .story-thumb {
    aspect-ratio: 3/4;
}

@media (max-width: 1024px) {
    .video-projects-listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .video-projects-listing-grid {
        grid-template-columns: 1fr;
        row-gap: 40px;
    }
}

.pill-button {
    padding: 6px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 11px;
    text-transform: uppercase;
}

.story-card .pill-button {
    color: var(--text-white);
}

.story-card:visited .story-meta,
.story-card:visited .story-title,
.story-card:visited .pill-button {
    color: var(--text-white);
}

/* Stories Footer */
.stories-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.slider-controls-desktop {
    display: flex;
    gap: 15px;
}

.pill-nav {
    width: 90px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all var(--transition);
    background: transparent;
    color: var(--text-white);
}

.pill-nav:hover,
.pill-nav:focus {
    background: var(--text-white);
    color: #000;
    transform: scale(1.05);
    outline: none;
}

.explore-work {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color var(--transition);
}

.explore-work:hover {
    color: #e63928;
}

/* Client Section */
.client-section {
    background-color: var(--text-white);
    color: #000;
    padding: 150px 0 100px;
    overflow: hidden;
}

.client-text-wrapper {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.client-heading {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
    text-transform: uppercase;
}

.reveal-client-word {
    color: #000000;
}

.logo-swiper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.logo-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.reveal-word,
.reveal-client-word {
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s ease;
}

.client-section .reveal-client-word {
    color: rgba(0, 0, 0, 0.2);
}

.logo-item {
    width: auto !important;
    /* Essential for slidesPerView: 'auto' */
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    height: 30px;
    width: auto;
    filter: grayscale(1) opacity(0.4);
    transition: all 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0) opacity(1);
}

/* Video Modal */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.video-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-content {
    width: 90%;
    max-width: 1000px;
    position: relative;
}

.modal-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.modal-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    line-height: 1;
    padding: 8px 12px;
    transition: opacity var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.modal-close-btn:hover,
.modal-close-btn:focus {
    opacity: 0.6;
    outline: none;
}

.menu-toggle {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    letter-spacing: 0.1em;
}

/* Hero CTA */
.hero-cta-section {
    padding: 150px 0 100px;
    text-align: center;
}

.hero-cta-title {
    font-size: clamp(40px, 8vw, 110px);
    line-height: 0.9;
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

/* Footer */
.site-footer {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: #000;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--padding-x);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
}

.brand-col {
    flex: 0 0 auto;
}

.footer-logo {
    height: 32px;
    width: auto;
    display: block;
    transition: opacity var(--transition);
}

.footer-logo-link:hover .footer-logo {
    opacity: 0.7;
}

.info-col {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.5;
    text-transform: none;
}

.contact-col {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.footer-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    transition: opacity var(--transition);
}

.footer-link:hover,
.footer-link:focus {
    opacity: 0.6;
    outline: none;
    text-decoration: underline;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    body {
        padding: 0;
    }

    .header-container {
        padding: 15px 10px;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-title {
        margin-top: 20px;
        margin-bottom: -10px;
    }

    .video-container {
        width: 100%;
        max-width: 100%;
        height: 75vh;
        border-radius: 0;
    }

    .about-us {
        padding: 60px var(--padding-x-mobile);
        min-height: auto;
    }

    .about-floating-images {
        display: none;
    }

    .about-text-container {
        width: 100%;
        max-width: 100%;
    }

    .client-text-wrapper {
        max-width: 90%;
    }

    .stories-slider-section {
        padding: 60px 0 50px;
    }

    .stories-slider-section .container {
        padding: 0 10px;
    }

    .stories-footer {
        margin-top: 40px;
        padding: 30px 0 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .pill-nav {
        width: 70px;
        height: 36px;
        font-size: 14px;
    }

    .slider-controls-desktop {
        gap: 10px;
    }

    .section-title {
        padding: 0;
        margin-bottom: 30px;
    }

    .swiper-slide.story-card {
        width: 100%;
        margin-bottom: 0;
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .story-meta {
        margin-top: 15px;
        flex-direction: column;
        align-items: flex-start;
    }

    .story-title {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .pill-button {
        margin-top: 5px;
        padding: 4px 12px;
    }

    .services-list-section {
        padding: 60px var(--padding-x-mobile);
    }

    .service-content {
        flex-direction: column;
        gap: 15px;
    }

    .service-title {
        flex: auto;
    }

    .service-desc {
        max-width: 100%;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 60px;
        padding: 0 var(--padding-x-mobile);
    }

    .contact-col {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .service-content {
        flex-direction: column;
        gap: 20px;
    }

    .service-title {
        flex: auto;
    }
}

/* ========================================
   Blog Archive & Single Post Styles
   ======================================== */

/* Blog Archive */
.blog-archive {
    background-color: var(--bg-dark);
    min-height: 100vh;
    padding: 100px var(--padding-x) 150px;
}

.blog-archive-header {
    text-align: center;
    margin-bottom: 100px;
}

.blog-archive-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--text-white);
    margin: 0;
}

.blog-grid-container {
    max-width: 1400px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.blog-card {
    background-color: transparent;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0;
    margin-bottom: 20px;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity var(--transition);
}

.blog-card:hover .blog-card-image img {
    opacity: 0.8;
}

.blog-card-title {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-white);
    margin: 0;
    transition: color var(--transition);
}

.blog-card:hover .blog-card-title {
    color: #999;
}

.no-posts-message {
    text-align: center;
    color: var(--text-white);
    font-size: 18px;
    padding: 60px 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 60px;
}

.pagination a,
.pagination span {
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.pagination a:hover,
.pagination a:focus {
    background-color: var(--text-white);
    color: var(--bg-dark);
    outline: none;
}

.pagination .current {
    background-color: var(--text-white);
    color: var(--bg-dark);
}

/* Single Blog Post */
.single-blog-post {
    background-color: var(--bg-light);
    min-height: 100vh;
}

.single-blog-hero {
    width: 100%;
    max-height: 600px;
    overflow: hidden;
}

.single-blog-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-blog-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px var(--padding-x);
}

.single-blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.single-blog-title {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #000;
    margin: 0 0 30px;
    line-height: 1.1;
}

.single-blog-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.meta-separator {
    color: #999;
}

.post-categories a {
    color: #666;
    text-decoration: none;
    transition: color var(--transition);
}

.post-categories a:hover,
.post-categories a:focus {
    color: #000;
    outline: none;
}

.single-blog-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.single-blog-content h3 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 600;
    margin: 60px 0 30px;
    color: #000;
}

.single-blog-content p {
    margin-bottom: 25px;
}

.single-blog-content a {
    color: #000;
    text-decoration: underline;
    transition: opacity var(--transition);
}

.single-blog-content a:hover,
.single-blog-content a:focus {
    opacity: 0.6;
    outline: none;
}

.single-blog-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
}

.single-blog-tags {
    text-align: center;
}

.tags-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    margin-bottom: 20px;
}

.tags-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-pill {
    display: inline-block;
    padding: 8px 20px;
    background-color: #000;
    color: var(--text-white);
    text-decoration: none;
    border-radius: 20px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition);
}

.tag-pill:hover,
.tag-pill:focus {
    background-color: #333;
    transform: translateY(-2px);
    outline: none;
}

/* Comments Section */
.single-blog-comments {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px var(--padding-x) 80px;
}

/* Related Posts */
.related-posts-section {
    background-color: var(--bg-dark);
    padding: 100px var(--padding-x);
}

.related-posts-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    text-align: center;
    color: var(--text-white);
    margin: 0 0 60px;
    text-transform: capitalize;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 1024px) {

    .blog-grid,
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .blog-archive {
        padding: 60px var(--padding-x-mobile) 100px;
    }

    .blog-archive-header {
        margin-bottom: 60px;
    }

    .blog-grid,
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .single-blog-content-wrapper {
        padding: 60px var(--padding-x-mobile);
    }

    .single-blog-header {
        margin-bottom: 40px;
    }

    .single-blog-meta {
        flex-direction: column;
        gap: 5px;
    }

    .meta-separator {
        display: none;
    }

    .single-blog-content h3 {
        margin: 40px 0 20px;
    }

    .related-posts-section {
        padding: 60px var(--padding-x-mobile);
    }

    .related-posts-title {
        margin-bottom: 40px;
    }
}



/* ========================================
   Case Study Editorial Design
   ======================================== */

/* Hero Section */
.case-study-hero-editorial {
    background-color: var(--bg-light);
    padding: 100px var(--padding-x) 0;
}

.single-case-study-editorial .hero-content {
    max-width: 1400px;
    margin: 0 auto 60px;
    text-align: center;
}

.single-case-study-editorial .hero-title {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #000;
    margin: 0 0 60px;
    line-height: 1;
}

.single-case-study-editorial .hero-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.single-case-study-editorial .meta-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.single-case-study-editorial .meta-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #999;
}

.single-case-study-editorial .meta-value {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000;
}

/* Hero Media */
.single-case-study-editorial .hero-media-container {
    width: 100%;
    position: relative;
}

.single-case-study-editorial .hero-video-wrapper,
.single-case-study-editorial .hero-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.single-case-study-editorial .hero-video-wrapper iframe,
.single-case-study-editorial .hero-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Blue Vignette Effect */
.video-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 30% at 50% 0%, rgba(59, 130, 246, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 100%, rgba(59, 130, 246, 0.4) 0%, transparent 50%);
}

/* Play Button Overlay */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

/* Description Section */
.case-study-description-editorial {
    background-color: var(--bg-light);
    padding: 120px var(--padding-x);
}

.single-case-study-editorial .description-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.single-case-study-editorial .description-content p {
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: 2;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #000;
    margin: 0 0 30px;
}

.single-case-study-editorial .description-content p:last-child {
    margin-bottom: 0;
}

.single-case-study-editorial .description-content a {
    color: #000;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.single-case-study-editorial .description-content a:hover {
    opacity: 0.6;
}

/* Gallery Section */
.case-study-gallery-editorial {
    background-color: var(--bg-light);
    padding: 0 var(--padding-x) 120px;
}

.single-case-study-editorial .gallery-heading {
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #000;
    margin: 0 0 60px;
}

.single-case-study-editorial .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.single-case-study-editorial .gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f0f0f0;
}

.single-case-study-editorial .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.single-case-study-editorial .gallery-item:hover img {
    transform: scale(1.05);
}

/* Navigation Section */
.case-study-navigation-editorial {
    background-color: var(--bg-light);
    padding: 80px var(--padding-x) 120px;
    border-top: 1px solid #e0e0e0;
}

.single-case-study-editorial .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.single-case-study-editorial .nav-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: #000;
    transition: opacity 0.3s ease;
}

.single-case-study-editorial .nav-item:hover {
    opacity: 0.6;
}

.single-case-study-editorial .nav-prev {
    flex-direction: row;
}

.single-case-study-editorial .nav-next {
    flex-direction: row-reverse;
    margin-left: auto;
}

.single-case-study-editorial .nav-thumbnail {
    width: 200px;
    height: 120px;
    overflow: hidden;
    flex-shrink: 0;
}

.single-case-study-editorial .nav-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-case-study-editorial .nav-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.single-case-study-editorial .nav-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #999;
}

.single-case-study-editorial .nav-title {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .single-case-study-editorial .hero-title {
        font-size: clamp(36px, 6vw, 80px);
    }

    .single-case-study-editorial .hero-meta-grid {
        gap: 30px;
    }

    .single-case-study-editorial .gallery-grid {
        gap: 20px;
    }

    .single-case-study-editorial .nav-container {
        flex-direction: column;
        gap: 40px;
    }

    .nav-next {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .single-case-study-editorial .hero-title {
        font-size: clamp(28px, 8vw, 48px);
        margin-bottom: 40px;
    }

    .single-case-study-editorial .hero-meta-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .case-study-description-editorial {
        padding: 80px var(--padding-x);
    }

    .single-case-study-editorial .description-content p {
        font-size: 13px;
        letter-spacing: 0.1em;
        line-height: 1.8;
    }

    .single-case-study-editorial .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .single-case-study-editorial .gallery-heading {
        margin-bottom: 40px;
    }

    .single-case-study-editorial .nav-thumbnail {
        width: 120px;
        height: 80px;
    }

    .single-case-study-editorial .nav-title {
        font-size: 14px;
    }
}

/* ======================================== */

/* Unified Modal / Lightbox Styles */
.unified-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.unified-modal-overlay.active {
    display: flex;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 50px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    z-index: 10002;
    transition: opacity 0.3s ease;
}

.modal-close:hover {
    opacity: 0.6;
}

.modal-inner {
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.modal-video-wrap,
.modal-image-wrap {
    width: 100%;
    height: 100%;
    display: none;
}

.iframe-embed-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    top: 50%;
    transform: translateY(-50%);
}

.iframe-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    transform: translateY(-50%);
    pointer-events: none;
}

.modal-arrow {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 60px;
    cursor: pointer;
    pointer-events: auto;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modal-arrow:hover {
    opacity: 0.6;
}

/* Large Play Button Overlay */
.hero-media-container {
    cursor: pointer;
    position: relative;
}

.large-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    z-index: 10;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-media-container:hover .large-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4));
}

.gallery-item {
    cursor: pointer;
}

@media (max-width: 768px) {
    .modal-close {
        top: 20px;
        right: 20px;
        font-size: 40px;
    }

    .modal-arrow {
        font-size: 40px;
        padding: 10px;
    }

    .modal-nav {
        padding: 0 10px;
    }

    .large-play-button {
        width: 80px;
        height: 80px;
    }
}

/* Case Study Background Video Section */
.case-study-bg-video-section {
    width: 100%;
    background-color: #000;
    overflow: hidden;
    line-height: 0;
}

.bg-video-container {
    position: relative;
    width: 100%;
    height: 80vh;
    /* Default height */
    overflow: hidden;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Adjusting the hero section below the video */
.case-study-bg-video-section+.case-study-hero-editorial {
    padding-top: 60px;
    /* Reduced padding when video is present */
}

@media (max-width: 1024px) {
    .bg-video-container {
        height: 65vh;
    }
}



/* Fix for header visibility on mobile and video autoplay */
.site-header {
    z-index: 1000;
    /* Ensure it stays above background videos */
}

/* Ensure background video autoplays on all platforms */
.hero-bg-video {
    pointer-events: none;
    /* Prevents accidental clicks/pauses */
}

@media (max-width: 768px) {

    /* Ensuring logo and menu are visible on mobile */
    .header-container {
        position: relative;
        z-index: 1001;
    }

    .logo a,
    .menu-trigger span {
        color: #fff !important;
        /* Force visibility against dark videos */
    }

    /* Sticky header is now global, specific mobile background handled above */
    .single-case_study .site-header {
        position: fixed;
    }
}

/* ========================================
   Custom Cursor
   ======================================== */
#custom-cursor {
    width: 20px;
    height: 20px;
    background: #e63928;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;
    mix-blend-mode: normal;
    transform: translate(-50%, -50%);
    opacity: 0;
    /* Hidden until first movement */
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, opacity 0.3s ease;
}

#custom-cursor.hover {
    width: 80px;
    height: 80px;
    background: rgba(230, 57, 40, 0.4);
}

/* Ensure links and buttons don't have default cursor pointer since we use custom one */
a,
button,
[role="button"],
.stories-footer .pill-nav {
    cursor: none !important;
}

/* ========================================
   Menu Overlay
   ======================================== */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #0e0e0e;
    z-index: 9999;
    display: none;
    /* Prevent flash on load */
    flex-direction: column;
    padding: 25px 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.menu-close {
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 16px;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    cursor: none;
}

.menu-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    flex: 1;
    align-items: center;
}

.menu-main-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item a {
    font-size: clamp(40px, 8vw, 85px);
    font-weight: 600;
    color: var(--text-white);
    text-decoration: none;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
}

.menu-item a:hover {
    color: #e63928;
    transform: translateX(10px);
}

.menu-secondary-area {
    display: flex;
    flex-direction: column;
    gap: 60px;
    align-items: flex-end;
}

.menu-secondary-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: right;
}

.menu-secondary-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease;
}

.menu-secondary-links a:hover {
    opacity: 0.7;
}

.menu-image-preview {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: block;
}

.menu-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menu-overlay.active .menu-image-preview img {
    transform: scale(1);
}

@media screen and (max-width: 768px) {

    .header-container,
    .menu-overlay {
        padding: 15px 10px;
    }

    .site-logo {
        height: 22px;
    }

    .menu-trigger span,
    .menu-close {
        font-size: 14px;
    }
}

/* Mobile Adjustments for Menu */
@media screen and (max-width: 768px) {
    .menu-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 60px;
        align-items: flex-start;
        padding-top: 80px;
        /* Give room below the logo/header */
    }

    .menu-main-links {
        gap: 25px;
    }

    .menu-item a {
        font-size: clamp(32px, 8vw, 40px);
        font-weight: 700;
        letter-spacing: -0.01em;
    }

    .menu-secondary-area {
        align-items: flex-start;
        gap: 40px;
    }

    .menu-secondary-links {
        text-align: left;
        gap: 12px;
    }

    .menu-image-preview {
        display: none;
    }

    #custom-cursor {
        display: none;
        /* Hide custom cursor on mobile touch devices */
    }

    html,
    body {
        cursor: auto;
    }
}

/* Contact Page */
.contact-page {
    position: relative;
    padding: 150px 0 100px;
    background-color: #ffffff;
    overflow: hidden;
    min-height: 100vh;
}

.contact-bg-gradient {
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    background: radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(241, 90, 41, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(0, 0, 255, 0.05) 0%, transparent 50%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
}

.contact-page .container {
    position: relative;
    z-index: 2;
}

.contact-main-title {
    font-size: clamp(60px, 15vw, 200px);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.04em;
    color: #0e0e0e;
    text-transform: uppercase;
    margin-bottom: 80px;
    text-align: left;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 60px;
    align-items: flex-start;
}

/* Honeypot hidden */
input[name="your-company-hidden"] {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    z-index: -1;
}

.contact-info-block {
    margin-bottom: 60px;
}

.section-label {
    display: block;
    font-size: 14px;
    color: #0e0e0e;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
}

.contact-link {
    font-size: clamp(24px, 3vw, 42px);
    color: #0e0e0e;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.7;
}

.bold-underline {
    border-bottom: 3px solid #0e0e0e;
    padding-bottom: 5px;
    display: inline-block;
}

.contact-address {
    font-size: 24px;
    line-height: 1.4;
    color: #0e0e0e;
}

/* Orange Form Box */
.orange-form-box {
    background-color: #f15a29;
    padding: 60px;
    color: #ffffff;
}

.orange-form-box .section-label {
    color: #ffffff;
    margin-bottom: 40px;
}

.underline-form .form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.underline-form .form-group {
    flex: 1;
    position: relative;
}

.underline-form input,
.underline-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 15px 0;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    transition: border-bottom-color 0.3s ease;
}

.underline-form input::placeholder,
.underline-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.1em;
}

.underline-form input:focus,
.underline-form textarea:focus {
    outline: none;
    border-bottom-color: #ffffff;
}

.underline-form textarea {
    resize: none;
    margin-bottom: 40px;
}

.contact-submit-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid #ffffff;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 5px 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    letter-spacing: 0.1em;
}

.contact-submit-btn:hover {
    opacity: 0.7;
}

#form-feedback {
    margin-top: 20px;
    font-size: 14px;
}

.form-feedback-success {
    color: #ffffff;
    font-weight: 600;
}

.form-feedback-error {
    color: #ffcccc;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form-col {
        grid-column: span 2;
    }
}

/* Mobile Optimizations - Contact */
@media (max-width: 768px) {
    .contact-page {
        padding: 100px 0 60px;
    }

    .contact-page .container {
        padding: 0 5px;
        /* Nearly full width */
    }

    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 60px;
    }

    /* Move Form to Top */
    .contact-form-col {
        order: -1;
    }

    .contact-col {
        width: 100%;
    }

    .contact-main-title {
        font-size: clamp(40px, 12vw, 60px);
        margin-bottom: 40px;
        text-align: center;
        letter-spacing: -0.02em;
    }

    .contact-info-block,
    .section-label,
    .contact-link,
    .contact-address {
        text-align: center;
    }

    .contact-info-block {
        margin-bottom: 40px;
    }

    .orange-form-box {
        padding: 40px 20px;
        text-align: left;
    }

    .orange-form-box .section-label {
        text-align: left;
    }

    .underline-form .form-row {
        flex-direction: column;
        gap: 20px;
    }
}

/* ========================================
   Video Brief Form - Multi-Step Conversational
   ======================================== */

.video-brief-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    padding: 80px 20px 40px;
}

.brief-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Progress Indicator */
.brief-progress {
    margin-bottom: 40px;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.brief-progress.hidden {
    opacity: 0;
    pointer-events: none;
}

.progress-text {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.progress-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    border-radius: 3px;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Form Steps */
.brief-form {
    position: relative;
}

.brief-step {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.brief-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.step-content {
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

/* Intro & Success Screens */
.intro-screen,
.success-screen {
    text-align: center;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
}

.intro-screen h1,
.success-screen h1 {
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro-sup-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    display: block;
}

.intro-subtitle,
.success-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 40px;
    max-width: 320px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin-bottom: 30px;
}

/* Question Labels */
.question-label {
    display: block;
    font-size: clamp(22px, 5vw, 28px);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 8px;
    text-transform: none;
}

.optional-tag {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.hint-text {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 20px;
}

/* Input Fields */
.brief-input,
.brief-textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: var(--font-primary);
    font-size: 18px;
    padding: 16px 0;
    margin-top: 20px;
    margin-bottom: 40px;
    transition: border-color 0.3s ease;
    outline: none;
}

.brief-input:focus,
.brief-textarea:focus {
    border-color: #fff;
}

.brief-input::placeholder,
.brief-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.brief-textarea {
    resize: vertical;
    min-height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
}

.brief-textarea:focus {
    border-color: #fff;
}

/* Choice Buttons Grid */
.choice-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0 40px;
}

.choice-btn {
    width: 100%;
    min-height: 56px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.choice-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.choice-btn.selected {
    background: #fff;
    border-color: #fff;
    color: #0e0e0e;
}

/* Step Actions (Navigation Buttons) */
.step-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.btn-primary,
.btn-secondary {
    flex: 1;
    min-height: 56px;
    padding: 16px 24px;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: #fff;
    color: #0e0e0e;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-start {
    max-width: 200px;
    flex: 0 0 auto;
    /* Prevent stretching in flex column */
}

/* Validation States */
.brief-input.error,
.brief-textarea.error {
    border-color: #ff6b6b;
}

.choice-grid.error .choice-btn {
    border-color: rgba(255, 107, 107, 0.5);
}

/* Loading State */
.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-submit.loading::after {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid transparent;
    border-top-color: #0e0e0e;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}



/* Desktop Enhancements */
@media (min-width: 768px) {
    .video-brief-page {
        padding: 100px 40px 60px;
    }

    .brief-container {
        max-width: 680px;
    }

    .choice-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .choice-btn {
        flex: 0 0 calc(50% - 6px);
    }

    .choice-grid[data-field="brief_project_type"] .choice-btn,
    .choice-grid[data-field="brief_goal"] .choice-btn,
    .choice-grid[data-field="brief_audience"] .choice-btn {
        flex: 0 0 calc(50% - 6px);
    }

    .choice-grid[data-field="brief_date_known"] .choice-btn {
        flex: 0 0 calc(33.333% - 8px);
    }

    .step-actions {
        justify-content: flex-end;
    }

    .btn-primary,
    .btn-secondary {
        flex: 0 0 auto;
        min-width: 140px;
    }
}

/* Floating Background for Intro */
.floating-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
    /* Behind everything */
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.floating-background.active {
    opacity: 1;
}

.brief-step[data-step="0"] {
    position: relative;
    /* Context for absolute children */
    overflow: hidden;
    /* Contain floats */
}

/* Ensure content stays on top */
.step-content.intro-screen {
    position: relative;
    z-index: 2;
}

.float-item {
    position: absolute;
    opacity: 0.35;
    filter: blur(4px);
    animation: floatingDrift 20s infinite linear alternate;
    width: clamp(100px, 15vw, 250px);
}

.float-item img {
    width: 100%;
    height: auto;
    display: block;
    transform: rotate(var(--rotation, 0deg));
}

/* Individual Item Positioning & Timing - Spread across 8 zones */

/* Top Left */
.float-item.item-1 {
    top: 5%;
    left: 2%;
    --rotation: -15deg;
    animation-duration: 25s;
    animation-delay: 0s;
    width: clamp(120px, 15vw, 250px);
}

/* Bottom Right */
.float-item.item-2 {
    top: auto;
    bottom: 5%;
    left: auto;
    right: 2%;
    --rotation: 10deg;
    animation-duration: 28s;
    width: clamp(140px, 18vw, 300px);
    opacity: 0.25;
}

/* Top Right */
.float-item.item-3 {
    top: 8%;
    left: auto;
    right: 5%;
    --rotation: 25deg;
    animation-duration: 22s;
    animation-delay: -5s;
    filter: blur(6px);
}

/* Bottom Left */
.float-item.item-4 {
    top: auto;
    bottom: 10%;
    left: 3%;
    --rotation: -5deg;
    animation-duration: 30s;
    animation-delay: -10s;
    opacity: 0.3;
}

/* Center Left (spread out) */
.float-item.item-5 {
    top: 45%;
    left: -2%;
    --rotation: 5deg;
    animation-duration: 35s;
    opacity: 0.15;
    filter: blur(5px);
    width: clamp(100px, 12vw, 200px);
}

/* Center Right (spread out) */
.float-item.item-6 {
    top: 55%;
    left: auto;
    right: -2%;
    --rotation: -8deg;
    animation-duration: 32s;
    animation-delay: -15s;
    opacity: 0.2;
    filter: blur(3px);
}

/* Top Center (High) */
.float-item.item-7 {
    top: -5%;
    left: 45%;
    --rotation: 15deg;
    animation-duration: 27s;
    animation-delay: -8s;
    opacity: 0.1;
    width: clamp(180px, 20vw, 350px);
    /* drift horizontally more */
}

/* Bottom Center (Low) */
.float-item.item-8 {
    top: auto;
    bottom: -5%;
    left: 55%;
    --rotation: -12deg;
    animation-duration: 38s;
    animation-delay: -2s;
    opacity: 0.15;
    filter: blur(8px);
}




/* Mobile Specific Refinements */
@media (max-width: 767px) {
    .video-brief-page {
        padding: 60px 15px 30px;
        align-items: flex-start;
        /* Better for long questions */
        padding-top: 15vh;
    }

    .intro-screen {
        min-height: 40vh;
    }

    .intro-screen h1 {
        margin-bottom: 24px;
    }

    .intro-subtitle {
        margin-bottom: 48px;
    }

    .btn-start {
        width: auto;
        min-width: 160px;
        font-size: 18px;
        letter-spacing: 1px;
    }

    .choice-grid {
        gap: 10px;
    }

    .choice-btn {
        padding: 14px 18px;
        font-size: 15px;
        min-height: 52px;
    }

    .step-actions {
        padding-bottom: 20px;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 52px;
        font-size: 15px;
    }
}

/* ========================================
   Animations
   ======================================== */

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes floatingDrift {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, 40px) rotate(2deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-1deg);
    }

    100% {
        transform: translate(10px, -30px) rotate(0deg);
    }
}

/* Info Layout Grid */
.info-layout-grid {
    display: grid;
    grid-template-columns: 80px minmax(auto, 850px);
    gap: 40px;
    margin-bottom: 60px;
    align-items: start;
    justify-content: center;
}

.info-col-left {
    padding-top: 10px;
}

.info-pill {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid #ccc;
    border-radius: 50px;
    font-size: 10px;
    color: #555;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-heading {
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    color: #000;
    margin: 0 0 30px 0;
}

.info-col-right {
    max-width: 850px;
}

.info-secondary-text {
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    color: rgba(0, 0, 0, 0.1);
    /* Start very transparent/light gray */
}

@media (max-width: 768px) {
    .info-layout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Case Study Content Grid */
.case-study-content-grid-wrap {
    background-color: #ffffff;
    width: 100%;
}

.case-study-content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    padding: 100px var(--padding-x);
    max-width: 1440px;
    margin: 0 auto;
}

.content-col {
    display: flex;
    flex-direction: column;
}

.content-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #999;
    margin-bottom: 25px;
    position: relative;
    padding-left: 0;
    margin-top: 0;
}

.content-text {
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    font-weight: 300;
    text-align: left;
}

.content-text p {
    margin-bottom: 1.5em;
}

.content-text p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .case-study-content-grid {
        gap: 40px;
        padding: 80px 40px;
    }
}

@media (max-width: 768px) {
    .case-study-content-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 60px 20px;
    }

    .content-label {
        margin-bottom: 15px;
    }
}