/* =========================================
   PREMIUM CONSULTING THEME
   Hero, Nav, and Parallax System
   ========================================= */

/* --- CORE VARIABLES UPDATE --- */
:root {
    --hero-height: 100vh;
    --nav-height-scrolled: 64px;
    --nav-height-initial: 90px;
    --navy-deep: #020f18;
    --navy-transparent: rgba(5, 28, 44, 0.95);

    /* Animation Timing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- CUSTOM NAVIGATION --- */
/* --- CUSTOM NAVIGATION (Floating Pill) --- */
/* --- CUSTOM NAVIGATION (Hybrid: Blended -> Floating Pill) --- */
.nav {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    /* Initial State: Blended Full Width */
    width: 100%;
    max-width: 100%;
    /* Animatable */
    height: 90px;
    padding: 0 4rem;

    background: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);

    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* .nav.scrolled rule removed in favor of GSAP scrubbing */

/* Ensure container inside nav doesn't restrict width incorrectly */
.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo-text {
    letter-spacing: -0.03em;
    font-weight: 700;
    color: var(--white);
    /* White text for dark bg */
}

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: #020f18;
    /* Off-white links */
    transition: color 0.2s;
    margin: 0 1rem;
}

.nav-link:hover {
    color: var(--white);
}

/* Mobile Toggle Color */
.nav-toggle span {
    background-color: var(--white);
}

/* --- CONSULTING HERO SECTION --- */
.hero-consulting {
    height: var(--hero-height);
    min-height: 750px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background-color: var(--white);

    /* Mesh Gradient Background - Can serve as fallback behind video */
    background:
        radial-gradient(circle at 15% 50%, rgba(10, 124, 181, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 166, 153, 0.06) 0%, transparent 50%);
}

/* Background Video */
.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
}

/* Noise overlay */
.hero-consulting::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    /* Above video */
}

/* Architectural Grid Lines - Midground */
.hero-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    /* Above noise */
}

.hero-grid-line {
    position: absolute;
    background-color: rgba(5, 28, 44, 0.03);
}

.line-v {
    width: 1px;
    height: 100%;
    top: 0;
}

.line-h {
    height: 1px;
    width: 100%;
    left: 0;
}

.line-v:nth-child(1) {
    left: 5%;
}

.line-v:nth-child(2) {
    left: 35%;
}

.line-v:nth-child(3) {
    left: 65%;
}

.line-v:nth-child(4) {
    left: 95%;
}

.line-h:nth-child(5) {
    top: 20%;
}

.line-h:nth-child(6) {
    top: 80%;
}

/* Hero Content Layer - Centered */
.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 900px;
    /* Constrain width for better reading */
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.hero-text-col {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typography */
.hero-headline {
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    /* Slightly larger max size */
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 2.5rem;
    opacity: 0;
    /* JS reveal */
}

.hero-subhead {
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--gray-600);
    max-width: 650px;
    /* Wider reading text */
    margin-bottom: 3.5rem;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    /* JS reveal */
    transform: translateY(20px);
}

.hero-actions {
    opacity: 0;
    /* JS reveal */
    transform: translateY(20px);
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Custom Hero Button with Shine Effect */
/* Custom Hero Button with Shine Effect */
.btn-hero-glow {
    background-color: var(--navy);
    /* Default Navy */
    color: white;
    padding: 1.25rem 3.5rem;
    font-size: 1.125rem;
    border-radius: 100px;
    letter-spacing: 0.02em;
    box-shadow:
        0 4px 20px rgba(2, 15, 24, 0.25),
        /* Navy Shadow */
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-decoration: none;
}

/* Shine Layer */
.btn-hero-glow::before,
.btn-nav-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            rgba(255, 255, 255, 0.3),
            rgba(255, 255, 255, 0.1),
            transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    z-index: -1;
    pointer-events: none;
}

.btn-hero-glow:hover {
    transform: translateY(-4px) scale(1.02);
    /* Teal Glow on Hover */
    box-shadow:
        0 20px 40px rgba(0, 166, 153, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset,
        0 0 60px rgba(0, 166, 153, 0.2);
    background-color: var(--teal);
    /* Turn to Teal */
}

.btn-hero-glow:hover::before,
.btn-nav-glow:hover::before {
    left: 100%;
    /* Sweep effect */
}

/* Navbar Glow Utility (Effect Only, Keeps Size) */
.btn-nav-glow {
    position: relative;
    overflow: hidden;
    background-color: var(--navy);
    /* Default Navy */
    box-shadow: 0 4px 15px rgba(2, 15, 24, 0.2);
}

.btn-nav-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 166, 153, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    background-color: var(--teal);
    /* Turn to Teal */
}

/* Remove Visual System */
.hero-system-visual,
.system-node {
    display: none;
}

/* End simplified hero styles */

/* Parallax Sections Adjustments */
.parallax-section {
    position: relative;
    background-color: var(--white);
    z-index: 5;
    /* Sit above hero initially? No, hero z-index logic handled in JS */
}

/* Impact Grid System */
.impact-grid {
    display: flex;
    gap: 1.5rem;
    width: 100%;
    min-height: 250px;
    /* Reduced height for tighter fit */
    margin-top: 3rem;
}

.impact-card {
    position: relative;
    flex: 1;
    background-color: var(--gray-100);
    /* Standard Light Gray */
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Number Top, Text Bottom */
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    border: 1px solid transparent;
}

/* Base64 Grid Texture */
/* Base64 Grid Texture - Removed */
.impact-card-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    background: transparent;
    z-index: 0;
    transition: opacity 0.5s ease;
}

/* Header Removed */
.impact-header {
    display: none;
}

.impact-content {
    position: relative;
    z-index: 1;
    margin-top: auto;
    /* Ensure text is bottom */
}

.impact-number {
    position: relative;
    z-index: 1;
    font-size: clamp(3.5rem, 6vw, 5rem);
    font-weight: 300;
    /* Thin stylistic font */
    line-height: 1;
    letter-spacing: -0.05em;
    color: var(--navy);
    /* Brand Navy */
    margin-bottom: 0;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

    /* Default: Pushed down to appear near bottom */
    transform: translateY(40px);
}

.impact-label {
    position: absolute;
    bottom: 2rem;
    /* Match card padding */
    left: 2rem;
    /* Match card padding */
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    transition: all 0.4s ease;
    opacity: 1;
    transform: translateY(0);
    z-index: 2;
}

.impact-text {
    font-size: 1.125rem;
    line-height: 1.4;
    color: var(--gray-600);
    max-width: 240px;
    font-weight: 500;

    /* Hidden by default */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease 0.1s;
    /* Slight delay for staggered feel */
}

/* Hover Interaction: Expand & Dark Theme */
.impact-card:hover {
    flex: 1.8;
    /* Expand width */
    background-color: var(--navy);
    /* Brand Navy */
    border-color: rgba(255, 255, 255, 0.1);
}

.impact-card:hover .impact-card-bg {
    opacity: 0.05;
    /* Faint grid on dark */
    background-image: linear-gradient(rgba(255, 255, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
}

.impact-card:hover .impact-number {
    color: var(--teal);
    transform: translateY(0);
    /* Move to Top */
}

.impact-card:hover .impact-content {
    transform: translateY(0);
    opacity: 1;
}

.impact-card:hover .impact-label {
    opacity: 0;
    transform: translateY(-20px);
}

.impact-card:hover .impact-text {
    color: var(--white);
    opacity: 1;
    transform: translateY(0);
}

/* Remove old trust styles specifically */
.trust-metric {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        padding-top: 120px;
        gap: 3rem;
    }

    .hero-headline {
        font-size: 3rem;
    }

    .hero-subhead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    /* Stack Impact Grid on Tablet/Mobile */
    .impact-grid {
        flex-direction: column;
        min-height: auto;
    }

    .impact-card {
        min-height: 250px;
        width: 100%;
    }

    .impact-number {
        transform: translateY(40px);
    }
}

/* Philosophy Section Styles */
.philosophy-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.philosophy-step {
    display: flex;
    gap: 1.5rem;
    position: relative;
    /* For connecting line if needed */
}

.philosophy-badge {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background-color: var(--teal);
    /* Brand color */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 166, 153, 0.2);
}

.philosophy-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.philosophy-content p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
}

/* Dotted connecting line */
.philosophy-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 3rem;
    left: 1.5rem;
    width: 2px;
    height: calc(100% + 1rem);
    /* Extend to next badge */
    background-image: linear-gradient(to bottom, var(--gray-200) 50%, transparent 50%);
    background-size: 2px 10px;
    background-repeat: repeat-y;
    transform: translateX(-50%);
    z-index: 0;
}

/* Audience Section Styles */
.card-audience {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.card-audience h3 {
    font-size: 1.75rem;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.card-audience .tagline {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 1rem;
    min-height: 3.5rem;
    /* Alignment */
}

.card-audience-section {
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-100);
}

.card-audience-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.card-audience ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.card-audience li {
    font-size: 1rem;
    color: var(--gray-600);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    line-height: 1.5;
}

.card-audience .bullet {
    color: var(--teal);
    font-weight: bold;
}

/* Hover Pop Effect */
.card-audience:hover {
    transform: scale(1.05);
    /* Pop out */
    z-index: 10;
    /* Bring to front */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px var(--teal) inset;
    /* Deep shadow + border */
    border-color: transparent;
}

/* Services Section - Floating Icon Cards */
.card-service {
    background-color: var(--white);
    padding: 2rem 0.25rem 1.5rem 1rem;
    /* Reduced padding (Top clears floating icon) */
    border-radius: 1.5rem;
    border: 1px solid var(--gray-200);
    position: relative;
    margin-top: 2rem;
    /* Reduced top margin */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 85%;
    text-decoration: none;
}

.service-icon-wrapper {
    position: absolute;
    top: -2rem;
    /* Adjusted for new size */
    left: 2rem;
    /* Adjusted for new padding */
    width: 4rem;
    /* Reduced size */
    height: 4rem;
    /* Reduced size */
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    z-index: 2;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Inner ring for detail */
.service-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    border: 1px solid var(--gray-100);
    pointer-events: none;
}

.card-service h3 {
    font-size: 1.35rem;
    /* Slightly smaller */
    color: var(--navy);
    margin-bottom: 0.5rem;
    /* Tighter */
    margin-top: 0.5rem;
    /* Bring text up */
    font-weight: 700;
}

.card-service p {
    color: var(--gray-600);
    font-size: 0.95rem;
    /* Tighter reading size */
    line-height: 1.6;
    margin-bottom: 1rem;
    /* Reduced */
    flex-grow: 1;
    /* Push link to bottom */
}

.card-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
    /* Adjusted */
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: auto;
}

.card-link .icon {
    width: 1.15rem;
    height: 1.15rem;
    transition: transform 0.2s ease;
}

/* Hover Effects */
.card-service:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.card-service:hover .service-icon-wrapper {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 166, 153, 0.2);
    /* Teal glow */
}

.card-service:hover .card-link .icon {
    transform: translateX(4px);
}

/* Icons inside wrapper */
.service-icon-wrapper .icon {
    width: 2rem;
    /* Reduced icon size */
    height: 2rem;
    color: var(--teal);
    /* Brand color for icons */
    margin: 0;
    /* Override previous margins */
    stroke-width: 1.5;
}

/* Mobile Icon Adjustment */
@media (max-width: 768px) {
    .service-icon-wrapper {
        left: 50%;
        transform: translateX(-50%);
    }

    .card-service {
        text-align: center;
        align-items: center;
    }

    .card-service:hover .service-icon-wrapper {
        transform: translateX(-50%) scale(1.1);
    }
}

/* Redesigned White CTA Section */
.section-cta-white {
    background-color: var(--white);
    padding: 5rem 0;
    /* Generous vertical spacing */
    position: relative;
    text-align: center;
}

.cta-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    /* Gap between elements */
}

/* Outcome-focused Headline */
.cta-headline {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    /* Larger than section headers */
    line-height: 1.1;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin: 0;
}

/* Supporting Sentence */
.cta-subtext {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

/* Primary Button Override for CTA */
.btn-cta-primary {
    background-color: var(--navy);
    /* Primary Brand Color */
    color: var(--white);
    padding: 1.25rem 3rem;
    /* Generous hit area */
    border-radius: 100px;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(2, 15, 24, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(2, 15, 24, 0.25);
    background-color: var(--navy-deep);
}

.btn-cta-primary .icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.btn-cta-primary:hover .icon {
    transform: translateX(4px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .section-cta-white {
        padding: 5rem 0;
        /* Tighter on mobile */
    }

    .cta-headline {
        font-size: 2.5rem;
    }

    .btn-cta-primary {
        width: 100%;
        /* Full width button */
        justify-content: center;
    }
}

/* Footer Redesign - Card Style */
.footer-section {
    padding: 0 0 2rem 0;
    /* Space at bottom */
    background-color: var(--white);
}

.footer-card {
    background-color: #F8FAFC;
    /* Light gray/off-white */
    border-radius: 2rem;
    padding: 3rem 2.5rem 2rem 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.05);
    /* Soft elevation */
    border: 1px solid var(--gray-100);
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    /* Brand column wider */
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-desc {
    color: var(--gray-600);
    line-height: 1.6;
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-social-row {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
    border-color: var(--navy);
}

.social-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-nav-col h4 {
    color: var(--navy);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: var(--gray-600);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--teal);
}

.footer-divider {
    height: 1px;
    background-color: var(--gray-200);
    width: 100%;
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-legal-links a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--navy);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-card {
        padding: 3rem 1.5rem 2rem 1.5rem;
        border-radius: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-brand-col {
        align-items: center;
        text-align: center;
    }

    .footer-nav-col {
        text-align: center;
    }

    .footer-social-row {
        justify-content: center;
    }
}

/* ================================
   WORK / CASE STUDY CARDS
   ================================ */
.card-case {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-case:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 166, 153, 0.4) inset;
    border-color: var(--teal);
}

/* Clean Card Variation (No Border Default) */
.card-clean {
    border-color: transparent;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Typography override for Case Cards */
.card-case .eyebrow {
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.card-case h3 {
    margin-bottom: 2rem;
    font-size: 1.75rem;
    color: var(--navy);
}

.card-case-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.card-case-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.card-case-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.list-arrow li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.list-arrow .arrow {
    flex-shrink: 0;
    margin-top: 2px;
    /* Visual alignment */
}

/* ================================
   INSIGHTS CARD
   ================================ */
.card-insight {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.card-insight:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--teal);
}

.card-insight .eyebrow {
    margin-bottom: 1rem;
    color: var(--teal);
}

.card-insight h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.card-insight:hover h3 {
    color: var(--teal);
}

.card-insight .read-more {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: var(--teal);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.card-insight:hover .read-more {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .card-insight {
        padding: 2rem;
    }
}

/* ================================
   CONTACT FORM STYLES
   ================================ */
.form-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    background-color: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.filter-btn.active {
    background-color: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}

.filter-btn:focus-visible {
    outline: 2px solid var(--sky);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .form-card {
        padding: 1.5rem;
    }

    .category-filter {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
}


/* ================================
   IMPORTED ANIMATION UTILITIES
   Reference: media/style.css
   ================================ */

/* Tilt and Scale Hover Effect */
.hover-tilt-scale {
    transition: transform 0.3s ease;
}

.hover-tilt-scale:hover {
    transform: rotate(-5deg) scale(1.1);
    /* Reduced scale from 1.5 to 1.1 for consulting feel */
}

/* Simple Scale Hover */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Grayscale to Color Hover */
.hover-color-bloom {
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.hover-color-bloom:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
}



/* ================================
   HERO MARQUEE
   ================================ */
.hero-marquee-section {
    width: 100%;
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
}

.marquee-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.marquee-item:hover {
    opacity: 1;
}

.marquee-item img,
.marquee-item svg {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Ensure white icons */
}

.marquee-item span {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    /* ~18px */
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.02em;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.hero-marquee-section:hover .marquee-track {
    animation-play-state: paused;
}

/* ================================
   HERO MARQUEE
   ================================ */
.hero-marquee {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 0;
    background: linear-gradient(to top, rgba(2, 15, 24, 0.8), transparent);
    /* Subtle gradient for readability */
    z-index: 20;
    overflow: hidden;
    display: flex;
    align-items: center;
    pointer-events: none;
    /* Let clicks pass through if needed, but marquee usually interactive? user said 'clean, transparent' */
}

.marquee-track {
    display: flex;
    gap: 5rem;
    animation: marquee-scroll 40s linear infinite;
    min-width: max-content;
    will-change: transform;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.6;
    /* transition: opacity 0.3s ease; */
    /* Removed hover transition */
    /* cursor: pointer; */
    /* Removed pointer */
    /* pointer-events: auto; */
    /* Removed interactivity */
}

/* Removed hover opacity change */
/* .marquee-item:hover {
    opacity: 1;
} */

.marquee-item img,
.marquee-item svg {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    /* Force white for dark hero */
}

.marquee-item span {
    font-weight: 600;
    color: var(--white);
    font-size: 1.125rem;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover REMOVED */