
/* CSS from your style.css file is now here */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #b80000;
    --dark: #0A0A0A;
    --light: #FFFFFF;
    --gray: #888888;
    --section-padding: 120px;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
    height: 100%;
    overscroll-behavior-y: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100%;
    height: 100%;
}

body.no-scroll {
    overflow: hidden;
}

.page {
    position: relative;
    overflow: clip;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

canvas#background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    z-index: -1;
    pointer-events: none;
    transform: translate3d(0, 0, 0); /* Force hardware acceleration */
}

/* --- Page Content & Transitions --- */
#page-content {
    /* background-image:
    repeating-linear-gradient(45deg, rgba(0, 102, 255, 0.05) 0, rgba(0, 102, 255, 0.05) 2px, transparent 1px, transparent 11px),
    repeating-linear-gradient(-45deg, rgba(0, 102, 255, 0.05) 0, rgba(0, 102, 255, 0.05) 2px, transparent 1px, transparent 11px); */
    transition: opacity 0.4s ease-out;
    flex: 1 0 auto;
}

footer {
    margin-top: auto;
}

section:not(#home){
     animation: page-pop-in 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}


@keyframes page-pop-in {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s, visibility 0.5s;
    visibility: hidden;
    opacity: 0;
}

.loader.visible {
    visibility: visible;
    opacity: 1;
}

.loader-text {
    font-size: 10rem;
    font-weight: 900;
    letter-spacing: -2px;
    background: linear-gradient(90deg, var(--primary), var(--light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-logo {
    width: min(320px, 70vw);
    height: auto;
    display: block;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px 50px;
    background: rgba(10, 10, 10, 0.98);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    z-index: 1001;
}

.logo img {
    width: clamp(110px, 14vw, 190px);
    height: auto;
    display: block;
}

.logo-container {
    display: flex;
    flex-direction: column;
    line-height: 1;
    align-items: flex-start;
}

.header-powered-by {
    margin-top: 2px;
    padding-left: 0;
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.54rem;
    font-weight: 600;
    letter-spacing: 0.75px;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-tag {
    display: flex;
    justify-content: space-between;
    color: var(--primary);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

.logo:hover {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.mobile-quote-nav {
    display: none;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

.contact-btn {
    background: var(--primary);
    color: var(--light);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    transform: translateY(0);
    border: none;
    cursor: pointer;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(184, 0, 0, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none; /* Hidden by default */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001; /* Above nav background, below menu */
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: var(--light);
    border-radius: 5px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}
.mobile-menu-btn.open span:nth-child(3) {
    transform: rotate(-45deg);
}


/* Page Sections General Styling */
.container {
    max-width: 1400px;
    margin: 0 auto;
}

#page-content > section {
    position: relative;
    z-index: 1;
    background: transparent; /* Make sections transparent to see canvas */
}

/* Hero Section (Home Page) */
#home {
    display: flex;
    flex-direction: column;
}

#home .hero {
    order: 0;
}

#demo-reel {
    order: 1;
}

#intro-blurb {
    order: 2;
}

#home-team {
    order: 3;
}

#intro-blurb.home-section {
    padding: clamp(80px, 9vw, 130px) 50px clamp(95px, 10vw, 150px) !important;
    min-height: auto !important;
    isolation: isolate;
}

#intro-blurb::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 15%, rgba(184, 0, 0, 0.42), transparent 42%),
        linear-gradient(135deg, rgba(184, 0, 0, 0.34), rgba(184, 0, 0, 0.1) 55%, rgba(184, 0, 0, 0.28));
    mix-blend-mode: color;
}

#intro-blurb::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.32), rgba(10, 10, 10, 0.04) 28%, rgba(10, 10, 10, 0.3)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 22px);
}

#intro-blurb > .container {
    position: relative;
    z-index: 1;
}

#intro-blurb .section-header {
    margin-bottom: clamp(44px, 5vw, 72px) !important;
}

#home-team.home-section {
    padding: clamp(90px, 10vw, 140px) 50px;
    position: relative;
    overflow: hidden;
}

#home-team::before {
    content: none;
}

#home-team > .container {
    position: relative;
    z-index: 1;
}

.home-team-intro {
    max-width: 860px;
    margin: 0 auto clamp(44px, 6vw, 78px);
    text-align: center;
}

.home-team-intro > div {
    margin-bottom: 22px;
}

.home-team-intro .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: 0;
    margin-bottom: 0;
}

.home-team-intro > p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.12rem;
    line-height: 1.75;
    max-width: 760px;
    margin: 0 auto;
}

.home-team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.home-team-card {
    position: relative;
    min-height: 0;
    overflow: visible;
    text-align: center;
}

.home-team-card.featured {
    grid-row: auto;
    min-height: 0;
}

.home-team-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.12);
    filter: saturate(0.95) contrast(1.08);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.75);
}

.home-team-card::after {
    content: none;
}

.home-team-card-info {
    padding: 18px 8px 0;
}

.home-team-card-info h3 {
    font-size: 1.35rem;
    line-height: 1.15;
    margin-bottom: 6px;
}

.home-team-card-info p {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin: 0;
}

.advantage-grid {
    align-items: stretch;
}

.advantage-item {
    height: 100%;
}

.advantage-content {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.advantage-content .digital-more-btn {
    margin-top: auto !important;
    align-self: flex-start;
}

.advantage-content p {
    margin-bottom: 22px !important;
}

.hero {
    min-height: 100vh;
    height: 100vh; /* Use height for exact viewport sizing */
    position: relative;
    background: transparent; /* Changed for canvas */
    overflow: hidden; /* Contain parallax effect */
    display: flex;
    flex-direction: column;
    will-change: transform;
}

@media (max-width: 1280px) {
    nav { padding: 15px 24px; }
    .contact-btn { display: none; }
    .mobile-menu-btn { display: flex; }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
    }

    .nav-links.mobile-open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: clamp(1.4rem, 3.2vw, 2rem);
        font-weight: 700;
        opacity: 0;
        transform: translateX(50px);
        animation: navLinkFade 0.5s ease forwards;
    }

    .nav-links.mobile-open li:nth-child(1) a { animation-delay: 0.2s; }
    .nav-links.mobile-open li:nth-child(2) a { animation-delay: 0.3s; }
    .nav-links.mobile-open li:nth-child(3) a { animation-delay: 0.4s; }
    .nav-links.mobile-open li:nth-child(4) a { animation-delay: 0.5s; }
    .nav-links.mobile-open li:nth-child(5) a { animation-delay: 0.6s; }
    .nav-links.mobile-open li:nth-child(6) a { animation-delay: 0.7s; }

    .mobile-quote-nav {
        display: block;
        margin-top: 12px;
    }

    .mobile-quote-nav a {
        background: var(--primary);
        border-radius: 50px;
        padding: 12px 30px;
    }

    .mobile-quote-nav a::after {
        display: none;
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}

@media (max-width: 768px) {
    #home {
      padding-top: 74px;
    }
    .hero {
      height: min(68vw, 54vh);
      min-height: min(68vw, 54vh);
    }
  }

.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background: rgba(10, 10, 10, 0.5);  Dark overlay */

    z-index: 1;
}

.hero-video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    /* The following ensures the video covers the area without black bars */
    width: 177.77vh; /* 100 * 16 / 9 */
    height: 56.25vw; /* 100 * 9 / 16 */
    min-width: 100%;
    min-height: 100%;
}


.hero-bg-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(46vw, 560px);
    max-height: 42vh;
    object-fit: contain;
    opacity: 0.22;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: absolute; /* Position relative to .hero */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* The key centering trick */
    width: 90%; /* Give it a width to prevent it from being too wide on small screens */
    text-align: center;
    z-index: 3;
    max-width: 1000px;
    padding: 0 20px;
    transition: transform 0.1s ease-out;
}

#typed-text {
    /* This will inherit the .highlight styles from the span */
    position: relative;
    padding-bottom: 10px !important;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    16.67% { opacity: 1; } /* 0.5s / 3s total duration */
    83.33% { opacity: 1; } /* Stay for 2s */
    100% { opacity: 0; }   /* Fade out for 0.5s */
}

@keyframes slideInOut {
    0% {
        opacity: 0;
        transform: translateY(12px);
    }
    16.67% {
        opacity: 1;
        transform: translateY(0);
    }
    83.33% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-12px);
    }
}

#main-cta h2 {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cta-ready-to {
    display: block;
    font-size: 1.15em;
    line-height: 1;
}

.cta-rotating-wrap {
    display: block;
    position: relative;
    min-height: 1.2em;
    overflow: visible;
    width: auto;
}

#cta-rotating-text {
    display: block;
    position: static;
    width: auto;
    line-height: 1.2;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 20px;
    line-height: 1.1;
    min-height: 2.5em; /* Reserves space for 2 lines to prevent content jump */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .highlight {
    background: linear-gradient(90deg, var(--primary), #e03333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-typed {
    text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.432);
}

.hero p {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.432);
}

.hero-cta {
    display: inline-flex;
    gap: 20px;
    align-items: center;
}

.cta-phone-desktop {
    display: inline;
}

.hero-logos {
    position: absolute;
    bottom:0;
    padding: 4px 8px;
    display: block;
    width: 100%;
    background: #ffffffda;
    box-sizing: border-box;
    overflow: hidden;
  }

@keyframes heroLogoMarqueeLTR {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

.hero-logos .hero-logos-track {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
    animation: heroLogoMarqueeLTR 138s linear infinite;
    will-change: transform;
}

  .hero-logos img {
    flex: 0 0 auto;
    max-width: 92px;
    min-width: 40px;
    height: auto;
    height: auto;
    object-fit: contain;
  }

.btn-primary, .btn-secondary {
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

@media (max-width: 768px) {
    .btn-primary, .btn-secondary {
        font-size: .8rem;
        padding: 10px 20px;
    }
    .cta-phone-desktop {
        display: none;
    }
  }

.btn-primary {
    background: var(--primary);
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(184, 0, 0, 0.3);
}

.btn-primary:disabled {
    background: var(--gray);
    border-color: var(--gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    border: 2px solid var(--light);
    color: var(--light);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--light);
    color: var(--dark);
}

/* Generic Section Styling */
.page-section {
    padding: var(--section-padding) 50px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.home-section {
    padding: var(--section-padding) 50px;
    position: relative;
    background: transparent;
    z-index: 5; /* Ensure it's above the hero video */
}

.client-logos-section {
    padding: 80px 0;
    background: #0F0F0F; /* Encapsulated feel */
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.logo-scroller {
    display: flex;
    width: fit-content;
}

.logo-scroller-inner {
    display: flex;
    animation: scroll-left 40s linear infinite;
}

.client-logo {
    flex-shrink: 0;
    width: 200px;
    padding: 0 40px;
}

.client-logo img {
    max-width: 100%;
    height: 40px;
    object-fit: contain;
    filter: grayscale(1) brightness(0.7);
    opacity: 0.7;
    transition: all 0.3s ease;
}

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

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

.scroll-down-container {
    position: absolute;
    bottom: 200px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    cursor: pointer;
}

@media (max-width: 768px) {
    .scroll-down-container {
      display: none !important;
    }
  }

.scroll-indicator {
    width: 36px;
    height: 60px;
    border: 2px solid var(--light);
    border-radius: 50px;
    position: relative;
    opacity: 0.7;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 10px;
    background: var(--light);
    border-radius: 3px;
    transform: translateX(-50%);
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 15px); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

.demo-reel-player {
    max-width: 1280px;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.demo-reel-player.is-playing .play-icon-overlay {
    opacity: 0;
    pointer-events: none;
}

.demo-reel-player .play-icon-overlay {
    cursor: pointer;
}

.demo-reel-player video {
    width: 100%;
    display: block;
}

.see-more-cta {
    text-align: center;
    margin-top: 60px;
}

/* Services Section */
.services { background: transparent; }

.services-hero {
    position: relative;
    overflow: visible;
    isolation: isolate;
    margin-bottom: 42px;
    padding: 40px 0 26px;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 15%, rgba(184, 0, 0, 0.42), transparent 42%),
        linear-gradient(135deg, rgba(184, 0, 0, 0.34), rgba(184, 0, 0, 0.1) 55%, rgba(184, 0, 0, 0.28));
    mix-blend-mode: color;
}

.services-hero::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.32), rgba(10, 10, 10, 0.04) 28%, rgba(10, 10, 10, 0.3)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 22px);
}

.services-hero .section-tag {
    color: var(--light);
}

.pricing-hero {
    position: relative;
    overflow: visible;
    isolation: isolate;
    margin-bottom: 42px;
    padding: 64px 0 44px;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 15%, rgba(184, 0, 0, 0.42), transparent 42%),
        linear-gradient(135deg, rgba(184, 0, 0, 0.34), rgba(184, 0, 0, 0.1) 55%, rgba(184, 0, 0, 0.28));
    mix-blend-mode: color;
}

.pricing-hero::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.32), rgba(10, 10, 10, 0.04) 28%, rgba(10, 10, 10, 0.3)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 22px);
}

.pricing-hero .section-tag {
    color: var(--light);
}

.digital {
    background: transparent;
}

.digital-hero {
    position: relative;
    overflow: visible;
    isolation: isolate;
    margin-bottom: 42px;
    padding: 64px 0 44px;
}

.digital-hero::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 15%, rgba(184, 0, 0, 0.42), transparent 42%),
        linear-gradient(135deg, rgba(184, 0, 0, 0.34), rgba(184, 0, 0, 0.1) 55%, rgba(184, 0, 0, 0.28));
    mix-blend-mode: color;
}

.digital-hero::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.32), rgba(10, 10, 10, 0.04) 28%, rgba(10, 10, 10, 0.3)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 22px);
}

.digital-hero .section-tag {
    color: var(--light);
}

.digital-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 34px 42px;
    align-items: stretch;
}

.digital-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    height: 100%;
}

.digital-card > div:last-child {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 100%;
}

.digital-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff9500;
    font-weight: 800;
    font-size: 0.9rem;
}

.digital-card h3 {
    font-size: 1.35rem;
    margin-bottom: 8px;
    color: var(--light);
}

.digital-card p {
    color: var(--gray);
    line-height: 1.7;
    margin: 0 0 12px;
}

.digital-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 7px 11px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.85);
    color: var(--light);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-size: 0.68rem;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    align-self: flex-start;
}

.digital-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
    background: rgba(255, 255, 255, 0.08);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 52px;
    margin-bottom: 84px;
}

.service-feature {
    display: flex;
    gap: 60px;
    align-items: center;
    transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
}

.service-feature.dimmed {
    opacity: 0.4;
    filter: grayscale(100%);
}

.service-feature:nth-child(even) {
    flex-direction: row-reverse;
}

.service-feature-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-feature-text h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--light);
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0.1em 0.3em;
}

.service-feature-text h3::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 100%;
    border-bottom: solid 2px white;
    opacity: 0.5;
    z-index: -1;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.2s;
}

.service-feature:not(.dimmed) .service-feature-text h3::before {
    /* Animate to full width */
    transform: scaleX(1);
}

.service-feature-text p {
    color: var(--gray);
    line-height: 1.8;
    font-size: 1.1rem;
}

.service-project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    margin-top: 8px;
    padding: 8px 13px;
    color: var(--light);
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    border-radius: 999px;
    border: 1px solid var(--primary);
    background: linear-gradient(135deg, #b80000, #8f0000);
    box-shadow: 0 8px 20px rgba(184, 0, 0, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.service-project-link:hover {
    color: var(--light);
    transform: translateY(-1px);
    background: linear-gradient(135deg, #c40000, #9b0000);
    box-shadow: 0 10px 24px rgba(184, 0, 0, 0.35);
}

.service-feature-video {
    flex: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1A1A1A;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 5px 5px 10px #00000079;
}

.service-feature-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.services-digital-cta {
    margin: 8px 0 44px;
    padding: 42px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.services-digital-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 15%, rgba(184, 0, 0, 0.42), transparent 42%),
        linear-gradient(135deg, rgba(184, 0, 0, 0.34), rgba(184, 0, 0, 0.1) 55%, rgba(184, 0, 0, 0.28));
    mix-blend-mode: color;
}

.services-digital-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.32), rgba(10, 10, 10, 0.04) 28%, rgba(10, 10, 10, 0.3)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 22px);
}

.services-digital-cta h3 {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    margin-bottom: 12px;
}

.services-digital-cta p {
    color: var(--gray);
    margin: 0 auto 24px;
    max-width: 760px;
    line-height: 1.65;
}

.services-subheader {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 100px;
    margin-bottom: 50px;
    position: relative;
}

.services-subheader::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background: rgba(255,255,255,0.2);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.service-category-card {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    transition: all 0.3s ease;
    flex-basis: 300px;
}

.service-category-card:hover {
    transform: none;
    border-color: transparent;
}

.service-category-card h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    padding-bottom: 10px;
}

.service-category-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
    opacity: 0.5;
}

.service-category-card ul {
    list-style: none;
    padding-left: 0;
}

.service-category-card ul li {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.service-category-card ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}


/* --- Portfolio Section --- */
.portfolio {
    background: transparent;
    padding-top: 86px;
}

.portfolio > .container {
    max-width: 1320px;
}

.portfolio-hero {
    display: block;
    margin-bottom: 0;
    position: relative;
    overflow: visible;
    isolation: isolate;
    padding: 64px 0 44px;
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 15%, rgba(184, 0, 0, 0.42), transparent 42%),
        linear-gradient(135deg, rgba(184, 0, 0, 0.34), rgba(184, 0, 0, 0.1) 55%, rgba(184, 0, 0, 0.28));
    mix-blend-mode: color;
}

.portfolio-hero::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.32), rgba(10, 10, 10, 0.04) 28%, rgba(10, 10, 10, 0.3)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 22px);
}

.portfolio-hero-copy {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.portfolio .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 22px;
    white-space: nowrap;
}

.portfolio .section-subtitle {
    margin: 0 auto;
    max-width: 900px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.7;
}

.portfolio-sticky-bar {
    position: sticky;
    top: 112px;
    z-index: 35;
    padding: 14px 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: none;
}

.portfolio-sticky-bar::before {
    content: none;
}

.portfolio-sticky-bar::after {
    content: none;
}

.portfolio-signal {
    margin: 0 0 10px;
    text-align: center;
    color: var(--light);
    font-size: clamp(1.2rem, 1.9vw, 1.75rem);
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.portfolio-filters {
    position: static;
    z-index: 30;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 0;
    padding: 12px;
    flex-wrap: nowrap;
    overflow-x: auto;
    background: #0a0a0a;
    border: 0;
    backdrop-filter: none;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
}

.portfolio-filters button {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.76);
    padding: 11px 18px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.9px;
    text-transform: uppercase;
    scroll-snap-align: start;
}

.portfolio-filters button:hover {
    color: var(--light);
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.1);
}

.portfolio-filters button.active {
    color: var(--light);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(184, 0, 0, 0.28);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
    gap: clamp(18px, 2.4vw, 30px);
    padding-top: 20px;
    scroll-margin-top: 150px;
}

.portfolio-card {
    cursor: pointer;
    min-width: 0;
    background: rgba(255, 255, 255, 0.035);
    border: 0;
    box-shadow: 10px 10px 20px black;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.28s ease, background 0.28s ease;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.055);
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #111;
    margin-bottom: 0;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.02) 30%, rgba(0, 0, 0, 0.62)),
        linear-gradient(45deg, rgba(184, 0, 0, 0.12), transparent 46%);
    opacity: 0.78;
    transition: opacity 0.28s ease;
    z-index: 1;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.55s ease;
    filter: saturate(0.92) contrast(1.05);
}

.portfolio-card:hover .portfolio-item img {
    transform: scale(1.055);
    filter: saturate(1.08) contrast(1.08);
}

.portfolio-card:hover .portfolio-item::after {
    opacity: 0.95;
}

.portfolio-card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 7px 10px;
    color: var(--light);
    background: rgba(8, 8, 8, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

.portfolio-card-info {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.portfolio-card-info p {
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1.1px;
    line-height: 1.35;
    text-transform: uppercase;
    margin: 0;
}

.portfolio-card-info h4 {
    font-size: clamp(1.1rem, 1.45vw, 1.45rem);
    font-weight: 800;
    color: var(--light);
    line-height: 1.15;
    letter-spacing: 0;
    margin: 0;
}

.portfolio-card-info span {
    width: fit-content;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    transition: color 0.25s ease, transform 0.25s ease;
}

.portfolio-card:hover .portfolio-card-info span {
    color: var(--light);
    transform: translateX(4px);
}

.play-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--light);
    opacity: 1;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
}

.portfolio-card .play-icon-overlay {
    top: auto;
    left: auto;
    right: 16px;
    bottom: 16px;
    transform: none;
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    opacity: 1;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    z-index: 2;
}

.portfolio-card .play-icon-overlay .portfolio-play-triangle {
    width: 0;
    height: 0;
    margin-left: 4px;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid currentColor;
}

.portfolio-card:hover .play-icon-overlay {
     background: var(--primary);
     border-color: rgba(255, 255, 255, 0.3);
     transform: scale(1.06);
}

.portfolio-title {
   display: none;
}

/* --- Portfolio Player Section (Case Study) --- */
.portfolio-player-page {
     padding: 100px 50px 120px;
     background: transparent;
}

.portfolio-player-page .container {
    padding-bottom: 56px;
}

.player-header {
    max-width: 1000px;
    margin: 30px auto 30px; /* Centered and more bottom margin */
    text-align: center;
}

.player-top-back-btn {
    display: none;
}

.player-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
}

.player-header h3 {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
}

.player-header p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px; /* Keep description from getting too wide */
    margin: 0 auto;
}

.player-main-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.player-info-column {
    flex: 1;
    min-width: 300px;
}

.player-video-column {
    flex: 2.5;
}

.current-video-info {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: 0;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 10px 10px 20px black;
    padding: 20px 18px;
}

.current-video-info h4 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.current-video-info p {
    color: var(--light);
    font-size: 1.1rem;
    line-height: 1.8;
    flex-grow: 1;
}

.back-to-portfolio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    border: 1px solid var(--gray);
    padding: 10px 20px;
    border-radius: 100px;
}

.back-to-portfolio-btn:hover {
    color: var(--light);
    border-color: var(--light);
}

.main-video-player-wrapper video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
    border: 2px #777 solid;
}

.video-load-error {
    margin-top: -20px;
    margin-bottom: 20px;
    padding: 16px 18px;
    background: rgba(184, 0, 0, 0.16);
    border: 1px solid rgba(184, 0, 0, 0.5);
    color: var(--light);
}

.video-load-error p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.82);
}

.video-load-error a {
    color: var(--light);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.video-thumbnail-strip {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.thumbnail-wrapper {
    width: 160px;
    cursor: pointer;
}

.video-thumbnail {
    position: relative;
    width: 160px;
    height: 90px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
    margin-bottom: 8px;
    overflow: hidden;
}

.thumbnail-wrapper:hover .video-thumbnail,
.thumbnail-wrapper.active .video-thumbnail {
    border-color: var(--primary);
    opacity: 1;
}

.thumbnail-title {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.3;
    transition: color 0.3s ease;
    text-align: center;
}

.thumbnail-wrapper:hover .thumbnail-title,
.thumbnail-wrapper.active .thumbnail-title {
    color: var(--light);
}

.thumbnail-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.thumbnail-wrapper.active .thumbnail-play-icon {
    opacity: 0;
}

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


/* Process Section */
.process { background: transparent; }
.process-features {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.process-feature {
    display: flex;
    gap: 60px;
    align-items: center;
}

.process-feature:nth-child(even) {
    flex-direction: row-reverse;
}

.process-feature-text {
    flex: 1;
}

.process-step-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.process-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.5;
    line-height: 1;
}

.process-feature-text h3 {
    font-size: 2.2rem;
    font-weight: 700;
}

.process-feature-text p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
}

.process-feature-image {
    flex: 1;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.process-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.process-intro.page-section {
    background: transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-bottom: 29px;
}

.process-intro::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 15%, rgba(184, 0, 0, 0.42), transparent 42%),
        linear-gradient(135deg, rgba(184, 0, 0, 0.34), rgba(184, 0, 0, 0.1) 55%, rgba(184, 0, 0, 0.28));
    mix-blend-mode: color;
}

.process-intro::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.32), rgba(10, 10, 10, 0.04) 28%, rgba(10, 10, 10, 0.3)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 22px);
}

.process-intro > .container {
    position: relative;
    z-index: 1;
}

.process-intro .section-subtitle {
    max-width: 920px;
}

.process-intro .section-header {
    margin-bottom: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* About Section */
.about { background: transparent; margin-top: 20px; }
.about-content { display: flex; gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-hero {
    position: relative;
    overflow: visible;
    isolation: isolate;
    margin-bottom: 42px;
    padding: 64px 0 44px;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 15%, rgba(184, 0, 0, 0.42), transparent 42%),
        linear-gradient(135deg, rgba(184, 0, 0, 0.34), rgba(184, 0, 0, 0.1) 55%, rgba(184, 0, 0, 0.28));
    mix-blend-mode: color;
}

.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.32), rgba(10, 10, 10, 0.04) 28%, rgba(10, 10, 10, 0.3)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 22px);
}

.about-text { flex: 1; }
.about-text h2 { font-size: 3rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 30px; }
.about-text p { color: var(--gray); font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; }

.about-image-container {
    flex: 0 0 300px; /* Give it a fixed base width */
    width: 100%;
    max-width: 300px;
}

.about-image {
    width: 100%;
    background: #1A1A1A;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-section {
    margin-top: 100px;
}

.team-section h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.team-member {
    text-align: center;
    flex-basis: 350px;
    position: relative;
    z-index: 1;
}

#team-connector-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 3px solid rgba(255,255,255,0.5);
    overflow: hidden;
    box-shadow: 20px 20px 20px #00000079;
}


.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-info h5 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 15px;
}

.team-info p {
    color: var(--gray);
    font-size: 0.95rem;
    padding: 10px;
    background: #09173380;
    box-shadow: 5px 5px 20px #00000050;
}


/* Pricing Page Section */
.pricing { background: transparent; }

.pricing-simple {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    gap: 56px;
}

.pricing-ballpark-note {
    max-width: 1240px;
    margin: 0 auto 34px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
    line-height: 1.45;
}

.pricing-group {
    display: grid;
    gap: 24px;
}

.pricing-group-header h3 {
    font-size: clamp(1.65rem, 2.3vw, 2.4rem);
    line-height: 1.1;
    margin-bottom: 8px;
}

.pricing-group-header p {
    color: rgba(255, 255, 255, 0.74);
    max-width: 760px;
}

.pricing-package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.pricing-package-card {
    position: relative;
    padding: 24px 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    flex-direction: column;
}

.pricing-package-card h4 {
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.pricing-package-card .price {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 10px;
}

.pricing-package-card.tier-bronze .price {
    color: #cd7f32;
}

.pricing-package-card.tier-silver .price {
    color: #c0c6d4;
}

.pricing-package-card.tier-gold .price {
    color: #f5c451;
}

.pricing-package-card.tier-platinum .price {
    color: #9fd5ff;
}

.pricing-package-card .fit {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 14px;
}

.pricing-package-card ul {
    list-style: none;
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    flex: 1 1 auto;
}

.pricing-package-card li {
    color: var(--light);
    font-size: 0.95rem;
    line-height: 1.4;
}

.pricing-package-card.featured {
    border-color: rgba(184, 0, 0, 0.6);
    background: linear-gradient(165deg, rgba(184, 0, 0, 0.22), rgba(255, 255, 255, 0.04));
}

.pricing-package-card .badge {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--light);
    background: rgba(10, 10, 10, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
}

.pricing-start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: auto;
    padding: 10px 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--light);
    border: 1px solid var(--primary);
    border-radius: 999px;
    background: var(--primary);
    transition: all 0.25s ease;
}

.pricing-start-btn:hover {
    background: #920000;
    border-color: #920000;
}

.pricing-addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.pricing-addon-card {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 16px;
    align-items: baseline;
}

.pricing-addon-card h4 {
    grid-column: 1 / -1;
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.pricing-addon-card p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.94rem;
}

.pricing-addon-card span {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.94rem;
}

.pricing-quote-notes {
    padding: 24px 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
}

.pricing-quote-notes h3 {
    font-size: 1.45rem;
    margin-bottom: 8px;
}

.pricing-quote-notes p {
    color: rgba(255, 255, 255, 0.76);
    max-width: 900px;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-link {
    padding: 15px 30px;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--gray);
    font-size: clamp(1rem, 1vw + 0.5rem, 1.5rem);
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.tab-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.tab-link.active {
    color: var(--light);
}

.tab-link.active::after {
    width: 100%;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.a-la-carte-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px 50px;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.a-la-carte-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    flex-basis: 500px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.a-la-carte-item h4 {
    font-size: 1rem;
    color: var(--light);
}

.a-la-carte-item .price {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
}
.a-la-carte-item p {
    color: var(--gray);
    font-size: 0.9rem;
}

.pricing-table-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    overflow-x: auto;
    backdrop-filter: blur(5px);
}
.pricing-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    line-height: 1;
    min-width: 800px; /* Ensure table has a minimum width for scrolling */
}
.pricing-table .desktop-header {
     display: table-header-group;
}
.pricing-table .mobile-header {
    display: none;
}
.pricing-table th, .pricing-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.pricing-table thead th {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    vertical-align: bottom;
}
.pricing-table th:first-child, .pricing-table td:first-child {
    text-align: left;
    font-weight: 600;
}
.package-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.package-name.bronze { color: #cd7f32; }
.package-name.silver { color: #c0c0c0; }
.package-name.gold { color: #ffd700; }
.package-name.platinum { color: #e5e4e2; }
.our-price {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}
.highlight-gold {
    position: relative;
    background-color: rgba(184, 0, 0, 0.05);
    border-left: 2px solid var(--primary);
    border-right: 2px solid var(--primary);
}
.pricing-table thead th.highlight-gold {
     border-top: 2px solid var(--primary);
}
.highlight-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--light);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}
.check-icon { color: #22c55e; font-weight: bold; }
.cross-icon { color: var(--gray); }
.market-price-row td {
    background-color: rgba(0,0,0,0.2);
    color: var(--gray);
    font-size: 0.9rem;
}
.market-price-row td.highlight-gold {
    background-color: rgba(184, 0, 0, 0.1);
}
.disclaimer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray);
    margin-top: 40px;
}

/* CTA Section */
.cta {
    padding: var(--section-padding) 50px;
    background: transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 15%, rgba(184, 0, 0, 0.42), transparent 42%),
        linear-gradient(135deg, rgba(184, 0, 0, 0.34), rgba(184, 0, 0, 0.1) 55%, rgba(184, 0, 0, 0.28));
    mix-blend-mode: color;
}
.cta::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.32), rgba(10, 10, 10, 0.04) 28%, rgba(10, 10, 10, 0.3)),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 22px);
}
.cta > .container {
    position: relative;
    z-index: 1;
}
#contact.active ~ .cta {
    display: none;
}
.cta h2 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; letter-spacing: -2px; margin-bottom: 20px; }
.cta p { font-size: 1.3rem; color: var(--gray); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Footer */
footer { position: relative; padding: 60px 50px 30px; background: #050505; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-content { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-brand-logo { width: clamp(130px, 16vw, 190px); height: auto; display: block; margin-bottom: 14px; }
.footer-brand p { color: var(--gray); line-height: 1.8; max-width: 300px; }
.footer-social-links {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}
.footer-social-links a {
    color: var(--gray);
    text-decoration: none;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease;
}
.footer-social-links a:hover {
    color: var(--light);
    border-color: var(--primary);
    background: rgba(184, 0, 0, 0.2);
}
.footer-social-links a svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: currentColor;
}
.footer-column h4 { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; color: var(--light); }
.footer-column ul { list-style: none; }
.footer-column ul li { margin-bottom: 12px; }
.footer-column ul li a { color: var(--gray); text-decoration: none; transition: color 0.3s ease; }
.footer-column ul li a:hover { color: var(--primary); }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.footer-bottom p { color: var(--gray); font-size: 0.9rem; }
.social-links { display: flex; gap: 20px; }
.social-links a { width: 40px; height: 40px; background: rgba(255, 255, 255, 0.05); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--light); text-decoration: none; transition: all 0.3s ease; }
.social-links a:hover { background: var(--primary); transform: translateY(-3px); }

#back-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary);
    color: white;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

#back-to-top-btn:hover {
    opacity: 1;
}

/* Contact Form Modal */
#form-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
#form-modal-overlay.visible {
    opacity: 1;
    visibility: visible;
}
.form-modal-content {
    background: #1a1a1a2f;
    padding: 40px;
    margin-top: 100px !important;
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
}
.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
}
.close-modal-btn:hover { color: var(--light); }
.form-step { display: none; }
.form-step.active { display: block; animation: fadeIn 0.5s ease; }
.form-header h2 { font-size: 2rem; margin-bottom: 10px; }
.form-header p { color: var(--gray); margin-bottom: 30px; }
.form-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin-bottom: 20px; }
.form-options button, .budget-options button {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--light); padding: 15px; border-radius: 10px; cursor: pointer; transition: all 0.3s; font-size: 1rem; text-align: left;
}
.form-options button:hover { background: rgba(255,255,255,0.1); border-color: var(--primary); }
.form-options button.selected,
.form-options button.selected:hover,
.form-options button.selected:focus-visible {
    background: var(--primary);
    border-color: var(--primary);
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; color: var(--gray); }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group textarea, .form-group select {
    width: 100%; padding: 15px; background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; color: var(--light); font-size: 1rem; transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23888888' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}
.form-navigation { display: flex; justify-content: space-between; margin-top: 30px; }
.privacy-disclaimer { font-size: 0.8rem; color: var(--gray); margin-top: 20px; }
.privacy-disclaimer a { color: var(--primary); }
.form-group.hidden { display: none; }

.form-options input[type="checkbox"] {
    display: none;
}

.form-options label {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--light);
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    text-align: left;
    display: block;
}

.form-options input[type="checkbox"]:hover + label {
     background: rgba(255,255,255,0.1);
     border-color: var(--primary);
}

.form-options input[type="checkbox"]:checked + label,
.form-options input[type="checkbox"]:checked:hover + label,
.form-options input[type="checkbox"]:checked + label:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.privacy-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.privacy-group input[type="checkbox"] {
   width: auto;
}
.privacy-group label {
   margin: 0;
   font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .portfolio-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .portfolio-player-page {
        padding: 90px 24px 80px;
    }

    .player-header {
        margin: 10px auto 22px;
        text-align: left;
    }

    .player-top-back-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: flex-start;
        color: var(--gray);
        border: 1px solid rgba(255, 255, 255, 0.35);
        border-radius: 100px;
        padding: 7px 14px;
        margin-bottom: 14px;
        text-decoration: none;
        font-weight: 600;
        font-size: 0.95rem;
    }

    .player-main-content {
        flex-direction: column;
        gap: 26px;
    }

    .player-main-content.no-thumbnail-strip {
        gap: 13px;
    }

    .player-video-column {
        order: 1; /* Player first on mobile */
        width: 100%;
    }

    .player-info-column {
        order: 2; /* Info second on mobile */
        margin-top: 0;
        min-width: 0;
        width: 100%;
    }

    .current-video-info h4 {
        font-size: clamp(1.45rem, 6vw, 2rem);
    }

    .current-video-info p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .back-to-portfolio-btn {
        width: 100%;
        margin-top: 22px;
    }

    .video-thumbnail-strip {
        flex-wrap: nowrap;
        gap: 12px;
        overflow-x: auto;
        padding: 2px 4px 12px;
        margin: 12px -4px 0;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .thumbnail-wrapper {
        flex: 0 0 clamp(132px, 42vw, 180px);
        width: auto;
        scroll-snap-align: start;
    }

    .video-thumbnail {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {

    .a-la-carte-item {
        flex-basis: 100%;
    }

    nav { padding: 15px 20px; }
    .contact-btn { display: none; }
    .mobile-menu-btn { display: flex; }

    .nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 999;
    }

    .nav-links.mobile-open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 2rem;
        font-weight: 700;
        opacity: 0;
        transform: translateX(50px);
        animation: navLinkFade 0.5s ease forwards;
    }

    .nav-links.mobile-open li:nth-child(1) a { animation-delay: 0.2s; }
    .nav-links.mobile-open li:nth-child(2) a { animation-delay: 0.3s; }
    .nav-links.mobile-open li:nth-child(3) a { animation-delay: 0.4s; }
    .nav-links.mobile-open li:nth-child(4) a { animation-delay: 0.5s; }
    .nav-links.mobile-open li:nth-child(5) a { animation-delay: 0.6s; }
    .nav-links.mobile-open li:nth-child(6) a { animation-delay: 0.7s; }

    .mobile-quote-nav {
        display: block;
        margin-top: 12px;
    }

    .mobile-quote-nav a {
        background: var(--primary);
        border-radius: 50px;
        padding: 12px 30px;
    }

    .mobile-quote-nav a::after {
        display: none;
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }


    .hero h1 { font-size: 1.5rem; }
    .hero-content {
        top: 54%;
        padding-top: 32px;
    }
    .hero h1 {
        letter-spacing: 0.2px;
        margin-bottom: 10px;
    }
    .hero-cta {
        margin-top: 4px;
    }
    .hero-logos {
        padding: 8px 10px;
        overflow: hidden;
        width: 100%;
        display: block;
    }
    .hero-logos.hero-logos-below-hero {
        position: relative;
        bottom: auto;
        left: auto;
        margin: 0;
        z-index: 5;
    }
    .hero-logos .hero-logos-track {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        white-space: nowrap;
        animation: heroLogoMarqueeLTR 22s linear infinite;
        will-change: transform;
    }
    .hero-logos img {
        flex: 0 0 auto;
        max-width: 85px;
        min-width: 42px;
    }
    #demo-reel.home-section {
        padding: 44px 12px 56px !important;
    }
    #demo-reel .section-title {
        line-height: 0.9 !important;
        margin-bottom: 10px !important;
    }
    .services-grid, .portfolio-grid, .stats { grid-template-columns: 1fr; }
    .about-content, .footer-content { grid-template-columns: 1fr; }
    .about-image { display: none; }
    .process-feature, .process-feature:nth-child(even) { flex-direction: column; text-align: center; }
    .page-section, .portfolio-player-page {
        padding: calc(var(--section-padding)) 20px;
    }

    #contact.page-section {
        padding: 88px 14px 40px;
    }

    #contact .form-modal-content {
        width: 100%;
        max-width: none !important;
        margin-top: 0 !important;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        max-height: none;
        overflow: visible;
    }

    #contact .form-header h2 {
        font-size: 1.65rem;
    }

    #contact .form-header p {
        margin-bottom: 22px;
    }

    .portfolio.page-section {
        padding: 104px 14px 70px;
    }

    .portfolio-hero {
        gap: 24px;
    }

    .portfolio .section-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
        line-height: 1.1;
        letter-spacing: -2px;
    }

    .portfolio .section-subtitle {
        font-size: 1rem;
        line-height: 1.62;
    }

    .portfolio .section-title {
        white-space: normal;
    }

    .portfolio-sticky-bar {
        top: 74px;
        padding: 14px 0;
    }

    .portfolio-hero-stats div {
        padding: 12px;
    }

    .portfolio-hero-stats strong {
        font-size: 1rem;
    }

    .portfolio-hero-stats span {
        font-size: 0.68rem;
    }

    #intro-blurb.home-section {
        padding: 70px 18px 90px !important;
    }

    #intro-blurb .section-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
        letter-spacing: 0;
        line-height: 1.05;
    }

    #intro-blurb .section-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    #home-team.home-section {
        padding: 76px 14px 86px;
    }

    .home-team-intro {
        display: block;
        margin-bottom: 34px;
    }

    .home-team-intro .section-title {
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: 1.05;
        letter-spacing: 0;
        margin-bottom: 20px;
    }

    .home-team-intro > p {
        font-size: 1rem;
        line-height: 1.65;
    }

    .home-team-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 12px 10px;
        overflow: visible;
        padding-bottom: 0;
    }

    .home-team-card,
    .home-team-card.featured {
        min-height: 0;
        grid-row: auto;
    }

    .home-team-grid .home-team-card:nth-child(1),
    .home-team-grid .home-team-card:nth-child(2),
    .home-team-grid .home-team-card:nth-child(3) {
        grid-column: span 2;
    }

    .home-team-grid .home-team-card:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .home-team-grid .home-team-card:nth-child(5) {
        grid-column: 4 / span 2;
    }

    .home-team-card-info {
        display: none;
    }

    .portfolio .section-tag {
        font-size: 0.72rem;
        letter-spacing: 1.4px;
        margin-bottom: 12px;
    }

    .portfolio-filters {
        position: sticky;
        top: 70px;
        z-index: 30;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        margin: 0 -14px 26px;
        padding: 10px 14px 12px;
        background: rgba(10, 10, 10, 0.92);
        backdrop-filter: blur(12px);
        border: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
    }

    .portfolio-filters button {
        flex: 0 0 auto;
        padding: 9px 16px;
        font-size: 0.88rem;
        scroll-snap-align: start;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        scroll-margin-top: 138px;
    }

    .portfolio-item {
        aspect-ratio: 16 / 10;
    }

    .portfolio-card-info {
        padding: 14px;
    }

    .portfolio-card-info h4 {
        font-size: 1.12rem;
    }

    .portfolio-card .play-icon-overlay {
        width: 46px;
        height: 46px;
    }

    .portfolio-player-page {
        padding: 86px 14px 70px;
    }

    .portfolio-player-page .container {
        width: 100%;
        padding-bottom: 72px;
    }

    .player-header h2 {
        font-size: clamp(1.45rem, 7vw, 2rem);
        line-height: 1.1;
        letter-spacing: 0;
    }

    .player-header h3 {
        font-size: 0.88rem;
        line-height: 1.35;
        margin-top: 8px;
        margin-bottom: 0;
    }

    .current-video-info {
        margin-top: 0;
        padding-top: 0;
    }

    .main-video-player-wrapper video {
        margin-bottom: 12px;
        border-width: 1px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
    }

    .thumbnail-title {
        font-size: 0.75rem;
    }

    .thumbnail-play-icon {
        width: 34px;
        height: 34px;
    }

    .cta h2 {
        font-size: clamp(2rem, 8vw, 2.65rem);
        letter-spacing: 0;
        line-height: 1.1;
    }

    /* --- Pricing Table Mobile --- */
    .pricing-table-container {
        padding: 10px;
        overflow-x: hidden;
    }
    .pricing-table {
        min-width: 100%;
    }
    .pricing-table .desktop-header {
        display: none;
    }
    .pricing-table .mobile-header {
        display: table-header-group;
    }

    .mobile-plan-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-plan-header button {
        background: none;
        border: none;
        color: var(--primary);
        font-size: 3rem;
        cursor: pointer;
        line-height: 1;
        padding: 0 10px;
    }

    .mobile-plan-details .package-name {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    .mobile-plan-details .our-price {
        font-size: 1.8rem;
    }


    .pricing-table th:first-child,
    .pricing-table td:first-child {
        width: 50%;
        padding-left: 10px;
    }
    .pricing-table th, .pricing-table td {
        width: 50%;
        padding-right: 10px;
    }

    .service-feature,
    .service-feature:nth-child(even) {
        flex-direction: column-reverse; /* Video above text on mobile */
        gap: 10px;
    }
     .service-feature-video {
        margin-top: 0;
    }

    .services-digital-cta {
        margin: 4px 0 30px;
        padding: 28px 16px;
    }

    .services-digital-cta h3 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .services-digital-cta p {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }

    .service-feature-text h3 {
        font-size: 2rem;
    }
}

.contact-alt-call {
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

.contact-alt-call h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 40px;
    color: var(--light);
}

.contact-alt-call .call-btn {
    /* Color and Background */
    background: #22c55e;
    border: 1px solid #22c55e;
    color: var(--light);
    padding: 12px 25px;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}


.contact-alt-call .call-btn:hover {
    background: #1ca84c;
    border-color: #1ca84c;
    color: var(--light);
}

.contact-alt-call .call-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.contact-alt-call .call-link:hover {
    color: var(--accent-red);
}
    .service-project-link {
        align-self: flex-start;
    }
