    /* ============================================
       1. FOUNDATION — Variables, Reset, Base
       ============================================ */
    :root {
        /* ---------- Brand (Hulabot Blue) ---------- */
        --brand:         #4f6df5;
        --brand-light:   #818cf8;
        --brand-muted:   rgba(79, 109, 245, 0.08);
        --neon-blue:     #00d4ff;
        --neon-purple:   #a855f7;

        /* ---------- Product Accents (scoped per product) ---------- */
        --mr:         #d97706;   --mr-light:   #fbbf24;
        --mr-muted:   rgba(217, 119, 6, 0.08);   --mr-surface: #fffbeb;

        --cd:         #0d9488;   --cd-light:   #2dd4bf;
        --cd-muted:   rgba(13, 148, 136, 0.08);  --cd-surface: #f0fdfa;

        --om:         #7c3aed;   --om-light:   #a78bfa;
        --om-muted:   rgba(124, 58, 237, 0.08);  --om-surface: #f5f3ff;

        --gl:         #f43f5e;   --gl-light:   #fb7185;
        --gl-muted:   rgba(244, 63, 94, 0.08);   --gl-surface: #fff1f2;

        /* ---------- Neutrals (slate) ---------- */
        --dark:    #0f172a;
        --dark-2:  #1e293b;
        --gray-50:  #f8fafc;
        --gray-100: #f1f5f9;
        --gray-200: #e2e8f0;
        --gray-400: #94a3b8;
        --gray-600: #475569;
        --gray-700: #334155;
        --gray-800: #1e293b;
        --white:   #ffffff;
        --lab-glow: rgba(79, 109, 245, 0.15);

        /* ---------- Type ----------
           Brand font: Switzer (Fontshare, free). Loaded via <link> in index.html <head>.
           System stack remains as fallback. */
        --font-sans: 'Switzer', -apple-system, BlinkMacSystemFont, 'Segoe UI',
        Roboto, 'Helvetica Neue', sans-serif;

        /* ---------- Spring physics timing (unchanged) ---------- */
        --spring-bounce: linear(
                0, 0.004, 0.016, 0.035, 0.063, 0.098, 0.141, 0.191, 0.25,
                0.316, 0.391, 0.473, 0.562, 0.658, 0.76, 0.868, 0.982,
                1.101, 1.166, 1.209, 1.215, 1.199, 1.165, 1.122, 1.075,
                1.031, 0.996, 0.973, 0.961, 0.96, 0.966, 0.979, 0.993,
                1.004, 1.011, 1.013, 1.011, 1.006, 1.002, 0.999, 1
        );
        --spring-snappy: linear(
                0, 0.009, 0.035, 0.078, 0.141, 0.223, 0.326, 0.45,
                0.594, 0.757, 0.938, 1.036, 1.089, 1.107, 1.098,
                1.071, 1.037, 1.005, 0.983, 0.972, 0.972, 0.981,
                0.993, 1.003, 1.008, 1.004, 1
        );
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }

    body {
        font-family: var(--font-sans);
        color: var(--gray-800);
        line-height: 1.6;
        -webkit-font-smoothing: antialiased;
        background: var(--dark);
    }

    /* Aurora atmosphere (Bruno) */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      z-index: -2;
      background: linear-gradient(135deg,
        rgba(79, 109, 245, 0.04) 0%,
        rgba(13, 148, 136, 0.05) 25%,
        rgba(139, 92, 246, 0.04) 50%,
        rgba(217, 119, 6, 0.03) 75%,
        rgba(79, 109, 245, 0.04) 100%
      );
      background-size: 400% 400%;
      animation: aurora-drift 20s ease-in-out infinite;
      pointer-events: none;
    }

    @keyframes aurora-drift {
      0%, 100% { background-position: 0% 50%; }
      25% { background-position: 100% 0%; }
      50% { background-position: 100% 100%; }
      75% { background-position: 0% 100%; }
    }

    /* Atmosphere particles */
    .atmosphere-particle {
      position: fixed;
      border-radius: 50%;
      pointer-events: none;
      z-index: -1;
      will-change: transform, opacity;
    }
    .atmosphere-particle--spark { animation: particle-wander var(--dur, 12s) ease-in-out infinite var(--delay, 0s); }
    .atmosphere-particle--orb   { filter: blur(2px); animation: particle-wander var(--dur, 18s) ease-in-out infinite var(--delay, 0s); }

    @keyframes particle-wander {
      0%   { transform: translate(0, 0); opacity: var(--base-op, 0.1); }
      25%  { transform: translate(var(--dx, 30px), calc(var(--range, 60px) * -0.5)); opacity: calc(var(--base-op, 0.1) * 1.4); }
      50%  { transform: translate(calc(var(--dx, 30px) * -0.5), calc(var(--range, 60px) * -1)); opacity: var(--base-op, 0.1); }
      75%  { transform: translate(calc(var(--dx, 30px) * 0.3), calc(var(--range, 60px) * -0.4)); opacity: calc(var(--base-op, 0.1) * 0.7); }
      100% { transform: translate(0, 0); opacity: var(--base-op, 0.1); }
    }

    /* Cursor glow trail (Bruno) */
    .cursor-glow {
      position: fixed;
      width: 300px;
      height: 300px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(79,109,245,0.07) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
      transform: translate(-50%, -50%);
      transition: left 0.15s ease-out, top 0.15s ease-out;
    }

    /* ============================================
       2. SCROLL PROGRESS BAR (Bruno)
       ============================================ */
    .scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      height: 3px;
      background: linear-gradient(90deg, var(--brand), var(--neon-blue), var(--neon-purple));
      box-shadow: 0 0 8px var(--neon-blue), 0 0 20px rgba(0, 212, 255, 0.3);
      width: 0%;
      z-index: 101;
      transition: width 0.1s linear;
      pointer-events: none;
    }

    /* ============================================
       3. NAVIGATION
       ============================================ */
    nav {
      position: fixed;
      top: 0;
      width: 100%;
      background: rgba(15, 23, 42, 0.92);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(79, 109, 245, 0.1);
      z-index: 100;
      padding: 0 2rem;
      transition: box-shadow 0.3s ease, border-color 0.3s ease;
    }

    nav::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--brand-light), transparent);
      background-size: 200% 100%;
      animation: nav-energy-sweep 5s linear infinite;
      opacity: 0.15;
    }

    @keyframes nav-energy-sweep {
      0% { background-position: -100% 0; }
      100% { background-position: 100% 0; }
    }

    .nav-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 72px;
    }

    .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--dark);
    }

    .logo img {
      height: 44px;
      width: 44px;
      object-fit: contain;
      animation: logo-bounce 0.6s var(--spring-bounce) 0.3s both;
      background: var(--white);
      border-radius: 10px;
      padding: 2px;
    }

    @keyframes logo-bounce {
      0% { transform: scale(0.8) rotate(-10deg); opacity: 0; }
      60% { transform: scale(1.05) rotate(2deg); opacity: 1; }
      100% { transform: scale(1) rotate(0deg); opacity: 1; }
    }

    .logo-text {
      font-size: 1.25rem;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .logo-text { color: var(--white); }
    .logo-text span { color: var(--neon-blue); }

    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      text-decoration: none;
      color: var(--gray-600);
      font-size: 0.95rem;
      font-weight: 500;
      transition: color 0.2s;
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--brand);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.4s var(--spring-bounce);
    }

    .nav-links a { color: var(--gray-400); }

    .nav-links a:hover,
    .nav-links a.active { color: var(--neon-blue); }

    .nav-links a::after { background: var(--neon-blue); }

    .nav-links a:hover::after,
    .nav-links a.active::after { transform: scaleX(1); }

    .mobile-toggle {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 12px;
      min-width: 48px;
      min-height: 48px;
    }

    .mobile-toggle span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--gray-400);
      margin: 6px 0;
      transition: 0.3s;
    }

    /* ============================================
       4. HERO
       ============================================ */
    .hero {
      padding: 10rem 2rem 5rem;
      background: var(--white);
      color: var(--dark);
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .hero .container { position: relative; z-index: 1; }

    /* Circuit board SVG background (Drasner) */
    .hero-circuit {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
    }

    /* Floating particles (Bruno + Drasner) */
    .hero-particle {
      position: absolute;
      width: 14px;
      height: 14px;
      opacity: 0.3;
      pointer-events: none;
      z-index: 0;
      transition: transform 0.15s ease-out;
      transform: translate(
        calc(var(--hero-mx, 0px) * var(--speed, 1)),
        calc(var(--hero-my, 0px) * var(--speed, 1))
      );
    }

    .hero-particle.p1 { animation: float-gentle 7s ease-in-out infinite; }
    .hero-particle.p2 { animation: float-gentle 9s ease-in-out infinite 1s; }
    .hero-particle.p3 { animation: float-gentle 8s ease-in-out infinite 2.5s; width: 18px; height: 18px; opacity: 0.2; }
    .hero-particle.p4 { animation: float-gentle 6s ease-in-out infinite 1.5s; }
    .hero-particle.p5 { animation: float-gentle 10s ease-in-out infinite 3s; width: 10px; height: 10px; }

    @keyframes float-gentle {
      0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
      25% { transform: translateY(-20px) rotate(20deg) scale(1.1); }
      50% { transform: translateY(-10px) rotate(-10deg) scale(0.95); }
      75% { transform: translateY(-28px) rotate(12deg) scale(1.05); }
    }

    /* Robot */
    .hero-robot {
      width: 140px;
      height: 140px;
      object-fit: contain;
      margin-bottom: 1.5rem;
      animation: robot-alive 3s ease-in-out infinite;
      cursor: pointer;
    }

    .hero-robot:hover {
      filter: drop-shadow(0 8px 32px rgba(79, 109, 245, 0.45));
    }

    @keyframes robot-alive {
      0%   { transform: rotate(-3deg) translateY(0px); filter: drop-shadow(0 8px 24px rgba(26,115,232,0.25)); }
      25%  { transform: rotate(0deg) translateY(-5px); filter: drop-shadow(0 10px 28px rgba(26,115,232,0.3)); }
      50%  { transform: rotate(3deg) translateY(0px); filter: drop-shadow(0 12px 32px rgba(79,109,245,0.35)); }
      75%  { transform: rotate(0deg) translateY(-3px); filter: drop-shadow(0 10px 28px rgba(26,115,232,0.3)); }
      100% { transform: rotate(-3deg) translateY(0px); filter: drop-shadow(0 8px 24px rgba(26,115,232,0.25)); }
    }

    /* Keep old name as alias for JS references */
    @keyframes hula-sway {
      0%, 100% { transform: rotate(-3deg); }
      50% { transform: rotate(3deg); }
    }

    @keyframes robot-spin {
      0% { transform: rotate(0deg) scale(1); }
      100% { transform: rotate(360deg) scale(1); }
    }

    @keyframes robot-hula-dance {
      0%   { transform: rotate(0deg) translateY(0); }
      10%  { transform: rotate(-15deg) translateY(-5px); }
      20%  { transform: rotate(15deg) translateY(0); }
      30%  { transform: rotate(-15deg) translateY(-5px); }
      40%  { transform: rotate(15deg) translateY(0); }
      50%  { transform: rotate(-20deg) translateY(-8px) scale(1.1); }
      60%  { transform: rotate(20deg) translateY(0) scale(1.1); }
      70%  { transform: rotate(-15deg) translateY(-5px); }
      80%  { transform: rotate(15deg) translateY(0); }
      90%  { transform: rotate(-5deg) translateY(-2px); }
      100% { transform: rotate(0deg) translateY(0); }
    }

    @keyframes robot-welcome {
      0%   { transform: scale(1) rotate(0deg); }
      25%  { transform: scale(1.15) rotate(-5deg); }
      50%  { transform: scale(1.1) rotate(5deg); }
      75%  { transform: scale(1.05) rotate(-2deg); }
      100% { transform: scale(1) rotate(0deg); }
    }

    /* Robot speech bubble (Bruno) */
    .robot-bubble {
      position: absolute;
      top: calc(50% - 100px);
      left: 50%;
      transform: translateX(60px) translateY(-30px) scale(0);
      background: var(--white);
      color: var(--dark);
      padding: 10px 16px;
      border-radius: 12px;
      font-size: 0.85rem;
      font-weight: 600;
      box-shadow: 0 4px 20px rgba(0,0,0,0.12);
      white-space: nowrap;
      opacity: 0;
      transition: transform 0.4s var(--spring-bounce), opacity 0.3s ease;
      pointer-events: none;
      z-index: 5;
    }

    .robot-bubble.show {
      transform: translateX(60px) translateY(-30px) scale(1);
      opacity: 1;
    }

    .robot-bubble::before {
      content: '';
      position: absolute;
      left: -8px;
      top: 50%;
      transform: translateY(-50%);
      border: 8px solid transparent;
      border-right-color: var(--white);
      border-left: 0;
    }

    .hero h1 {
      font-size: clamp(2.2rem, 5vw, 3.5rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      margin-bottom: 1.25rem;
      line-height: 1.15;
      color: var(--dark);
    }

    .hero h1 span { color: var(--brand); }

    .hero p {
      font-size: 1.15rem;
      color: var(--gray-600);
      max-width: 640px;
      margin: 0 auto 2.5rem;
      line-height: 1.7;
    }

    .hero-cta {
      display: inline-block;
      padding: 14px 36px;
      background: var(--dark);
      color: var(--white);
      text-decoration: none;
      border-radius: 8px;
      font-weight: 600;
      font-size: 1rem;
      position: relative;
      overflow: hidden;
      transition: background 0.2s, transform 0.2s;
    }

    .hero-cta:hover {
      background: var(--gray-800);
      animation: boop 0.4s var(--spring-snappy);
    }

    /* CTA pulse ring (Drasner) */
    .hero-cta::after {
      content: '';
      position: absolute;
      inset: -4px;
      border-radius: 12px;
      border: 2px solid var(--brand);
      opacity: 0;
      animation: cta-ring 3s ease-out infinite 2s;
      pointer-events: none;
    }

    @keyframes cta-ring {
      0% { transform: scale(1); opacity: 0.4; }
      100% { transform: scale(1.08); opacity: 0; }
    }

    /* CTA click ripple (Comeau) */
    .cta-ripple {
      position: absolute;
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
      transform: translate(-50%, -50%) scale(0);
      animation: ripple-expand 0.5s ease-out forwards;
      pointer-events: none;
    }

    @keyframes ripple-expand {
      to { transform: translate(-50%, -50%) scale(30); opacity: 0; }
    }

    /* Boop effect (Comeau) */
    @keyframes boop {
      0% { transform: scale(1); }
      40% { transform: scale(1.08); }
      100% { transform: scale(1); }
    }

    /* ============================================
       5. 3D CARD SYSTEM (Bruno)
       ============================================ */
    .lab-card,
    .service-card {
      will-change: transform;
      position: relative;
    }

    /* Glossy light reflection */
    .lab-card .card-gloss,
    .service-card .card-gloss {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      border-radius: inherit;
      background: radial-gradient(
        circle 300px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0) 100%
      );
      opacity: 0;
      transition: opacity 0.3s ease;
      pointer-events: none;
      z-index: 10;
    }

    .lab-card:hover .card-gloss,
    .service-card:hover .card-gloss {
      opacity: 1;
    }

    /* ============================================
       6. PRODUCT CARDS — Latest from the Lab
       ============================================ */
    #products {
      background: linear-gradient(180deg, var(--dark) 0%, #1a1f3d 100%);
      position: relative;
      overflow: hidden;
    }

    #products .section-header h2 { color: var(--white); }
    #products .section-header h2::after { background: var(--brand-light); }
    #products .section-header p { color: var(--gray-400); }

    /* Conveyor belt background */
    .factory-belt {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      pointer-events: none;
      z-index: 0;
    }

    #products .container { position: relative; z-index: 1; }

    /* Factory sparks */
    .factory-spark {
      position: absolute;
      width: 4px;
      height: 4px;
      border-radius: 50%;
      pointer-events: none;
      z-index: 0;
    }

    .factory-spark:nth-child(1) {
      background: #fbbf24;
      box-shadow: 0 0 8px 3px rgba(251, 191, 36, 0.6);
      width: 6px; height: 6px;
      left: 15%; bottom: 35%;
      animation: spark-rise 2s ease-out infinite;
    }
    .factory-spark:nth-child(2) {
      background: var(--neon-blue);
      box-shadow: 0 0 8px 3px rgba(0, 212, 255, 0.5);
      width: 5px; height: 5px;
      left: 35%; bottom: 30%;
      animation: spark-rise 2.5s ease-out infinite 0.6s;
    }
    .factory-spark:nth-child(3) {
      background: #f97316;
      box-shadow: 0 0 8px 3px rgba(249, 115, 22, 0.6);
      width: 6px; height: 6px;
      right: 30%; bottom: 32%;
      animation: spark-rise 2.2s ease-out infinite 1.2s;
    }
    .factory-spark:nth-child(4) {
      background: var(--neon-blue);
      box-shadow: 0 0 8px 3px rgba(0, 212, 255, 0.5);
      width: 5px; height: 5px;
      right: 12%; bottom: 38%;
      animation: spark-rise 2.8s ease-out infinite 1.8s;
    }
    .factory-spark:nth-child(5) {
      background: #fbbf24;
      box-shadow: 0 0 6px 2px rgba(251, 191, 36, 0.5);
      width: 4px; height: 4px;
      left: 25%; bottom: 28%;
      animation: spark-rise 1.8s ease-out infinite 0.3s;
    }
    .factory-spark:nth-child(6) {
      background: var(--brand-light);
      box-shadow: 0 0 8px 3px rgba(129, 140, 248, 0.5);
      width: 5px; height: 5px;
      right: 22%; bottom: 35%;
      animation: spark-rise 2.4s ease-out infinite 2.2s;
    }
    .factory-spark:nth-child(7) {
      background: #f97316;
      box-shadow: 0 0 6px 2px rgba(249, 115, 22, 0.5);
      width: 4px; height: 8px; border-radius: 2px;
      left: 48%; bottom: 33%;
      animation: spark-rise 2.1s ease-out infinite 0.9s;
    }
    .factory-spark:nth-child(8) {
      background: var(--neon-blue);
      box-shadow: 0 0 10px 4px rgba(0, 212, 255, 0.6);
      width: 5px; height: 5px;
      right: 42%; bottom: 36%;
      animation: spark-rise 2.6s ease-out infinite 1.5s;
    }

    @keyframes spark-rise {
      0% { opacity: 0; transform: translateY(0) scale(1); }
      10% { opacity: 1; }
      50% { opacity: 0.5; }
      100% { opacity: 0; transform: translateY(-140px) translateX(15px) scale(0); }
    }

    /* Card emerge-from-machine animation */
    .lab-card.reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.4s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .lab-card.reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }

    /* Card at-rest glow pulse — opacity-only on a pseudo-element so the compositor handles it. */
    .lab-card--mr { --glow-rgb: 217, 119, 6; }
    .lab-card--cd { --glow-rgb: 13, 148, 136; }
    .lab-card--om { --glow-rgb: 124, 58, 237; }
    .lab-card--gl { --glow-rgb: 244, 63, 94; }

    .lab-card--mr::before,
    .lab-card--cd::before,
    .lab-card--om::before,
    .lab-card--gl::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      box-shadow:
        0 4px 30px rgba(var(--glow-rgb), 0.12),
        0 0 60px rgba(var(--glow-rgb), 0.05);
      opacity: 0;
      pointer-events: none;
      will-change: opacity;
      animation: card-glow-pulse 4s ease-in-out infinite;
    }
    .lab-card--cd::before { animation-delay: -1.5s; }
    .lab-card--om::before { animation-delay: -3s; }
    .lab-card--gl::before { animation-delay: -0.5s; }

    @keyframes card-glow-pulse {
      0%, 100% { opacity: 0; }
      50% { opacity: 1; }
    }

    @media (prefers-reduced-motion: reduce) {
      .lab-card--mr::before,
      .lab-card--cd::before,
      .lab-card--om::before,
      .lab-card--gl::before {
        animation: none;
      }
    }

    /* Stamp flash on emerge */
    .lab-card {
      transition: box-shadow 0.6s ease;
    }
    .lab-card.stamp-flash {
      box-shadow: 0 0 50px 15px rgba(79, 109, 245, 0.35), 0 0 100px 30px rgba(79, 109, 245, 0.1);
    }

    /* Boost card hover glow on dark bg */
    #products .lab-card--mr:hover {
      box-shadow: 0 20px 60px rgba(217, 119, 6, 0.25), 0 0 40px rgba(217, 119, 6, 0.12);
    }
    #products .lab-card--cd:hover {
      box-shadow: 0 20px 60px rgba(13, 148, 136, 0.25), 0 0 40px rgba(13, 148, 136, 0.12);
    }
    #products .lab-card--om:hover {
      box-shadow: 0 20px 60px rgba(124, 58, 237, 0.25), 0 0 40px rgba(124, 58, 237, 0.12);
    }
    #products .lab-card--gl:hover {
      box-shadow: 0 20px 60px rgba(244, 63, 94, 0.25), 0 0 40px rgba(244, 63, 94, 0.12);
    }

    /* Stamp screen-shake on card emerge (Bruno) */
    #products.stamp-shake { animation: screen-shake 0.3s ease-out; }

    @keyframes screen-shake {
      0%   { transform: translate(0, 0); }
      10%  { transform: translate(-3px, 2px); }
      20%  { transform: translate(3px, -2px); }
      30%  { transform: translate(-2px, 1px); }
      40%  { transform: translate(2px, -1px); }
      100% { transform: translate(0, 0); }
    }

    /* Contact section scan line (Comeau) */
    #contact { position: relative; overflow: hidden; }

    #contact::before {
      content: '';
      position: absolute;
      left: 0;
      right: 0;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--brand-light), transparent);
      opacity: 0.1;
      animation: scan-line 8s ease-in-out infinite;
      z-index: 1;
    }

    @keyframes scan-line {
      0% { top: 0; opacity: 0; }
      10% { opacity: 0.3; }
      90% { opacity: 0.3; }
      100% { top: 100%; opacity: 0; }
    }

    /* Hero-to-products gradient transition (Hara) */
    .hero-products-bridge {
      height: 100px;
      background: linear-gradient(180deg, var(--white) 0%, #e2e4f0 30%, #4a5178 65%, var(--dark) 100%);
      position: relative;
    }

    /* Section energy dividers */
    .section-divider {
      height: 1px;
      position: relative;
      overflow: visible;
    }

    .section-divider::before {
      content: '';
      position: absolute;
      top: 0;
      left: 10%;
      right: 10%;
      height: 1px;
      background: linear-gradient(90deg, transparent, var(--brand), transparent);
      opacity: 0.12;
    }

    .section-divider::after {
      content: '';
      position: absolute;
      top: -1px;
      left: 0;
      width: 40px;
      height: 2px;
      background: var(--brand-light);
      border-radius: 2px;
      box-shadow: 0 0 6px 2px rgba(79, 109, 245, 0.2);
      animation: energy-pulse-travel 6s linear infinite;
      opacity: 0.4;
    }

    @keyframes energy-pulse-travel {
      0% { left: -40px; opacity: 0; }
      10% { opacity: 0.4; }
      90% { opacity: 0.4; }
      100% { left: 100%; opacity: 0; }
    }

    .lab-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2rem;
    }

    .lab-card {
      background: var(--white);
      border-radius: 16px;
      padding: 2.25rem;
      border: 1px solid var(--gray-200);
      border-top: 4px solid var(--gray-200);
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      transition: box-shadow 0.4s ease, background 0.3s ease;
    }

    .lab-card--mr { border-top-color: var(--mr); }
    .lab-card--cd { border-top-color: var(--cd); }
    .lab-card--om { border-top-color: var(--om); }
    .lab-card--gl { border-top-color: var(--gl); }

    .lab-card--mr:hover {
      box-shadow: 0 20px 60px rgba(217, 119, 6, 0.12);
      background: var(--mr-surface);
    }

    .lab-card--cd:hover {
      box-shadow: 0 20px 60px rgba(13, 148, 136, 0.12);
      background: var(--cd-surface);
    }

    .lab-card--om:hover {
      box-shadow: 0 20px 60px rgba(124, 58, 237, 0.12);
      background: var(--om-surface);
    }
    .lab-card--gl:hover {
      box-shadow: 0 20px 60px rgba(244, 63, 94, 0.12);
      background: var(--gl-surface);
    }

    .lab-card__badge {
      position: absolute;
      top: 1.25rem;
      right: 1.25rem;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      transition: transform 0.4s var(--spring-snappy);
    }

    .lab-card:hover .lab-card__badge { transform: scale(1.05); }

    .lab-card--mr .lab-card__badge {
      background: var(--mr-muted);
      color: var(--mr);
      animation: badge-glow 2.5s ease-in-out infinite;
    }

    @keyframes badge-glow {
      0%, 100% { box-shadow: 0 0 0 0 rgba(217, 119, 6, 0); }
      50% { box-shadow: 0 0 12px 2px rgba(217, 119, 6, 0.2); }
    }

    .lab-card--cd .lab-card__badge {
      background: var(--cd-muted);
      color: var(--cd);
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .lab-card--cd .lab-card__badge::before {
      content: '';
      width: 6px;
      height: 6px;
      background: #22c55e;
      border-radius: 50%;
      animation: pulse-dot 2s ease-in-out infinite;
    }

    @keyframes pulse-dot {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.4; }
    }

    .lab-card--om .lab-card__badge {
      background: var(--om-muted);
      color: var(--om);
    }
    .lab-card--gl .lab-card__badge {
      background: var(--gl-muted);
      color: var(--gl);
    }

    .lab-card__icon {
      width: 56px;
      height: 56px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.25rem;
      transition: transform 0.4s var(--spring-bounce);
    }

    .lab-card:hover .lab-card__icon {
      transform: scale(1.15) rotate(-5deg);
    }

    .lab-card--mr .lab-card__icon { background: var(--mr-muted); }
    .lab-card--cd .lab-card__icon { background: var(--cd-muted); }
    .lab-card--om .lab-card__icon { background: var(--om-muted); }
    .lab-card--gl .lab-card__icon { background: var(--gl-muted); }

    .lab-card__icon svg {
      width: 28px;
      height: 28px;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .lab-card--mr .lab-card__icon svg { stroke: var(--mr); }
    .lab-card--cd .lab-card__icon svg { stroke: var(--cd); }
    .lab-card--om .lab-card__icon svg { stroke: var(--om); }
    .lab-card--gl .lab-card__icon svg { stroke: var(--gl); }

    .lab-card h3 {
      font-size: 1.4rem;
      font-weight: 700;
      color: var(--dark);
      margin-bottom: 0.25rem;
      transition: transform 0.35s var(--spring-bounce);
    }

    .lab-card:hover h3 { transform: translateX(3px); }

    .lab-card__tagline {
      font-size: 0.95rem;
      font-style: italic;
      color: var(--gray-600);
      margin-bottom: 1rem;
    }

    .lab-card__desc {
      color: var(--gray-600);
      font-size: 0.9rem;
      line-height: 1.7;
      margin-bottom: 1.25rem;
      flex-grow: 1;
    }

    .lab-card__chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 1.5rem;
    }

    .lab-card__chip {
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
      transition: transform 0.4s var(--spring-bounce);
    }

    .lab-card:hover .lab-card__chip:nth-child(1) { transform: translateY(-2px); transition-delay: 0ms; }
    .lab-card:hover .lab-card__chip:nth-child(2) { transform: translateY(-2px); transition-delay: 50ms; }
    .lab-card:hover .lab-card__chip:nth-child(3) { transform: translateY(-2px); transition-delay: 100ms; }

    .lab-card--mr .lab-card__chip { background: var(--mr-muted); color: var(--mr); }
    .lab-card--cd .lab-card__chip { background: var(--cd-muted); color: var(--cd); }
    .lab-card--om .lab-card__chip { background: var(--om-muted); color: var(--om); }
    .lab-card--gl .lab-card__chip { background: var(--gl-muted); color: var(--gl); }

    .lab-card__cta {
      font-weight: 600;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .lab-card--mr .lab-card__cta { color: var(--mr); }
    .lab-card--cd .lab-card__cta { color: var(--cd); }
    .lab-card--om .lab-card__cta { color: var(--om); }
    .lab-card--gl .lab-card__cta { color: var(--gl); }

    .lab-card__cta svg {
      width: 16px;
      height: 16px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      transition: transform 0.4s var(--spring-bounce);
    }

    .lab-card:hover .lab-card__cta svg { transform: translateX(6px); }

    /* Bolt flash on CronDoctor hover (Drasner) */
    .lab-card--cd:hover .lab-card__icon svg path {
      fill: var(--cd);
      fill-opacity: 0;
      animation: bolt-flash 0.6s ease forwards;
    }

    @keyframes bolt-flash {
      0% { fill-opacity: 0; }
      30% { fill-opacity: 0.3; }
      50% { fill-opacity: 0; }
      70% { fill-opacity: 0.15; }
      100% { fill-opacity: 0.08; }
    }

    /* ============================================
       7. SVG DRAW-ON SYSTEM (Drasner)
       ============================================ */
    .lab-card__icon svg *,
    .service-icon svg * {
      transition: stroke-dashoffset 0.8s cubic-bezier(0.65, 0, 0.35, 1);
    }

    .lab-card__icon svg *:nth-child(2) { transition-delay: 0.08s; }
    .lab-card__icon svg *:nth-child(3) { transition-delay: 0.16s; }
    .lab-card__icon svg *:nth-child(4) { transition-delay: 0.24s; }
    .lab-card__icon svg *:nth-child(5) { transition-delay: 0.32s; }
    .lab-card__icon svg *:nth-child(6) { transition-delay: 0.4s; }
    .lab-card__icon svg *:nth-child(7) { transition-delay: 0.48s; }
    .lab-card__icon svg *:nth-child(8) { transition-delay: 0.56s; }

    .service-icon svg *:nth-child(2) { transition-delay: 0.1s; }
    .service-icon svg *:nth-child(3) { transition-delay: 0.2s; }
    .service-icon svg *:nth-child(4) { transition-delay: 0.3s; }

    /* ============================================
       8. SECTIONS — Shared
       ============================================ */
    section { padding: 5rem 2rem; }

    .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-header {
      text-align: center;
      margin-bottom: 3.5rem;
    }

    .section-header h2 {
      font-size: 2rem;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 0.75rem;
      color: var(--dark);
      display: inline-block;
      position: relative;
    }

    /* Section header highlight wipe (Comeau) */
    .section-header h2::after {
      content: '';
      position: absolute;
      bottom: 2px;
      left: -4px;
      right: -4px;
      height: 8px;
      background: var(--brand);
      opacity: 0.1;
      border-radius: 4px;
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.8s var(--spring-bounce);
      z-index: -1;
    }

    .section-header.revealed h2::after { transform: scaleX(1); transition-delay: 0.3s; }

    .section-header p {
      color: var(--gray-600);
      font-size: 1.1rem;
      max-width: 560px;
      margin: 0 auto;
    }

    /* Section decorations (Drasner) */
    .section-deco {
      display: block;
      width: 200px;
      height: 20px;
      margin: 8px auto 0;
    }

    .section-deco .deco-draw {
      stroke-dasharray: 40;
      stroke-dashoffset: 40;
      transition: stroke-dashoffset 1s ease 0.3s;
    }

    .revealed .section-deco .deco-draw { stroke-dashoffset: 0; }

    @keyframes bubble-rise {
      0%, 100% { transform: translateY(0); opacity: 0; }
      20% { opacity: 0.35; }
      80% { opacity: 0.15; }
      100% { transform: translateY(-8px); opacity: 0; }
    }

    .revealed .bubble-1 { animation: bubble-rise 2.5s ease-in-out infinite 1.2s; }
    .revealed .bubble-2 { animation: bubble-rise 3s ease-in-out infinite 1.6s; }
    .revealed .bubble-3 { animation: bubble-rise 2.8s ease-in-out infinite 2s; }

    /* ============================================
       9. SERVICES
       ============================================ */
    #services { background: var(--white); }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2rem;
    }

    .service-card {
      background: var(--white);
      border-radius: 12px;
      padding: 2.25rem;
      border: 1px solid var(--gray-200);
      transition: box-shadow 0.3s ease;
    }

    .service-card:hover {
      box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    }

    .service-icon {
      width: 48px;
      height: 48px;
      background: var(--brand-muted);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 1.25rem;
      transition: transform 0.4s var(--spring-bounce);
    }

    .service-card:hover .service-icon {
      transform: scale(1.1) rotate(-5deg);
    }

    /* Icon wiggle on hover (Drasner) */
    .service-card:hover .service-icon svg {
      animation: icon-wiggle 0.5s ease;
    }

    @keyframes icon-wiggle {
      0% { transform: rotate(0deg); }
      25% { transform: rotate(-8deg); }
      50% { transform: rotate(6deg); }
      75% { transform: rotate(-3deg); }
      100% { transform: rotate(0deg); }
    }

    .service-icon svg {
      width: 24px;
      height: 24px;
      stroke: var(--brand);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }

    .service-card h3 {
      font-size: 1.2rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
      color: var(--dark);
    }

    .service-card p {
      color: var(--gray-600);
      font-size: 0.95rem;
      line-height: 1.7;
    }

    /* ============================================
       10. ABOUT
       ============================================ */
    #about { background: var(--white); }

    .about-content {
      max-width: 800px;
      margin: 0 auto;
      text-align: center;
    }

    .about-content p {
      color: var(--gray-600);
      font-size: 1.05rem;
      line-height: 1.8;
      margin-bottom: 1.5rem;
    }

    .about-location {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: var(--gray-600);
      font-size: 0.95rem;
      margin-top: 1rem;
    }

    .about-location svg {
      width: 18px;
      height: 18px;
      stroke: var(--brand);
      fill: none;
      stroke-width: 2;
    }

    /* ============================================
       12. CONTACT
       ============================================ */
    #contact {
      background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
      color: var(--white);
    }

    #contact .section-header h2 { color: var(--white); }
    #contact .section-header h2::after { background: var(--brand-light); }
    #contact .section-header p { color: var(--gray-400); }

    .contact-content {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      max-width: 900px;
      margin: 0 auto;
    }

    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .form-group label {
      color: var(--gray-400);
      font-size: 0.85rem;
      font-weight: 600;
    }

    .form-group input,
    .form-group textarea {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(79, 109, 245, 0.2);
      border-radius: 8px;
      padding: 12px 16px;
      color: var(--white);
      font-family: inherit;
      font-size: 0.95rem;
      transition: border-color 0.2s, box-shadow 0.2s;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--brand);
      box-shadow: 0 0 0 3px rgba(79, 109, 245, 0.15);
    }

    .form-group textarea {
      resize: vertical;
      min-height: 100px;
    }

    .contact-submit {
      padding: 14px 36px;
      background: var(--brand);
      color: var(--white);
      border: none;
      border-radius: 8px;
      font-weight: 600;
      font-size: 1rem;
      cursor: pointer;
      transition: background 0.2s, transform 0.2s;
      align-self: flex-start;
    }

    .contact-submit:hover {
      background: var(--brand-light);
      animation: boop 0.4s var(--spring-snappy);
    }

    .contact-links {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 2rem;
    }

    .contact-note {
      color: var(--gray-400);
      font-size: 0.95rem;
      font-style: italic;
    }

    .contact-channels {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .contact-channel {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--gray-400);
      text-decoration: none;
      font-size: 0.95rem;
      transition: color 0.2s;
    }

    .contact-channel:hover {
      color: var(--white);
    }

    .contact-channel svg {
      width: 20px;
      height: 20px;
      stroke: var(--brand);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }

    /* Envelope flap animation (Drasner) */
    .contact-envelope { perspective: 50px; }
    .contact-envelope .envelope-flap {
      transform-origin: 12px 6px;
      transition: transform 0.4s var(--spring-bounce);
    }
    .contact-channel:hover .contact-envelope .envelope-flap {
      transform: rotateX(25deg);
    }

    @media (max-width: 768px) {
      .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
      }
    }

    /* ============================================
       13. FOOTER
       ============================================ */
    footer {
      background: var(--dark);
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding: 2rem;
      text-align: center;
      color: var(--gray-400);
      font-size: 0.85rem;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-bottom: 0.75rem;
    }

    .footer-robot {
      opacity: 0.5;
      border-radius: 6px;
    }

    .footer-signoff {
      color: var(--gray-400);
      font-size: 0.8rem;
      opacity: 0.7;
    }

    /* ============================================
       14. SCROLL REVEAL (Enhanced)
       ============================================ */
    .reveal {
      opacity: 0;
      transform: translateY(30px) scale(0.97);
      transition: opacity 0.6s ease, transform 0.6s var(--spring-bounce);
    }

    .reveal.revealed {
      opacity: 1;
      transform: translateY(0) scale(1);
    }

    .reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
    .reveal-stagger > .reveal:nth-child(2) { transition-delay: 120ms; }
    .reveal-stagger > .reveal:nth-child(3) { transition-delay: 240ms; }
    .reveal-stagger > .reveal:nth-child(4) { transition-delay: 360ms; }

    /* ============================================
       15. MOBILE
       ============================================ */
    @media (max-width: 960px) {
      .lab-cards { grid-template-columns: 1fr; }
    }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .mobile-toggle { display: block; }

      .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        padding: 1.5rem 2rem;
        border-bottom: 1px solid rgba(79, 109, 245, 0.15);
        gap: 0.5rem;
      }

      .nav-links.active a {
        padding: 12px 0;
        display: block;
      }

      .hero { padding: 6rem 1.5rem 4rem; }
      .factory-belt { display: none; }
      .factory-spark { display: none; }
      .section-divider { display: none; }
      .cursor-glow { display: none; }
      .lab-cards { grid-template-columns: 1fr; }
      .hero-circuit { display: none; }
      .hero-particle { display: none; }
      .robot-bubble { display: none; }
    }

    /* ============================================
       16. ACCESSIBILITY — Reduced Motion
       ============================================ */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }
      .reveal {
        opacity: 1;
        transform: none;
      }
    }
