/* Page CSS for "home", lifted from the original inline <style>.
   Scoped to body.optic-page-home so all pages can load together. */
body.optic-page-home .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
            background-color: var(--brand-black);
        }
body.optic-page-home #hero-canvas {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            object-fit: cover;
            z-index: 1;
            opacity: 0.8;
            /* Increased visibility */
        }
body.optic-page-home .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(135deg, rgba(10, 10, 10, 0.6) 0%, rgba(14, 122, 148, 0.2) 100%);
            z-index: 2;
        }
body.optic-page-home .hero-content {
            z-index: 3;
            max-width: 800px;
            padding: 2rem;
        }
body.optic-page-home .brand-accent {
            width: 50px;
            height: 2px;
            background: var(--brand-teal);
            margin: 2rem auto;
        }
body.optic-page-home .hero p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            color: var(--teal-light);
        }
body.optic-page-home /* Services Preview */
        .services-section {
            background-color: var(--brand-black);
            position: relative;
        }
body.optic-page-home .service-card {
            background: rgba(255, 255, 255, 0.02);
            padding: 3rem 2rem;
            border: 1px solid rgba(255, 255, 255, 0.05);
            transition: all 0.4s ease;
            cursor: pointer;
        }
body.optic-page-home .service-card:hover {
            transform: translateY(-10px);
            border-color: var(--brand-teal);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }
body.optic-page-home .service-card h3 {
            color: var(--brand-teal);
            margin-bottom: 1rem;
        }
body.optic-page-home .service-card p {
            color: var(--brand-gray);
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }
body.optic-page-home /* Showreel Teaser */
        .showreel-teaser {
            padding: 8rem 0;
            background: url('https://images.unsplash.com/photo-1601506521937-0121a7fc2a6b?auto=format&fit=crop&q=80') center/cover fixed;
            text-align: center;
            position: relative;
        }
body.optic-page-home .showreel-teaser::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(10, 10, 10, 0.85);
        }
body.optic-page-home .showreel-content {
            position: relative;
            z-index: 2;
        }
body.optic-page-home .play-btn {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: transparent;
            border: 2px solid var(--brand-teal);
            color: var(--brand-teal);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 2rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }
body.optic-page-home .play-btn:hover {
            background: var(--brand-teal);
            color: var(--brand-black);
            transform: scale(1.1);
        }
body.optic-page-home /* Behind The Scenes marquee - continuous slow drift to the left. */
        .bts-marquee {
            position: relative;
            width: 100%;
            overflow: hidden;
            -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
        }
body.optic-page-home .bts-track {
            display: flex;
            width: max-content;
            gap: 10px;
            animation: bts-drift 110s linear infinite;
            will-change: transform;
        }
body.optic-page-home .bts-marquee:hover .bts-track { animation-play-state: paused; }
body.optic-page-home .bts-slide {
            flex: 0 0 auto;
            margin: 0;
            width: 420px;
            height: 350px;
            overflow: hidden;
        }
body.optic-page-home .bts-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 0.7;
            transition: opacity 0.3s ease, transform 0.6s ease;
            cursor: pointer;
            display: block;
        }
body.optic-page-home .bts-slide img:hover { opacity: 1; transform: scale(1.04); }


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


        @media (max-width: 768px) {body.optic-page-home .bts-slide { width: 280px; height: 240px; }
body.optic-page-home .bts-track { animation-duration: 80s; }

        }


        @media (prefers-reduced-motion: reduce) {body.optic-page-home .bts-track { animation: none; }
body.optic-page-home .bts-marquee { overflow-x: auto; }

        }
body.optic-page-home /* Second row drifts the opposite way. */
        .bts-track--reverse { animation-name: bts-drift-reverse; }


        @keyframes bts-drift-reverse {
            from { transform: translateX(-50%); }
            to   { transform: translateX(0); }
        }
body.optic-page-home /* ==== OPTIC client logo row ==== */
    .client-logos .logo-track { gap: 2rem; }
body.optic-page-home .client-logo {
        flex: 0 0 auto;
        width: 96px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 7px 9px;
        background: #ffffff;
        border-radius: 6px;
        box-sizing: border-box;
        filter: grayscale(100%);
        opacity: 0.55;
        transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    }
body.optic-page-home .client-logo img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
    }
body.optic-page-home .client-logo:hover {
        filter: grayscale(0%);
        opacity: 1;
        transform: translateY(-4px);
    }
body.optic-page-home .client-logo--empty {
        background: transparent;
        border: 1px dashed rgba(255,255,255,0.18);
        opacity: 0.35;
    }
body.optic-page-home .client-logo--empty span {
        font-family: var(--font-label, 'Montserrat', sans-serif);
        font-size: 0.6rem;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--brand-gray, #82817F);
    }

    @media (max-width: 768px) {body.optic-page-home .client-logo { width: 80px; height: 40px; }

    }

    /* ==== END OPTIC client logo row ==== */
    
