/* ==========================================================================
   Talent Wave Studios - Cinematic Design System & Stylesheet
   ========================================================================== */

/* 1. Global Variables & Palette Setup */
:root {
    /* Brand Color Scheme */
    --clr-navy-dark: #010a1b;
    --clr-navy-base: #012E8B;
    --clr-ocean-blue: #033BAC;
    --clr-royal-blue: #096AD9;
    --clr-electric-blue: #008FEE;
    --clr-bright-cyan: #00ACFB;
    --clr-aqua-cyan: #01C6FF;
    
    /* Neutral Grays and Backgrounds */
    --clr-bg-black: #00040a;
    --clr-bg-deep: #010714;
    --clr-bg-panel: #02112b;
    --clr-bg-card: rgba(2, 17, 43, 0.45);
    --clr-text-primary: #FFFFFF;
    --clr-text-secondary: #EAF8FF;
    --clr-text-muted: #87A2C7;
    
    /* Glares and Borders */
    --border-glass: rgba(1, 198, 255, 0.15);
    --border-glass-hover: rgba(1, 198, 255, 0.35);
    --glow-cyan: 0 0 25px rgba(1, 198, 255, 0.3);
    --glow-cyan-strong: 0 0 35px rgba(1, 198, 255, 0.55);
    --grad-primary: linear-gradient(135deg, var(--clr-ocean-blue) 0%, var(--clr-electric-blue) 50%, var(--clr-aqua-cyan) 100%);
    --grad-dark-overlay: linear-gradient(to bottom, rgba(0, 4, 10, 0.6) 0%, rgba(0, 4, 10, 0.95) 100%);
    
    /* Layout Variables */
    --nav-height: 110px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 2. Resets & Base Elements */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-bg-black);
    color: var(--clr-text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

p {
    text-align: justify;
}

.section-header.center .section-subtitle,
.node-tooltip {
    text-align: center;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    background: none;
    border: none;
    outline: none;
}

ul {
    list-style: none;
}

/* 3. Typography & Titles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--clr-text-primary);
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--clr-electric-blue) 0%, var(--clr-aqua-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-tag {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--clr-aqua-cyan);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin-bottom: 50px;
}

.section-header.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* 4. Common Utility Components (Buttons, Badges) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.02em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--clr-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--glow-cyan-strong);
    border-color: var(--clr-text-primary);
}

.btn-glow {
    animation: buttonGlowPulse 4s infinite alternate ease-in-out;
}

@keyframes buttonGlowPulse {
    0% { box-shadow: 0 0 10px rgba(1, 198, 255, 0.35), inset 0 0 5px rgba(1, 198, 255, 0.2); }
    50% { box-shadow: 0 0 25px rgba(1, 198, 255, 0.65), 0 0 10px var(--clr-electric-blue), inset 0 0 8px rgba(1, 198, 255, 0.4); }
    100% { box-shadow: 0 0 10px rgba(1, 198, 255, 0.35), inset 0 0 5px rgba(1, 198, 255, 0.2); }
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--clr-text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--clr-aqua-cyan);
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 5px 20px rgba(1, 198, 255, 0.15);
}

.tagline-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: rgba(1, 46, 139, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--clr-text-secondary);
    transition: var(--transition-smooth);
}

.tagline-badge:hover {
    border-color: var(--clr-aqua-cyan);
    box-shadow: var(--glow-cyan);
    transform: scale(1.02);
}

/* Ambient Cinematic Background Lighting Elements */
.ambient-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
}

.orb-cyan {
    background: radial-gradient(circle, var(--clr-aqua-cyan) 0%, transparent 70%);
}

.orb-navy {
    background: radial-gradient(circle, var(--clr-royal-blue) 0%, transparent 70%);
}

.orb-electric {
    background: radial-gradient(circle, var(--clr-electric-blue) 0%, transparent 70%);
}

.cinematic-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(1, 198, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(1, 198, 255, 0.02) 1px, transparent 1px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 1;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--clr-aqua-cyan);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--clr-aqua-cyan);
    animation: pulseGlow 2s infinite;
}

/* 5. Navigation Bar Header */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

#main-header.scrolled {
    background: #FFFFFF;
    border-bottom: 1px solid rgba(1, 10, 27, 0.08);
    height: 80px;
    box-shadow: 0 4px 30px rgba(0, 4, 10, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-img {
    height: 90px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    transition: var(--transition-smooth);
}

#main-header.scrolled .brand-logo-img {
    height: 55px;
}

/* Header Logo Toggle States */
.logo-color {
    display: none;
}
.logo-white {
    display: block;
}
#main-header.scrolled .logo-color {
    display: block;
}
#main-header.scrolled .logo-white {
    display: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.1em;
    line-height: 1.1;
    color: var(--clr-text-primary);
}

.brand-sub {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.35em;
    color: var(--clr-text-muted);
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--clr-text-muted);
    letter-spacing: 0.05em;
    position: relative;
    padding: 8px 0;
    transition: var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--clr-text-primary);
}

#main-header.scrolled .nav-menu a {
    color: rgba(1, 10, 27, 0.6);
}

#main-header.scrolled .nav-menu a:hover,
#main-header.scrolled .nav-menu a.active {
    color: var(--clr-navy-dark);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--clr-electric-blue), var(--clr-aqua-cyan));
    transition: var(--transition-smooth);
}

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

.btn-nav-cta {
    padding: 8px 20px;
    font-size: 13px;
    background: rgba(1, 143, 238, 0.1);
    border: 1px solid var(--clr-electric-blue);
    color: var(--clr-text-primary);
}

.btn-nav-cta:hover {
    background: var(--grad-primary);
    box-shadow: var(--glow-cyan);
    border-color: transparent;
}

#main-header.scrolled .btn-nav-cta {
    background: var(--clr-navy-base);
    border-color: var(--clr-navy-base);
    color: var(--clr-text-primary);
}

#main-header.scrolled .btn-nav-cta:hover {
    background: var(--clr-ocean-blue);
    border-color: var(--clr-ocean-blue);
    box-shadow: 0 4px 12px rgba(3, 59, 172, 0.2);
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--clr-text-primary);
    transition: var(--transition-smooth);
}

#main-header.scrolled .mobile-nav-toggle .bar {
    background-color: var(--clr-navy-dark);
}

/* 6. Hero Section styling */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    background-color: var(--clr-bg-black);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    filter: brightness(0.6) saturate(0.85);
    z-index: 1;
}

.hero-glow-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 40%, rgba(3, 59, 172, 0.25) 0%, rgba(0, 4, 10, 0) 60%),
                radial-gradient(circle at 20% 70%, rgba(1, 198, 255, 0.1) 0%, rgba(0, 4, 10, 0) 50%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-text-wrapper {
    max-width: 720px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--clr-text-secondary);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 5;
    opacity: 0.7;
}

.mouse-icon {
    width: 24px;
    height: 38px;
    border: 2px solid var(--clr-text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--clr-aqua-cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}

.scroll-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--clr-text-muted);
}

/* 7. About Section styling */
.about-section {
    padding: 120px 0;
    background-color: var(--clr-bg-deep);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.about-left-text .section-desc {
    font-size: 18px;
    color: var(--clr-text-secondary);
    margin-bottom: 30px;
}

.about-left-text .section-desc-sub {
    color: var(--clr-text-muted);
    font-size: 15px;
    margin-top: 30px;
}

.visual-statement {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 24px 0;
}

.statement-word {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(20px);
}

.about-section.animated .statement-word {
    animation: revealWord 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#word-ideas { animation-delay: 0.1s !important; color: var(--clr-ocean-blue); }
#word-frames { animation-delay: 0.3s !important; color: var(--clr-electric-blue); }
#word-stories { animation-delay: 0.5s !important; color: var(--clr-aqua-cyan); }

.image-wrapper-glowing {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.editorial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: brightness(0.9);
}

.image-wrapper-glowing:hover .editorial-img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.image-lens-flare {
    position: absolute;
    top: 20%;
    left: 15%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(1, 198, 255, 0.65) 0%, rgba(1, 198, 255, 0) 70%);
    opacity: 0.6;
    pointer-events: none;
    mix-blend-mode: screen;
    animation: flarePulse 4s infinite alternate;
}

/* 8. What We Do Section */
.what-we-do-section {
    padding: 120px 0;
    background-color: var(--clr-bg-black);
    position: relative;
}

.phases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.phase-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--clr-bg-panel);
    border: 1px solid var(--border-glass);
    height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    transition: var(--transition-smooth);
    z-index: 1;
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-url);
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    filter: saturate(0.2) brightness(0.5);
    transition: var(--transition-smooth);
    z-index: -2;
}

.card-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--clr-bg-panel) 0%, rgba(2, 17, 43, 0.9) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: -1;
    transition: var(--transition-smooth);
}

.phase-number {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--clr-aqua-cyan);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 12px;
}

.phase-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
}

.phase-desc {
    font-size: 14px;
    color: var(--clr-text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.phase-list {
    font-size: 13px;
    color: var(--clr-text-secondary);
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.phase-list li {
    position: relative;
    padding-left: 16px;
}

.phase-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--clr-electric-blue);
}

.card-border-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-navy-base), var(--clr-aqua-cyan));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

/* Hover States for Phase Card */
.phase-card:hover {
    transform: translateY(-8px);
    border-color: rgba(1, 198, 255, 0.4);
    box-shadow: var(--glow-cyan);
}

.phase-card:hover::before {
    opacity: 0.35;
    transform: scale(1.05);
    filter: saturate(0.85) brightness(0.85);
}

.phase-card:hover .card-bg-overlay {
    background: linear-gradient(to top, rgba(1, 10, 27, 0.95) 0%, rgba(1, 10, 27, 0.7) 100%);
}

.phase-card:hover .phase-list {
    opacity: 1;
    max-height: 200px;
}

.phase-card:hover .card-border-glow {
    transform: scaleX(1);
}

/* 9. Dedicated Services Section */
.services-section {
    padding: 120px 0;
    background-color: var(--clr-bg-deep);
    border-top: 1px solid var(--border-glass);
}

.services-editorial-layout {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-cat-block {
    display: grid;
    grid-template-columns: 0.3fr 1.7fr;
    gap: 40px;
}

.cat-block-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--clr-aqua-cyan);
    letter-spacing: 0.05em;
    border-left: 2px solid var(--clr-electric-blue);
    padding-left: 16px;
    height: fit-content;
}

.services-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--clr-text-primary);
}

.service-item-text {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

/* 10. Production Capabilities Section (Pipeline Progress) */
.capabilities-section {
    padding: 120px 0;
    background-color: var(--clr-bg-black);
    position: relative;
    overflow: hidden;
}

.pipeline-container {
    position: relative;
    margin-top: 80px;
    padding: 40px 0;
}

.pipeline-progress-bar {
    position: absolute;
    top: 52px;
    left: 5%;
    right: 5%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1;
    border-radius: 2px;
}

.progress-bar-fill {
    height: 100%;
    width: 12.5%; /* Initial value (1 out of 9 steps) */
    background: linear-gradient(90deg, var(--clr-ocean-blue), var(--clr-aqua-cyan));
    box-shadow: 0 0 15px var(--clr-aqua-cyan);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pipeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.pipeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 10%;
    text-align: center;
    cursor: pointer;
}

.node-circle {
    width: 28px;
    height: 28px;
    background-color: var(--clr-bg-black);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}

.node-num {
    font-size: 11px;
    font-weight: 600;
    color: var(--clr-text-muted);
    transition: var(--transition-smooth);
}

.node-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--clr-text-muted);
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.node-tooltip {
    font-size: 11px;
    color: var(--clr-aqua-cyan);
    position: absolute;
    top: 90px;
    width: 160px;
    background-color: rgba(1, 10, 27, 0.95);
    border: 1px solid var(--border-glass);
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

/* Capabilities Node Active / Hover States */
.pipeline-node:hover .node-circle,
.pipeline-node.active .node-circle {
    border-color: var(--clr-aqua-cyan);
    box-shadow: 0 0 12px var(--clr-aqua-cyan);
    background-color: var(--clr-bg-panel);
}

.pipeline-node:hover .node-num,
.pipeline-node.active .node-num {
    color: var(--clr-text-primary);
}

.pipeline-node:hover .node-label,
.pipeline-node.active .node-label {
    color: var(--clr-text-primary);
    font-weight: 600;
}

.pipeline-node:hover .node-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* 11. What We Produce Section */
.productions-section {
    padding: 120px 0;
    background-color: var(--clr-bg-deep);
}

.produce-asymmetric-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    grid-gap: 32px;
}

/* We style it asymmetrical by spanning cards */
.produce-card.large-card {
    grid-column: span 1;
}

.produce-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 380px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

/* Direct span layout overrides */
.produce-asymmetric-grid > :nth-child(3) {
    grid-column: span 2;
    height: 320px;
}
.produce-asymmetric-grid > :nth-child(4) {
    grid-column: span 1;
}
.produce-asymmetric-grid > :nth-child(5) {
    grid-column: span 1;
}

.produce-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 4, 10, 0.95) 0%, rgba(0, 4, 10, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    transition: var(--transition-smooth);
}

.produce-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    transition: var(--transition-smooth);
}

.produce-cat-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.produce-cat-desc {
    font-size: 14px;
    color: var(--clr-text-secondary);
    max-width: 500px;
    margin-bottom: 24px;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.produce-hover-details {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.deliverables-heading {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-aqua-cyan);
    margin-bottom: 8px;
}

.deliverables-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    color: var(--clr-text-muted);
    margin-bottom: 24px;
}

.deliverables-list li {
    position: relative;
    padding-left: 12px;
}

.deliverables-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    background-color: var(--clr-electric-blue);
    border-radius: 50%;
}

.btn-view-projects {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-aqua-cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-view-projects .arrow {
    transition: transform 0.2s ease;
}

.btn-view-projects:hover .arrow {
    transform: translateX(4px);
}

/* Hover States for Produce Cards */
.produce-card:hover {
    box-shadow: var(--glow-cyan);
    border-color: rgba(1, 198, 255, 0.45);
}

.produce-card:hover .produce-overlay {
    background: linear-gradient(to top, rgba(0, 4, 10, 0.98) 0%, rgba(1, 10, 27, 0.8) 100%);
}

.produce-card:hover .produce-hover-details {
    opacity: 1;
    max-height: 300px;
}

.produce-card:hover .produce-cat-desc {
    opacity: 0.7;
    margin-bottom: 12px;
}

/* 12. Selected Work Section */
.work-section {
    padding: 120px 0;
    background-color: var(--clr-bg-black);
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
}

.section-header-row .section-header {
    margin-bottom: 0;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(2, 17, 43, 0.3);
    border: 1px solid var(--border-glass);
    padding: 6px;
    border-radius: 30px;
}

.filter-btn {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--clr-text-muted);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.filter-btn.active {
    background: var(--grad-primary);
    color: var(--clr-text-primary);
    box-shadow: 0 2px 10px rgba(0, 143, 238, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 32px;
}

.portfolio-item.featured-item {
    grid-column: span 2;
    grid-row: span 1;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    opacity: 1;
    transform: scale(1);
}

/* Filter Hide State */
.portfolio-item.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.portfolio-img-container {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background-color: var(--clr-bg-panel);
    aspect-ratio: 16/9;
}

.portfolio-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.portfolio-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(1, 10, 27, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 2;
}

.view-btn {
    width: 64px;
    height: 64px;
    background: var(--grad-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--glow-cyan-strong);
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.play-arrow {
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 14px solid var(--clr-text-primary);
    margin-left: 4px;
}

.portfolio-item:hover .portfolio-img-container img {
    transform: scale(1.04);
}

.portfolio-item:hover .portfolio-hover-overlay {
    opacity: 1;
}

.portfolio-item:hover .view-btn {
    transform: scale(1);
}

.portfolio-meta {
    padding: 20px 4px 0 4px;
}

.meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.project-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-aqua-cyan);
}

.project-year {
    font-size: 12px;
    color: var(--clr-text-muted);
}

.project-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.project-description {
    font-size: 13px;
    color: var(--clr-text-muted);
    line-height: 1.5;
}

/* 13. Showreel Section ("Watch the Wave") */
.showreel-section {
    padding: 120px 0;
    background-color: var(--clr-bg-deep);
}

.showreel-wrapper {
    position: relative;
    height: 520px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.showreel-thumbnail-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5) saturate(0.85);
    z-index: 1;
    transition: var(--transition-smooth);
}

.showreel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(1, 10, 27, 0.4) 0%, rgba(0, 4, 10, 0.8) 100%);
    z-index: 2;
}

.showreel-content {
    position: relative;
    z-index: 5;
    text-align: center;
    max-width: 600px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.play-trigger-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(1, 10, 27, 0.7);
    border: 1px solid var(--clr-aqua-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.play-icon {
    width: 24px;
    height: 24px;
    margin-left: 4px;
}

.pulse-ring,
.pulse-ring-2 {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid var(--clr-aqua-cyan);
    border-radius: 50%;
    opacity: 0;
    animation: triggerPulse 3s infinite ease-out;
}

.pulse-ring-2 {
    animation-delay: 1.5s;
}

.play-trigger-btn:hover {
    background: var(--grad-primary);
    border-color: transparent;
    box-shadow: var(--glow-cyan-strong);
    transform: scale(1.08);
}

.play-trigger-btn:hover .play-icon path {
    fill: #FFFFFF;
}

.showreel-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--clr-aqua-cyan);
    margin-bottom: 12px;
}

.showreel-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.showreel-desc {
    font-size: 15px;
    color: var(--clr-text-secondary);
    line-height: 1.6;
}

.showreel-wrapper:hover .showreel-thumbnail-bg {
    transform: scale(1.03);
}

/* 14. Workflow Section ("From Vision to Screen") */
.workflow-section {
    padding: 120px 0;
    background-color: var(--clr-bg-black);
}

.workflow-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.workflow-card {
    background-color: rgba(2, 17, 43, 0.25);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 30px 24px;
    position: relative;
    transition: var(--transition-smooth);
}

.step-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--clr-aqua-cyan);
    letter-spacing: 0.1em;
    background: rgba(1, 198, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 24px;
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.step-text {
    font-size: 13px;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

.workflow-card:hover {
    background-color: rgba(2, 17, 43, 0.4);
    border-color: rgba(1, 198, 255, 0.45);
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--glow-cyan);
}

/* 15. Why Talent Wave Studios Section */
.why-us-section {
    padding: 120px 0;
    background-color: var(--clr-bg-deep);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 80px;
    align-items: flex-start;
}

.why-us-header {
    position: sticky;
    top: 120px;
}

.why-us-header .section-desc {
    font-size: 16px;
    color: var(--clr-text-secondary);
    margin-top: 20px;
}

.differentiators-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.diff-card {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 24px;
    transition: var(--transition-smooth);
}

.diff-card:hover {
    border-bottom-color: var(--clr-aqua-cyan);
    padding-left: 12px;
}

.diff-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.diff-title::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--clr-aqua-cyan);
    border-radius: 50%;
}

.diff-desc {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

/* 16. Creative Direction Visual Section */
.creative-direction-section {
    position: relative;
    padding: 140px 0;
    background-color: var(--clr-bg-black);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.wave-bg-curves {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
}

.wave-svg {
    width: 100%;
    height: auto;
}

.creative-direction-content {
    position: relative;
    z-index: 5;
    max-width: 800px;
    padding: 20px;
}

.creative-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.creative-text {
    font-size: clamp(15px, 1.8vw, 18px);
    color: var(--clr-text-secondary);
    line-height: 1.7;
    opacity: 0.9;
}

/* SVG curve animation triggers */
.animated-curve-1 {
    animation: waveDrift 10s infinite ease-in-out alternate;
}
.animated-curve-2 {
    animation: waveDrift2 14s infinite ease-in-out alternate;
}
.animated-curve-3 {
    animation: waveDrift3 12s infinite ease-in-out alternate;
}

/* 17. Contact/Project Enquiry Form Section */
.contact-section {
    padding: 120px 0;
    background-color: var(--clr-bg-deep);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: flex-start;
}

.contact-intro {
    font-size: 16px;
    color: var(--clr-text-secondary);
    margin-top: 20px;
    margin-bottom: 48px;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.contact-detail-item {
    display: flex;
    gap: 20px;
}

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(2, 17, 43, 0.4);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-aqua-cyan);
    flex-shrink: 0;
}

.detail-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-text p {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.6;
}

.detail-text a:hover {
    color: var(--clr-aqua-cyan);
}

/* Glassmorphic Project Enquiry Form Container */
.form-container-glass {
    background: rgba(2, 17, 43, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.form-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 14px;
    color: var(--clr-text-muted);
    margin-bottom: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--clr-text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(0, 4, 10, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--clr-text-primary);
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 14px;
    transition: var(--transition-fast);
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2387A2C7' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--clr-aqua-cyan);
    box-shadow: 0 0 8px rgba(1, 198, 255, 0.25);
    background-color: rgba(0, 4, 10, 0.7);
}

/* Custom error outlines */
.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
    border-color: rgba(255, 59, 59, 0.6);
    box-shadow: 0 0 8px rgba(255, 59, 59, 0.15);
}

.error-msg {
    position: absolute;
    bottom: -18px;
    left: 2px;
    font-size: 10px;
    color: #ff3b3b;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.form-group.invalid .error-msg {
    opacity: 1;
}

.btn-submit {
    width: 100%;
    margin-top: 12px;
    border: none;
}

.submit-feedback {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
    display: none;
}

.submit-feedback.success {
    display: block;
    background-color: rgba(1, 198, 255, 0.1);
    color: var(--clr-aqua-cyan);
    border: 1px solid var(--border-glass);
}

.submit-feedback.error {
    display: block;
    background-color: rgba(255, 59, 59, 0.15);
    color: #ff3b3b;
    border: 1px solid rgba(255, 59, 59, 0.3);
}

/* 18. Footer Section */
.footer-section {
    background-color: var(--clr-bg-black);
    border-top: 1px solid var(--border-glass);
    position: relative;
    padding: 80px 0 0 0;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.brand-col .brand-statement {
    font-size: 14px;
    color: var(--clr-text-muted);
    margin-top: 24px;
    line-height: 1.6;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-aqua-cyan);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--clr-text-muted);
}

.footer-links a:hover {
    color: var(--clr-text-primary);
    padding-left: 4px;
}

.footer-contact-info {
    font-size: 14px;
    color: var(--clr-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-contact-info a:hover {
    color: var(--clr-text-primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    position: relative;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 13px;
    color: var(--clr-text-muted);
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    font-size: 13px;
    color: var(--clr-text-muted);
}

.social-links a:hover {
    color: var(--clr-aqua-cyan);
}

/* Subtle cyan bottom wave brand-line */
.bottom-cyan-wave-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--clr-navy-dark), var(--clr-aqua-cyan), var(--clr-navy-dark));
}

/* 19. Showreel Video Modal Player */
.showreel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.showreel-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 4, 10, 0.95);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background-color: var(--clr-bg-black);
    border: 1px solid var(--border-glass-hover);
    border-radius: 8px;
    overflow: hidden;
    z-index: 5;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.showreel-modal.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 32px;
    color: var(--clr-text-muted);
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--clr-text-primary);
}

.video-ratio-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.simulated-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
}

#cinema-player-canvas {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
    padding: 20px;
    z-index: 3;
}

.play-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 2px;
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
}

.play-progress {
    width: 0%;
    height: 100%;
    background: var(--clr-aqua-cyan);
    border-radius: 2px;
    transition: width 0.1s linear;
}

.controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--clr-text-muted);
}

.playback-status {
    color: var(--clr-aqua-cyan);
    font-weight: 500;
}

/* 20. Scroll-driven Revelations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 21. Keyframe Animations */
@keyframes pulseGlow {
    0% { opacity: 0.6; box-shadow: 0 0 5px var(--clr-aqua-cyan); }
    50% { opacity: 1; box-shadow: 0 0 15px var(--clr-aqua-cyan); }
    100% { opacity: 0.6; box-shadow: 0 0 5px var(--clr-aqua-cyan); }
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 20px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

@keyframes revealWord {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes flarePulse {
    from { transform: scale(1); opacity: 0.4; }
    to { transform: scale(1.15); opacity: 0.65; }
}

@keyframes triggerPulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes waveDrift {
    0% { d: path("M0,192 C240,96 480,96 720,192 C960,288 1200,288 1440,192"); }
    100% { d: path("M0,150 C240,160 480,80 720,220 C960,300 1200,240 1440,150"); }
}

@keyframes waveDrift2 {
    0% { d: path("M0,150 C240,230 480,180 720,150 C960,120 1200,200 1440,150"); }
    100% { d: path("M0,200 C240,150 480,240 720,180 C960,140 1200,160 1440,200"); }
}

@keyframes waveDrift3 {
    0% { d: path("M0,250 C360,150 720,300 1080,200 C1260,150 1380,220 1440,250"); }
    100% { d: path("M0,220 C360,190 720,250 1080,230 C1260,200 1380,250 1440,220"); }
}


/* ==========================================================================
   Responsive Adaptations (Tablet & Mobile)
   ========================================================================== */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-right-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .phases-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Reveal content on touch screens since hover isn't natural */
    .phase-card {
        height: auto;
        padding: 30px 24px;
    }
    
    .phase-card .phase-list {
        opacity: 1;
        max-height: 300px;
        margin-top: 15px;
    }
    
    .phase-card::before {
        opacity: 0.22;
        filter: saturate(0.5) brightness(0.7);
    }
    
    .services-list-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .service-cat-block {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .produce-asymmetric-grid {
        grid-template-columns: 1fr;
    }
    
    .produce-asymmetric-grid > :nth-child(n) {
        grid-column: span 1 !important;
        height: auto !important;
        min-height: 340px !important;
        padding: 30px 24px !important;
    }

    .produce-card .produce-hover-details {
        opacity: 1;
        max-height: 400px;
        margin-top: 15px;
    }

    .produce-card .produce-cat-desc {
        opacity: 0.7;
        margin-bottom: 12px;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .portfolio-item.featured-item {
        grid-column: span 2;
    }
    
    .workflow-cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .why-us-header {
        position: static;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Mobile Menu Adaptations */
    .mobile-nav-toggle {
        display: flex;
        z-index: 1100;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(0, 4, 10, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-left: 1px solid var(--border-glass);
        z-index: 1050;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .nav-menu a {
        font-size: 18px;
    }
    
    .btn-nav-cta {
        display: none;
    }
    
    /* Toggle animations */
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Grid overrides */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item.featured-item {
        grid-column: span 1;
    }
    
    .services-list-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .workflow-cards {
        grid-template-columns: 1fr;
    }
    
    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-container-glass {
        padding: 30px 24px;
    }
    
    .footer-content-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    /* Hero scaling */
    .hero-title {
        font-size: clamp(2.2rem, 5vw, 3.2rem);
    }
    
    .hero-subtitle {
        margin-bottom: 30px;
    }
    
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    /* Capabilities vertical alignment pipeline fix */
    .pipeline-container {
        padding: 20px 0 20px 40px;
        margin-top: 40px;
    }
    
    .pipeline-progress-bar {
        left: 20px;
        top: 10px;
        bottom: 10px;
        width: 3px;
        height: auto;
    }
    
    .progress-bar-fill {
        width: 100% !important;
        height: 12.5%;
        transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .pipeline-steps {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
        padding-left: 0;
    }
    
    .pipeline-node {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
        padding-left: 30px;
        text-align: left;
    }
    
    .node-circle {
        margin-bottom: 0;
        position: absolute;
        left: -23px;
        top: 0;
    }
    
    .node-tooltip {
        position: static;
        opacity: 0.85;
        transform: none !important;
        width: 100%;
        margin-top: 8px;
        border: none;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
    
    .pipeline-node .node-label {
        font-size: 15px;
    }

    /* Premium horizontal scroll filters for mobile */
    .portfolio-filters {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding: 8px 12px;
        border-radius: 20px;
        gap: 12px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .portfolio-filters::-webkit-scrollbar {
        display: none;
    }
    .filter-btn {
        flex-shrink: 0;
        padding: 6px 14px;
        font-size: 12px;
    }

    .showreel-wrapper {
        height: 340px;
    }

    .visual-statement {
        gap: 20px;
        margin: 30px 0;
        justify-content: space-between;
    }

    .statement-word {
        font-size: 1.8rem;
    }

    /* Smaller logo bounding box on small mobile */
    .brand-logo-img {
        height: 38px;
        max-width: 170px;
    }
    #main-header.scrolled .brand-logo-img {
        height: 34px;
    }

    /* Reduced paddings for mobile thumb friendliness */
    .about-section,
    .what-we-do-section,
    .services-section,
    .capabilities-section,
    .productions-section,
    .work-section,
    .showreel-section,
    .workflow-section,
    .why-us-section,
    .contact-section {
        padding: 80px 0;
    }
}
