/* ══════════════════════════════════════════════════════════════════════════
   ASI HOMEPAGE STYLES (Grounded Elite v5)
   Premium, sparse, high-trust engineering aesthetic.
   ══════════════════════════════════════════════════════════════════════════ */

   /* ── HOMEPAGE ROOT TOKENS ── */
   :root {
       --accent-blue: #3b82f6;
   }
   [data-theme="light"] {
       --accent-blue: #2563eb;
   }

   /* ── HERO SECTION ── */
   .hp-hero {
       position: relative;
       height: 100vh;
       height: 100dvh;
       min-height: 100vh;
       display: flex;
       align-items: center;
       justify-content: center;
       overflow: hidden;
       color: #fff;
       background: #000;
   }

   /* ── HEADER OVERRIDE ON HOMEPAGE HERO ──
      Force white text on the nav when it sits over the dark hero background,
      regardless of light/dark mode. On scroll the default frosted-glass
      kicks in and the text reverts to theme colors automatically. */
   .hp-hero ~ #global-header .vault-nav:not(.scrolled):not(:hover) .nav-link,
   .hp-hero ~ #global-header .vault-nav:not(.scrolled):not(:hover) .brand-subtext .line-1 {
       color: #fff;
   }
   /* The header sits in front of the hero, so we also target it when the
      header placeholder is BEFORE the hero (DOM order in index.html). */
   body:has(.hp-hero) .vault-nav:not(.scrolled):not(:hover) .nav-link,
   body:has(.hp-hero) .vault-nav:not(.scrolled):not(:hover) .brand-subtext .line-1 {
       color: #fff;
   }
   body:has(.hp-hero) .vault-nav:not(.scrolled):not(:hover) .brand-logo {
       filter: invert(1) hue-rotate(180deg) brightness(1.15);
   }
   body:has(.hp-hero) .vault-nav:not(.scrolled):not(:hover) .brand-divider {
       background-color: rgba(255, 255, 255, 0.2);
   }
   
   .hp-hero-video-bg {
       position: absolute;
       top: 0; left: 0; width: 100%; height: 100%;
       object-fit: cover;
       z-index: 0;
       opacity: 0.7;
       filter: contrast(1.1) brightness(1);
   }
   
   .hp-hero-overlay {
       position: absolute;
       inset: 0;
       background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%),
                   linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
       z-index: 1;
   }
   
   .hp-hero .container {
       position: relative;
       z-index: 2;
       width: 100%;
   }
   
   .hp-hero-content {
       max-width: 1100px;
       margin: 0 auto;
       padding-top: 48px;
       text-align: center;
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
   }
   
   .hp-hero-logo {
        /* Removed - unused class per audit M6 */
    }
   
   .hp-hero h1 {
       font-size: clamp(3rem, 5vw, 5rem);
       font-weight: 800;
       line-height: 1.1;
       margin-bottom: 1.5rem;
       letter-spacing: -1.5px;
       font-family: var(--font-headline);
   }
   
   .gradient-text {
        background: var(--accent-blue-gradient, linear-gradient(135deg, #1d4ed8 0%, #0891b2 100%));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
    }

    .hero-white-text {
        color: #fff;
    }

    /* Reveal delay utility classes */
    .reveal-delay-1 { transition-delay: 100ms; }
    .reveal-delay-2 { transition-delay: 200ms; }
    .reveal-delay-3 { transition-delay: 300ms; }

    [data-theme="light"] .gradient-text {
        background: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
   
      .hp-hero-sub {
        font-size: 1.15rem;
        line-height: 1.75;
        color: rgba(255, 255, 255, 0.85);
        max-width: 680px;
        margin: 0 auto 3rem;
        font-weight: 300;
    }
   
   .hp-hero-cta {
       display: flex;
       gap: 1.5rem;
       justify-content: center;
   }
    .hp-hero-metrics {
        display: flex;
        gap: 3rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 2rem;
        margin-bottom: 2.5rem;
        justify-content: center;
    }
   
    .hp-metric {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }
   
   .hp-metric-val {
       font-size: 1.5rem;
       font-weight: 700;
       color: #fff;
       font-family: var(--font-mono);
   }
   
   .hp-metric-lbl {
       font-size: 0.75rem;
       font-weight: 600;
       color: rgba(255,255,255,0.5);
       text-transform: uppercase;
       letter-spacing: 1.5px;
   }
   
   /* ── MARQUEE OVERRIDES ── */
   .clients-marquee-v1 {
       padding: 3rem 0;
       border-bottom: 1px solid var(--border-light);
       background: var(--bg-primary);
   }
   .trust-heading {
       text-align: center;
       font-size: 0.85rem;
       font-weight: 600;
       color: var(--text-muted);
       text-transform: uppercase;
       letter-spacing: 2px;
       margin-bottom: 2rem;
   }
   
   /* ── SECTION HEADER ── */
   .section-header {
       text-align: center;
       margin-bottom: 4rem;
       max-width: 800px;
       margin-left: auto;
       margin-right: auto;
   }
   
   .section-eyebrow {
       display: inline-block;
       padding: 0.3rem 0;
       background: transparent;
       border: none;
       border-radius: 0;
       backdrop-filter: none;
       -webkit-backdrop-filter: none;
       font-size: 0.7rem;
       font-weight: 500;
       color: var(--text-muted);
       text-transform: uppercase;
       letter-spacing: 2.5px;
       margin-bottom: 1rem;
   }
   
   [data-theme="dark"] .section-eyebrow {
       background: transparent;
       border: none;
   }
   
   .section-title {
       font-size: clamp(2.5rem, 4vw, 3.5rem);
       font-weight: 800;
       line-height: 1.1;
       margin-bottom: 1rem;
       letter-spacing: -1px;
   }
   
   .section-sub {
       font-size: 1.1rem;
       color: var(--text-muted);
       line-height: 1.7;
   }

   .section-subtitle {
       font-size: 1.05rem;
       color: var(--text-muted);
       line-height: 1.7;
       max-width: 680px;
       margin: 0 auto;
   }
   
   /* ── ENGINEERING PIPELINE (BLUE V3) ── */
    .hp-pipeline-section {
        padding: 4rem 0 2rem;
        background: var(--bg-secondary);
        position: relative;
        overflow: visible;
        border-bottom: 1px solid var(--border-light);
    }
      .pipe-layout-v3 {
        display: grid;
        grid-template-columns: 320px 1fr 320px;
        gap: 3rem;
        align-items: center;
        height: auto;
        min-height: 500px;
        margin-top: 2.5rem;
        position: relative;
    }
   
   .p3-inputs, .p3-outputs {
       display: flex;
       flex-direction: column;
       gap: 1.5rem;
       justify-content: center;
   }
   
   .p3-card {
       background: var(--glass-bg);
       border: var(--glass-border);
       backdrop-filter: blur(20px) saturate(180%);
       -webkit-backdrop-filter: blur(20px) saturate(180%);
       padding: 2rem;
       border-radius: var(--radius-lg);
       transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
   }
   .p3-card:hover {
       transform: translateY(-4px);
       border-color: rgba(59, 130, 246, 0.3);
       box-shadow: 0 8px 25px rgba(59, 130, 246, 0.08);
   }
   [data-theme="dark"] .p3-card:hover {
       box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
   }
   .p3-card:hover .p3-card-icon {
       background: rgba(59, 130, 246, 0.18);
       color: #3b82f6;
   }
   
   [data-theme="dark"] .p3-card {
       background: linear-gradient(160deg, rgba(59, 130, 246, 0.04) 0%, rgba(6, 182, 212, 0.02) 100%);
       box-shadow: 0 10px 30px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
   }
   
   .p3-card-icon {
       width: 48px; height: 48px;
       border-radius: 12px;
       background: rgba(59, 130, 246, 0.1);
       color: var(--accent-blue);
       display: flex; align-items: center; justify-content: center;
       font-size: 1.2rem;
       margin-bottom: 1.5rem;
       transition: all 0.3s ease;
   }
   
   .p3-card h3 {
       font-size: 1.2rem;
       margin-bottom: 0.5rem;
   }
   
   .p3-card p {
       font-size: 0.9rem;
       color: var(--text-muted);
       margin-bottom: 1.5rem;
       line-height: 1.5;
   }
   
   .inline-data {
       display: flex;
       flex-wrap: wrap;
       gap: 0.5rem;
   }
   
   .data-item {
       font-size: 0.75rem;
       padding: 0.2rem 0.6rem;
       background: var(--bg-tertiary);
       border-radius: 4px;
       color: var(--text-heading);
       border: 1px solid var(--border-light);
       font-family: var(--font-mono);
   }
   
   .p3-highway::before {
       content: '';
       position: absolute;
       top: 50%;
       left: 50%;
       width: 400px;
       height: 400px;
       transform: translate(-50%, -50%);
       background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
       pointer-events: none;
       z-index: 0;
   }

   .p3-highway {
       display: flex;
       align-items: center;
       justify-content: center;
       position: relative;
   }
   
   .p3-core-circle {
        width: 340px;
        height: 440px;
       border-radius: 24px;
       background: var(--bg-primary);
       border: 1px solid var(--border-light);
       position: relative;
       display: flex;
       flex-direction: column;
       overflow: hidden;
       box-shadow: 0 20px 50px rgba(0,0,0,0.05);
       animation: core-pulse 4s ease-in-out infinite;
   }
   
   /* Pipeline centre pulsing glow */
   @keyframes core-pulse {
       0%, 100% { box-shadow: 0 20px 50px rgba(0,0,0,0.05), 0 0 0 0 rgba(59,130,246,0.08); }
       50% { box-shadow: 0 20px 50px rgba(0,0,0,0.05), 0 0 30px 8px rgba(59,130,246,0.12); }
   }
   [data-theme="dark"] .p3-core-circle {
       animation: core-pulse-dark 4s ease-in-out infinite;
       box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 0 60px rgba(59, 130, 246, 0.05);
   }
   @keyframes core-pulse-dark {
       0%, 100% { box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 0 60px rgba(59,130,246,0.05), 0 0 0 0 rgba(59,130,246,0.1); }
       50% { box-shadow: 0 20px 50px rgba(0,0,0,0.4), inset 0 0 60px rgba(59,130,246,0.05), 0 0 35px 10px rgba(59,130,246,0.15); }
   }

   .cb-half {
       flex: 1;
       display: flex;
       flex-direction: column;
       align-items: center;
       justify-content: center;
        padding: 3.2rem 1.2rem;
       text-align: center;
       position: relative;
       z-index: 2;
   }
   
   .cb-half.people {
       background: linear-gradient(to bottom, rgba(59, 130, 246, 0.05), transparent);
       border-bottom: none;
   }
   
   .cb-half.software {
       background: linear-gradient(to top, rgba(6, 182, 212, 0.05), transparent);
   }
   
   .cb-icon {
       font-size: 1.3rem;
       color: var(--accent-blue);
       margin-bottom: 0.35rem;
   }
   
   .cb-title {
       font-weight: 700;
       font-size: 1.1rem;
       margin-bottom: 0.15rem;
   }
   
   .cb-desc {
       font-size: 0.72rem;
       color: var(--text-muted);
       line-height: 1.3;
   }
   
   .p3-svg-bridge {
       position: absolute;
       top: 50%; left: 50%;
       width: 80px; height: 28px;
       transform: translate(-50%, -50%);
       z-index: 3;
       pointer-events: none;
   }
   
   /* Connectors - SVG curved dashed lines from cards to center */
   .p3-connectors-svg {
       position: absolute;
       top: 0;
       left: 0;
       width: 100%;
       height: 100%;
       z-index: 0;
       pointer-events: none;
   }
   
   /* 15.6" laptops (1440-1536px viewport) */
   @media (max-width: 1536px) {
       .pipe-layout-v3 {
           grid-template-columns: 300px 1fr 300px;
           gap: 2.5rem;
       }
   }

   /* 13-14" laptops (1280-1366px viewport) */
   @media (max-width: 1366px) {
       .pipe-layout-v3 {
           grid-template-columns: 280px 1fr 280px;
           gap: 2rem;
       }
        .p3-core-circle { width: 300px; height: 400px; }
        .cb-half { padding: 2.8rem 0.8rem; }
       .cb-title { font-size: 0.95rem; }
       .cb-desc { font-size: 0.68rem; }
   }

    /* 13" laptops (1280px viewport) */
    @media (max-width: 1280px) {
        .pipe-layout-v3 {
            grid-template-columns: 260px 1fr 260px;
            gap: 1.8rem;
        }
         .p3-core-circle { width: 280px; height: 370px; }
         .cb-half { padding: 2.6rem 0.7rem; }
        .cb-icon { font-size: 1.1rem; margin-bottom: 0.25rem; }
        .cb-title { font-size: 0.9rem; }
        .cb-desc { font-size: 0.62rem; }
        .p3-svg-bridge { width: 80px; height: 30px; }
    }

   @media (max-width: 1100px) {
       .pipe-layout-v3 {
           grid-template-columns: 250px 1fr 250px;
           gap: 1.5rem;
       }
        .p3-core-circle { width: 260px; height: 350px; }
        .cb-half { padding: 2.4rem 0.6rem; }
       .cb-icon { font-size: 1rem; margin-bottom: 0.2rem; }
       .cb-title { font-size: 0.85rem; }
       .cb-desc { font-size: 0.6rem; }
       /* C3 fix: Hide SVG connectors below 1100px - coords misalign with shrunk cards */
       .p3-connectors-svg { opacity: 0; }
   }
   
   /* ── Pipeline project links ── */
   .p3-project-links {
       display: flex;
       flex-direction: column;
        gap: 0.35rem;
   }

   .p3-project-link {
       display: inline-flex;
       align-items: center;
       gap: 0.5rem;
        font-size: 0.75rem;
       font-weight: 500;
        color: var(--text-muted);
       text-decoration: none;
        padding: 0.3rem 0;
        border-radius: 0;
        background: transparent;
        border: none;
       transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
   }
   .p3-project-link i {
       font-size: 0.6rem;
       color: var(--accent-blue);
   }
   .p3-project-link:hover {
        background: transparent;
        border: none;
       color: var(--accent-blue);
   }

   /* ── Mobile-only pipeline (hidden on desktop) ── */
   .pipe-layout-mobile {
       display: none;
   }

   @media (max-width: 900px) {
       .pipe-layout-v3 {
           display: none;
       }
       .pipe-layout-mobile {
           display: flex;
           flex-direction: column;
           align-items: stretch;
           gap: 0;
           padding: 0;
       }
       .p3-inputs, .p3-outputs { width: 100%; }
       .p3-highway { margin: 1.5rem 0; width: 100%; }
       .p3-connectors-svg { display: none; }
       
       /* Linear axis for mobile - compact connectors */
       .axis-connector {
           display: flex;
           flex-direction: column;
           align-items: center;
           height: 28px;
           margin: 0.35rem 0;
       }
       .axis-line {
           width: 2px;
            height: 20px;
            border-left: 2px dashed rgba(59, 130, 246, 0.3);
       }
       .axis-arrow { color: rgba(59, 130, 246, 0.5); font-size: 0.8rem; }
       .p3-card { padding: 1.5rem; }
   }
   
   /* ── OUR TECHNOLOGY (3 Premium Nav Cards) ── */
    .hp-tech {
        padding: 3rem 0 4rem;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-light);
    }

   .hp-tech-trio {
       display: grid;
       grid-template-columns: repeat(3, 1fr);
       gap: 1.5rem;
   }

   .hp-tech-nav-card {
       display: flex;
       flex-direction: column;
       background: var(--glass-bg);
       border: var(--glass-border);
       backdrop-filter: blur(20px) saturate(180%);
       -webkit-backdrop-filter: blur(20px) saturate(180%);
       border-radius: var(--radius-lg);
       padding: 2.5rem 2rem;
       text-decoration: none;
       transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
       position: relative;
       overflow: hidden;
   }
   [data-theme="dark"] .hp-tech-nav-card {
       background: linear-gradient(160deg, rgba(59, 130, 246, 0.04) 0%, rgba(6, 182, 212, 0.02) 100%);
       box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
   }

    .hp-tech-nav-card::before {
        content: '';
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan, #06b6d4), transparent);
        opacity: 0.3;
        transition: opacity 0.3s ease;
    }

   .hp-tech-nav-card:hover {
       transform: translateY(-6px);
       border-color: rgba(59, 130, 246, 0.4);
       box-shadow: 0 20px 40px rgba(0,0,0,0.08);
   }
   [data-theme="dark"] .hp-tech-nav-card:hover {
       box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 30px rgba(59, 130, 246, 0.08);
   }
    .hp-tech-nav-card:hover::before {
        opacity: 0.7;
    }

   /* Corner accent orb */
   .hp-tech-nav-card::after {
       content: '';
       position: absolute;
       bottom: -40px;
       right: -40px;
       width: 120px;
       height: 120px;
       background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
       border-radius: 24px;
       pointer-events: none;
       z-index: 0;
   }

   .tech-nav-icon-wrap {
       margin-bottom: 1.5rem;
   }
   .tech-nav-logo {
       height: 56px;
       width: auto;
   }
   [data-theme="dark"] .hp-tech-nav-card:nth-child(1) .tech-nav-logo,
   [data-theme="dark"] .hp-tech-nav-card:nth-child(2) .tech-nav-logo {
       background: rgba(255, 255, 255, 0.92);
       padding: 4px 10px;
       border-radius: 6px;
   }

   .tech-nav-body {
       flex: 1;
   }
   .tech-nav-body .product-mono {
       font-family: var(--font-mono);
       font-size: 0.7rem;
       color: var(--accent-blue);
       text-transform: uppercase;
       letter-spacing: 1.5px;
       margin-bottom: 0.5rem;
   }
   .tech-nav-body h3 {
       font-size: 1.4rem;
       color: var(--text-heading);
       margin-bottom: 0.75rem;
       letter-spacing: -0.3px;
   }
   .tech-nav-body p {
       font-size: 0.9rem;
       color: var(--text-muted);
       line-height: 1.6;
       margin-bottom: 1.5rem;
   }
   [data-theme="dark"] .tech-nav-body p {
        color: rgba(255,255,255,0.6);
    }

    .tech-nav-arrow {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: rgba(59, 130, 246, 0.6);
        font-size: 0.8rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    .tech-nav-arrow::before {
        content: 'Learn More';
    }
    .hp-tech-nav-card:hover .tech-nav-arrow {
        color: var(--accent-blue);
        transform: translateX(4px);
        gap: 0.7rem;
    }

   /* ── Tech card with background image (Facilities) ── */
    .hp-tech-nav-card--has-image {
        position: relative;
        overflow: hidden;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255,255,255,0.08);
    }

    [data-theme="dark"] .hp-tech-nav-card--has-image {
        background: rgba(0,0,0,0.4);
    }
   .tech-nav-card-bg {
       position: absolute;
       inset: 0;
       z-index: 0;
   }
   .tech-nav-card-bg img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       opacity: 0.12;
       transition: opacity 0.4s ease;
   }
   [data-theme="dark"] .tech-nav-card-bg img {
       opacity: 0.08;
   }
   .hp-tech-nav-card--has-image:hover .tech-nav-card-bg img {
       opacity: 0.2;
   }
   .hp-tech-nav-card--has-image .tech-nav-icon-wrap,
   .hp-tech-nav-card--has-image .tech-nav-body,
   .hp-tech-nav-card--has-image .tech-nav-arrow {
       position: relative;
       z-index: 1;
   }

   @media (max-width: 992px) {
       .hp-tech-trio { grid-template-columns: 1fr; }
   }
   
   /* ── STRATEGIC OUTCOMES (2x2 Bento) ── */
    .hp-outcomes {
        padding: 3.5rem 0;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-light);
    }
   
   .hp-outcomes-grid {
       display: grid;
       grid-template-columns: repeat(2, 1fr);
       gap: 1.5rem;
   }
   
   .hp-outcome-card {
       background: var(--glass-bg);
       border: var(--glass-border);
       backdrop-filter: blur(8px) saturate(120%);
       -webkit-backdrop-filter: blur(8px) saturate(120%);
       padding: 2rem 2.5rem;
       min-height: 180px;
       border-radius: var(--radius-lg);
       text-align: left;
       transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
       display: flex;
       align-items: center;
       gap: 1.5rem;
       position: relative;
       overflow: hidden;
   }
   [data-theme="dark"] .hp-outcome-card {
       background: linear-gradient(160deg, rgba(var(--outcome-accent-rgb, 59,130,246), 0.04) 0%, rgba(var(--outcome-accent-rgb, 59,130,246), 0.01) 100%);
       box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
   }
   
      /* Per-card bottom accent line */
    .hp-outcome-card::before {
        content: '';
        position: absolute;
        bottom: 0; left: 0; right: 0;
        height: 4px;
        width: 100%;
        background: var(--outcome-gradient, linear-gradient(90deg, #3b82f6, #06b6d4));
        border-radius: 0 0 4px 4px;
    }

   /* Subtle radial glow */
   .hp-outcome-card::after {
       content: '';
       position: absolute;
       top: -50%;
       right: -30%;
       width: 200px;
       height: 200px;
       background: radial-gradient(circle, rgba(var(--outcome-accent-rgb, 59,130,246), 0.06) 0%, transparent 70%);
       pointer-events: none;
       z-index: 0;
   }
   
   .hp-outcome-card:hover {
       transform: translateY(-6px);
       border-color: rgba(var(--outcome-accent-rgb, 59,130,246), 0.4);
       box-shadow: 0 12px 30px rgba(0,0,0,0.06);
   }
   [data-theme="dark"] .hp-outcome-card:hover {
       box-shadow: 0 12px 30px rgba(0,0,0,0.3), 0 0 20px rgba(var(--outcome-accent-rgb, 59,130,246), 0.08);
   }
   .hp-outcome-card:hover .hp-outcome-icon {
       background: rgba(var(--outcome-accent-rgb, 59,130,246), 0.18);
   }
   
   .hp-outcome-icon {
       width: 48px; height: 48px;
       min-width: 48px;
       background: rgba(var(--outcome-accent-rgb, 59,130,246), 0.18);
       backdrop-filter: blur(6px);
       -webkit-backdrop-filter: blur(6px);
       border: 1px solid rgba(var(--outcome-accent-rgb, 59,130,246), 0.12);
       color: var(--accent-blue);
       border-radius: 12px;
       display: flex; align-items: center; justify-content: center;
       font-size: 1.1rem;
       transition: all 0.3s ease;
   }
   
   .hp-outcome-card h3 {
       font-size: 1.1rem; margin-bottom: 0.5rem;
   }
    .hp-outcome-card p {
        font-size: 0.85rem; color: var(--text-muted); line-height: 1.6;
    }

   /* Outcome card background image */
   .hp-outcome-card-bg {
       position: absolute;
       inset: 0;
       z-index: 0;
   }
   .hp-outcome-card-bg img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       opacity: 0.45;
       filter: saturate(0.7);
        transform: scale(1.02);
       transition: opacity 0.5s ease, transform 0.5s ease;
   }
   [data-theme="dark"] .hp-outcome-card-bg img {
       opacity: 0.42;
   }
   .hp-outcome-card:hover .hp-outcome-card-bg img {
       opacity: 0.35;
   }
   [data-theme="dark"] .hp-outcome-card:hover .hp-outcome-card-bg img {
       opacity: 0.48;
   }
    /* Light mode overlay for outcome card text readability */
    .hp-outcome-card-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.6) 100%);
        z-index: 1;
    }
    [data-theme="dark"] .hp-outcome-card-bg::after {
         background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 100%);
    }

   /* Ensure content sits above background */
   .hp-outcome-icon, .hp-outcome-text, .hp-outcome-card h3, .hp-outcome-card p {
       position: relative;
       z-index: 2;
   }

   @media (max-width: 1024px) {
       .hp-outcomes-grid { grid-template-columns: repeat(2, 1fr); }
   }
   @media (max-width: 768px) {
       .hp-outcomes-grid { grid-template-columns: 1fr; }
       .hp-outcome-card { flex-direction: column; text-align: center; }
       .hp-outcome-icon { margin: 0 auto; }
   }
   
   /* ── INDUSTRIES ── */
   .hp-industries {
       padding: 3.5rem 0;
       background: var(--bg-primary);
       border-bottom: 1px solid var(--border-light);
   }
   
   .industries-grid {
       display: grid;
       grid-template-columns: repeat(3, 1fr);
       gap: 1.5rem;
   }
   
    .ind-card {
        display: block;
        text-decoration: none;
        background: var(--glass-bg);
        border: var(--glass-border);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        padding: 2.5rem 2rem;
        min-height: 220px;
        border-radius: var(--radius-lg);
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
    }
   [data-theme="dark"] .ind-card {
       background: linear-gradient(160deg, rgba(var(--ind-accent-rgb, 59,130,246), 0.03) 0%, transparent 100%);
       box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
   }

   .ind-card-bg {
       position: absolute;
       inset: 0;
       z-index: 0;
   }
   .ind-card-bg img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       opacity: 0.45;
       filter: saturate(0.7);
        transform: scale(1.02);
       transition: opacity 0.5s ease, transform 0.5s ease;
   }
   /* Light mode gradient overlay for text readability */
   .ind-card-bg::after {
       content: '';
       position: absolute;
       inset: 0;
       background: linear-gradient(180deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0.78) 100%);
       z-index: 1;
   }
   /* ── Light mode: Clean glass, image reveals on hover ── */
   [data-theme="light"] .ind-card {
       background: rgba(255, 255, 255, 0.78);
       border: 1px solid rgba(0, 0, 0, 0.07);
       box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
   }
   [data-theme="light"] .ind-card-bg img {
       opacity: 0;
       filter: saturate(0.25) brightness(1.15);
       transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
   }
   [data-theme="light"] .ind-card-bg::after {
       background: linear-gradient(180deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.60) 40%, rgba(255,255,255,0.78) 100%);
       backdrop-filter: blur(6px);
       -webkit-backdrop-filter: blur(6px);
       transition: opacity 0.5s ease;
       opacity: 0;
   }
   /* Hover: gentle lift, soft shadow, subtle image peek */
   [data-theme="light"] .ind-card:hover {
       transform: translateY(-3px);
       border-color: rgba(0, 0, 0, 0.10);
       box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.03);
   }
   [data-theme="light"] .ind-card:hover .ind-card-bg img {
       opacity: 0.22;
       transform: scale(1.04);
   }
   [data-theme="light"] .ind-card:hover .ind-card-bg::after {
       opacity: 1;
   }

   /* ── Dark mode: image always subtly visible ── */
   [data-theme="dark"] .ind-card-bg::after {
       background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.82) 100%);
   }
   [data-theme="dark"] .ind-card-bg img {
       opacity: 0.22;
       filter: none;
   }
   .ind-card:hover .ind-card-bg img {
       opacity: 0.45;
       transform: scale(1.06);
   }
   [data-theme="dark"] .ind-card:hover .ind-card-bg img {
       opacity: 0.50;
   }
   [data-theme="dark"] .ind-card:hover {
       box-shadow: 0 8px 24px rgba(0,0,0,0.3), 0 0 20px rgba(var(--ind-accent-rgb, 59,130,246), 0.08);
   }

   .ind-card:hover {
        border-color: var(--ind-accent, rgba(59, 130, 246, 0.4));
        box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    }
   
   .ind-icon, .ind-card h3, .ind-sub {
       position: relative;
       z-index: 2;
   }

   .ind-card:hover .ind-icon {
       color: var(--ind-accent, var(--accent-blue));
        background: none;
   }

   .ind-card:hover h3 {
       background: var(--ind-gradient, linear-gradient(135deg, #3b82f6, #06b6d4));
       -webkit-background-clip: text;
       background-clip: text;
       -webkit-text-fill-color: transparent;
   }
   /* Light mode: keep heading dark on hover - accent gradients like yellow are unreadable on white */
   [data-theme="light"] .ind-card:hover h3 {
       background: none;
       -webkit-background-clip: unset;
       background-clip: unset;
       -webkit-text-fill-color: var(--text-heading);
       color: var(--text-heading);
   }
   
   .ind-icon {
        font-size: 1.4rem;
        display: flex;
        align-items: center;
        color: var(--accent-blue);
        margin-bottom: 0.75rem;
        transition: all 0.3s ease;
    }
   
   .ind-card h3 {
       font-family: var(--font-primary);
       font-size: 1.15rem;
       font-weight: 600;
       color: var(--text-heading);
       margin-bottom: 0.5rem;
       transition: all 0.3s ease;
   }
   
   .ind-sub {
       font-family: var(--font-primary);
       font-size: 0.68rem;
       text-transform: uppercase;
       letter-spacing: 0.08em;
       color: var(--text-muted);
       line-height: 1.5;
       margin: 0;
   }
   
   /* ── Industry cards: horizontal icon | text stack, centered ── */
   .ind-card {
       display: grid;
       grid-template-columns: auto 1fr;
       grid-template-rows: auto auto;
       align-items: center;
       align-content: center;
       gap: 0 clamp(1rem, 1.5vw, 1.5rem);
       padding: 2rem 2.5rem;
   }
   .ind-icon {
       grid-row: 1 / -1;
       font-size: clamp(1.8rem, 2vw, 2.4rem);
       margin-bottom: 0;
       align-self: center;
   }
   .ind-card h3 {
       grid-column: 2;
       font-size: clamp(1rem, 1vw, 1.2rem);
       margin-bottom: 0.15rem;
       align-self: end;
   }
   .ind-sub {
       grid-column: 2;
       font-size: clamp(0.58rem, 0.6vw, 0.68rem);
       margin: 0;
       align-self: start;
   }
   
   @media (max-width: 900px) {
       .industries-grid { grid-template-columns: repeat(2, 1fr); }
   }
   @media (max-width: 600px) {
       .industries-grid { grid-template-columns: 1fr; }
   }
   
   /* ── EXPLORE ASI (Bento Layout) ── */
   .hp-explore {
       padding: 3.5rem 0 2.5rem;
       background: var(--bg-secondary);
   }

   /* Bento grid: 6 columns for flexible card placement */
   .explore-layout {
       display: grid;
       grid-template-columns: repeat(6, 1fr);
       gap: 1.5rem;
   }

   /* ── Base card ── */
   .explore-card {
       display: flex;
       flex-direction: column;
       text-decoration: none;
       background: var(--glass-bg);
       border: var(--glass-border);
       backdrop-filter: blur(20px) saturate(180%);
       -webkit-backdrop-filter: blur(20px) saturate(180%);
       padding: 2rem;
       border-radius: var(--radius-lg);
       transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
       position: relative;
       overflow: hidden;
   }
   [data-theme="dark"] .explore-card {
       background: linear-gradient(160deg, rgba(59, 130, 246, 0.04) 0%, rgba(6, 182, 212, 0.02) 100%);
       box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
   }
   .explore-card:hover {
       border-color: rgba(59, 130, 246, 0.4);
       transform: translateY(-6px);
       box-shadow: 0 12px 30px rgba(0,0,0,0.06);
   }
   [data-theme="dark"] .explore-card:hover {
       box-shadow: 0 12px 30px rgba(0,0,0,0.3), 0 0 20px rgba(59, 130, 246, 0.06);
   }
   .explore-card:hover .explore-icon {
       color: #60a5fa;
   }

   /* ── Card variants - grid spanning ── */
   .explore-card--hero {
       grid-column: span 3;
       min-height: 180px;
       padding: 0;
   }
   .explore-card--compact {
       grid-column: span 2;
       background: linear-gradient(145deg, rgba(59, 130, 246, 0.02), transparent);
       border-top: 2px solid rgba(6, 182, 212, 0.2);
   }
    /* P5: Per-compact-card unique warm gradients */
    .explore-card--compact:nth-of-type(3) {
        background: linear-gradient(135deg, rgba(59,130,246,0.03) 0%, transparent 60%);
    }
    .explore-card--compact:nth-of-type(4) {
        background: linear-gradient(135deg, rgba(6,182,212,0.03) 0%, transparent 60%);
    }
    .explore-card--compact:nth-of-type(5) {
        background: linear-gradient(135deg, rgba(139,92,246,0.03) 0%, transparent 60%);
    }
   .explore-card--wide {
       grid-column: span 3;
       background: linear-gradient(145deg, rgba(6, 182, 212, 0.02), transparent);
       border-top: 2px solid rgba(6, 182, 212, 0.2);
   }

   /* ── Hero card background image ── */
   .explore-card-bg {
       position: absolute;
       inset: 0;
       z-index: 0;
   }
   .explore-card-bg img {
       width: 100%;
       height: 100%;
       object-fit: cover;
       opacity: 0.25;
       transition: opacity 0.5s ease, transform 0.8s ease;
   }
   [data-theme="dark"] .explore-card-bg img {
       opacity: 0.18;
   }
   .explore-card:hover .explore-card-bg img {
       opacity: 0.32;
       transform: scale(1.03);
   }
   [data-theme="dark"] .explore-card:hover .explore-card-bg img {
       opacity: 0.28;
   }

   /* ── Collage background variant ── */
   .explore-card-bg--collage {
       display: grid;
       grid-template-columns: 1fr 1fr;
       grid-template-rows: 1fr 1fr;
       gap: 4px;
       overflow: hidden;
   }
    .explore-card-bg--collage .collage-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        opacity: 0.55;
        transition: opacity 0.5s ease, transform 0.5s ease;
        transform: scale(1.1);
    }
    [data-theme="dark"] .explore-card-bg--collage .collage-img {
        opacity: 0.42;
        filter: saturate(0.6);
    }
   .explore-card:hover .explore-card-bg--collage .collage-img {
       opacity: 0.6;
   }

   /* ── Content overlay on hero cards ── */
   .explore-card-content {
       position: relative;
       z-index: 1;
       padding: 2.5rem;
       display: flex;
       flex-direction: column;
       justify-content: flex-end;
       flex: 1;
   }
   .explore-card--hero::after {
       content: '';
       position: absolute;
       inset: 0;
       background: linear-gradient(
           to top,
           rgba(0, 0, 0, 0.5) 0%,
           rgba(0, 0, 0, 0.15) 50%,
           transparent 100%
       );
       z-index: 0;
       pointer-events: none;
       border-radius: inherit;
   }
   [data-theme="light"] .explore-card--hero::after {
       background: linear-gradient(
           to top,
           rgba(255, 255, 255, 0.90) 0%,
           rgba(255, 255, 255, 0.70) 50%,
           rgba(255, 255, 255, 0.45) 100%
       );
   }
   [data-theme="light"] .explore-card-bg img {
       opacity: 0.20;
       filter: saturate(0.5);
   }

   /* ── Hero card text colors ── */
   .explore-card--hero .explore-card-content h3 {
       color: #fff;
       font-size: 1.3rem;
   }
   .explore-card--hero .explore-card-content p {
       color: rgba(255, 255, 255, 0.75);
   }
   [data-theme="light"] .explore-card--hero .explore-card-content h3 {
       color: var(--text-heading);
   }
   [data-theme="light"] .explore-card--hero .explore-card-content p {
       color: var(--text-muted);
   }

   /* ── Shared elements ── */
   @keyframes icon-float {
       0%, 100% { transform: translateY(0); }
       50% { transform: translateY(-3px); }
   }

   .explore-icon {
       width: 48px;
       height: 48px;
       border-radius: 12px;
       background: rgba(59, 130, 246, 0.1);
       display: flex;
       align-items: center;
       justify-content: center;
       font-size: 1.2rem;
       color: #64748b;
       margin-bottom: 1rem;
       transition: all 0.3s ease;
       animation: icon-float 3s ease-in-out infinite;
   }
    [data-theme="dark"] .explore-icon {
        color: rgba(148, 163, 184, 0.9);
    }
   .explore-card--hero .explore-icon {
       font-size: 1.1rem;
       margin-bottom: 0.75rem;
       background: rgba(59, 130, 246, 0.15);
   }

   .explore-card h3 {
       font-size: 1.1rem;
       color: var(--text-heading);
       margin-bottom: 0.4rem;
   }

   .explore-card p {
       font-size: 0.85rem;
       color: var(--text-muted);
       line-height: 1.5;
       flex: 1;
   }

   /* ── Responsive ── */
   @media (max-width: 1024px) {
       .explore-layout {
           grid-template-columns: repeat(2, 1fr);
       }
       .explore-card--hero { grid-column: span 1; min-height: 240px; }
       .explore-card--compact { grid-column: span 1; }
       .explore-card--wide { grid-column: span 1; }
   }
   @media (max-width: 600px) {
       .explore-layout {
           grid-template-columns: 1fr;
       }
       .explore-card--hero { min-height: 220px; }
   }

    /* ══════════════════════════════════════════════════════════════════════════
       ROUND 3 - ULTRA-PREMIUM POLISH
       ══════════════════════════════════════════════════════════════════════════ */

    /* ── P1: Mac/Apple Font Rendering - Critical ── */
    html {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }

    /* ── P2: Navbar Frosted Glass (Light Mode) ── */
    [data-theme="light"] header.is-scrolled,
    [data-theme="light"] .site-header.is-scrolled {
        backdrop-filter: blur(24px) saturate(200%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
        background: rgba(255, 255, 255, 0.72) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    }

    /* ── P4: Pipeline Side Cards - Light Mode Glass ── */
    [data-theme="light"] .p3-card {
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(16px) saturate(150%);
        -webkit-backdrop-filter: blur(16px) saturate(150%);
        border: 1px solid rgba(59, 130, 246, 0.08);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    }

    /* ── P7: Outcome Cards - Light Mode Glass ── */
    [data-theme="light"] .hp-outcome-card {
        background: rgba(255, 255, 255, 0.55);
        backdrop-filter: blur(16px) saturate(160%);
        -webkit-backdrop-filter: blur(16px) saturate(160%);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    }

    /* ── P8: Tech Cards - Light Mode Glass ── */
    [data-theme="light"] .hp-tech-nav-card {
        background: rgba(255, 255, 255, 0.65);
        backdrop-filter: blur(16px) saturate(160%);
        -webkit-backdrop-filter: blur(16px) saturate(160%);
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    }

    /* ── P9: Product Studies Collage - Light Mode Overlay ── */
    [data-theme="light"] .explore-card-bg--collage .collage-img {
        opacity: 0.4;
        filter: saturate(0.5) brightness(1.1);
    }

    /* ── GPU Compositing Layer Hints - Smoother Scroll ── */
    .p3-card,
    .hp-tech-nav-card,
    .ind-card,
    .hp-outcome-card,
    .explore-card {
        transform: translateZ(0);
        backface-visibility: hidden;
    }
