/*
 * home.css -- inMotion Robotic Homepage
 * Design upgrade: premium startup-grade visual quality
 * Frankfurt am Main . Germany
 * Typography: Sora (display) + Manrope (body) + DM Sans (nav/labels)
 * Layout: max-width 1320px, 24px gutter
 */

/* ---------------------------------------------------------------------
   PAGE SHELL
   --------------------------------------------------------------------- */
.home-main {
    overflow-x: clip;
}

/* ---------------------------------------------------------------------
   SECTION BASE
   --------------------------------------------------------------------- */
.home-section {
    padding: 112px 0 72px;
}
.home-section--dark {
    background:
        radial-gradient(ellipse 80% 60% at 60% 0%, rgba(200,16,46,0.045) 0%, transparent 60%),
        linear-gradient(160deg, #0e0d0b 0%, #070706 55%, #0b0a08 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.home-section--expanded {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Section heading block */
.home-section__head {
    max-width: 580px;
    margin-bottom: 56px;
}
.home-section__head .ds-kicker {
    margin-bottom: 14px;
}
.home-section__head h2 {
    margin: 0 0 16px;
    font-family: var(--ds-font-display, "Sora", sans-serif);
    font-size: clamp(32px, 3.8vw, 52px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.044em;
    color: #110f0d;
}
.home-section__head p {
    margin: 0;
    font-size: clamp(15px, 1.35vw, 17px);
    line-height: 1.68;
    color: rgba(26,22,16,0.58);
}
.home-section__head--white h2 { color: #f0f4f8; }
.home-section__head--white p  { color: rgba(208,220,234,0.68); }

/* ---------------------------------------------------------------------
   HERO -- full-bleed video background
   --------------------------------------------------------------------- */
.home-hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: #0c0b09;
    isolation: isolate;
    display: flex;
    align-items: stretch;
}

/* Video fills the entire hero, all screen sizes */
.home-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.home-hero__bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    /* lighter treatment: robot reads clearly, not muddy */
    filter: saturate(0.55) contrast(1.04) brightness(0.88);
}

/* Precision overlay: surgical gradients, not a heavy black blanket */
.home-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        /* bottom-up text base -- strong enough for legibility */
        linear-gradient(180deg,
            transparent 38%,
            rgba(6,5,4,0.38) 60%,
            rgba(6,5,4,0.72) 80%,
            rgba(6,5,4,0.88) 100%
        ),
        /* left text column shadow -- feathers out by center */
        linear-gradient(95deg,
            rgba(6,5,4,0.68) 0%,
            rgba(6,5,4,0.36) 32%,
            rgba(6,5,4,0.06) 54%,
            transparent 68%
        ),
        /* top-edge header fade -- very subtle */
        linear-gradient(180deg,
            rgba(6,5,4,0.28) 0%,
            transparent 16%
        );
}

/* Hero inner content */
.home-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 140px;
    padding-bottom: 52px;
    gap: 28px;
}

/* Copy block */
.home-hero__content {
    display: grid;
    gap: 18px;
    max-width: 580px;
}

/* Hero trust badge -- precision rectangular, German-engineering quality */
.home-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px 7px 10px;
    border-radius: 5px;
    border: 1px solid rgba(255,255,255,0.18);
    border-left: 2px solid #C8102E;
    background: rgba(8,7,5,0.52);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    font-family: "DM Sans", "Manrope", sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.13em;
    color: rgba(255,255,255,0.78);
    width: fit-content;
    text-transform: uppercase;
}

/* German tri-stripe: three stacked bars instead of a dot */
.home-hero__kicker-dot {
    display: inline-flex;
    flex-direction: column;
    gap: 1.5px;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    justify-content: center;
}
.home-hero__kicker-dot::before,
.home-hero__kicker-dot::after {
    content: '';
    display: block;
    height: 2px;
    border-radius: 1px;
    width: 100%;
}
.home-hero__kicker-dot::before {
    background: #C8102E;
    box-shadow: 0 3.5px 0 #C4982A;
}

/* H1 -- white on video, confident and precise */
.home-hero h1 {
    margin: 0;
    font-family: var(--ds-font-display, "Sora", sans-serif);
    font-size: clamp(40px, 5.0vw, 74px);
    font-weight: 700;
    line-height: 0.97;
    letter-spacing: -0.048em;
    color: #ffffff;
    text-wrap: balance;
}

/* Lead -- clear, professional, not over-styled */
.home-hero__lead {
    margin: 0;
    max-width: 42ch;
    font-size: clamp(14.5px, 1.15vw, 16.5px);
    line-height: 1.62;
    color: rgba(255,255,255,0.68);
    letter-spacing: 0em;
    font-weight: 400;
}

/* CTAs */
.home-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 4px;
}

/* Hero CTA button overrides -- primary = white on dark video */
.home-hero__actions .ds-btn-primary {
    background: #ffffff;
    color: #110f0d;
    border-color: rgba(255,255,255,0.9);
    box-shadow: 0 2px 12px rgba(0,0,0,0.22);
    border-radius: 6px;
    min-height: 46px;
    font-size: 13.5px;
    padding: 0 24px;
}
.home-hero__actions .ds-btn-primary:hover {
    background: #f5f4f1;
    opacity: 1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.28);
}
.home-hero__actions .ds-btn-secondary {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.84);
    border-color: rgba(255,255,255,0.22);
    border-radius: 6px;
    min-height: 46px;
    font-size: 13.5px;
    padding: 0 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.home-hero__actions .ds-btn-secondary:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.32);
}

/* Tags -- dark glass variant on video background */
.home-hero__tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.home-hero__tags .ds-tag {
    background: transparent;
    border-color: rgba(255,255,255,0.20);
    border-radius: 4px;
    color: rgba(255,255,255,0.58);
    letter-spacing: 0.10em;
    font-size: 9px;
}
.home-hero__tags .ds-tag:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.30);
    color: rgba(255,255,255,0.72);
}

/* Hero animations */
.home-hero-item {
    opacity: 0;
    animation: home-hero-fade-up 1s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hi-1 { animation-delay: 0.04s; }
.hi-2 { animation-delay: 0.16s; }
.hi-3 { animation-delay: 0.28s; }
.hi-4 { animation-delay: 0.40s; }
.hi-5 { animation-delay: 0.54s; }
.hi-p1 { animation-delay: 0.50s; }
.hi-p2 { animation-delay: 0.62s; }
.hi-p3 { animation-delay: 0.74s; }

/* Proof band -- clean glass cards with German flag accent */
.home-hero__proof-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 600px;
}

.home-proof-card {
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.12);
    border-top: 2px solid var(--border-top-color, rgba(255,255,255,0.40));
    padding: 14px 16px 15px;
    background: rgba(8,7,5,0.62);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    box-shadow: 0 2px 16px rgba(0,0,0,0.28);
    display: grid;
    gap: 4px;
}

/* Tri-color accent -- German flag on proof cards */
.home-proof-card:nth-child(1) { --border-top-color: rgba(255,255,255,0.55); }
.home-proof-card:nth-child(2) { --border-top-color: #C8102E; }
.home-proof-card:nth-child(3) { --border-top-color: #C4982A; }

.home-proof-card__label {
    font-family: "DM Sans", "Manrope", sans-serif;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.38);
}
.home-proof-card__value {
    font-family: var(--ds-font-display, "Sora", sans-serif);
    font-size: clamp(17px, 1.6vw, 21px);
    font-weight: 700;
    letter-spacing: -0.048em;
    color: #ffffff;
    line-height: 1.05;
}
.home-proof-card p {
    margin: 0;
    font-size: 11px;
    line-height: 1.5;
    color: rgba(255,255,255,0.52);
    letter-spacing: -0.003em;
}

/* ---------------------------------------------------------------------
   MARQUEE
   --------------------------------------------------------------------- */
.home-marquee {
    overflow: hidden;
    border-top: 1px solid rgba(17,14,10,0.08);
    border-bottom: 1px solid rgba(17,14,10,0.08);
    padding: 13px 0;
    background: #ffffff;
}
.home-marquee__track {
    display: flex;
    white-space: nowrap;
    animation: home-marquee 44s linear infinite;
    will-change: transform;
}
.home-marquee__track:hover { animation-play-state: paused; }
.home-marquee__item {
    display: inline-flex;
    align-items: center;
    font-family: "DM Sans", "Manrope", sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.20em;
    text-transform: uppercase;
    color: rgba(17,14,10,0.28);
    padding: 0 2px;
}
.home-marquee__sep {
    margin: 0 18px;
    color: rgba(17,14,10,0.15);
    font-weight: 300;
    font-size: 12px;
}

/* ---------------------------------------------------------------------
   ROBOT PLATFORMS -- 4-card grid
   --------------------------------------------------------------------- */
.home-platform-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-platform-card {
    border-radius: 22px;
    border: 1px solid rgba(17,14,10,0.08);
    border-top: 2px solid rgba(17,14,10,0.10);
    background: #ffffff;
    overflow: hidden;
    display: grid;
    grid-template-rows: 260px 1fr;
    box-shadow: 0 1px 4px rgba(17,14,10,0.04), 0 4px 16px rgba(17,14,10,0.03);
    text-decoration: none;
    transition:
        transform    0.28s cubic-bezier(0.22,1,0.36,1),
        box-shadow   0.28s cubic-bezier(0.22,1,0.36,1),
        border-color 0.28s ease;
}
.home-platform-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(17,14,10,0.10), 0 6px 16px rgba(17,14,10,0.06);
    border-color: rgba(17,14,10,0.14);
    border-top-color: #110f0d;
}
.home-platform-card__media {
    overflow: hidden;
    min-height: 260px;
    background: #F0EFED;
    position: relative;
}
.home-platform-card__media::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 80px;
    background: linear-gradient(0deg, rgba(255,255,255,0.18) 0%, transparent 100%);
    pointer-events: none;
}
.home-platform-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.9s cubic-bezier(0.22,1,0.36,1);
    filter: saturate(0.92) contrast(1.04);
}
.home-platform-card:hover .home-platform-card__media img {
    transform: scale(1.07);
}
.home-platform-card__body {
    padding: 22px 22px 24px;
    display: grid;
    gap: 8px;
}
.home-platform-card__spec {
    margin: 0;
    font-family: "DM Sans", "Manrope", sans-serif;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #A09888;
}
.home-platform-card__name {
    margin: 0;
    font-family: var(--ds-font-display, "Sora", sans-serif);
    font-size: clamp(20px, 1.9vw, 25px);
    font-weight: 700;
    letter-spacing: -0.035em;
    color: #0f0d0b;
    line-height: 1.08;
}
.home-platform-card__copy {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.60;
    color: rgba(26,22,16,0.58);
    letter-spacing: -0.005em;
}
.home-platform-card__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1A1A1A;
    font-family: "DM Sans", "Manrope", sans-serif;
    margin-top: 4px;
    letter-spacing: -0.01em;
    transition: gap 0.2s ease;
}
.home-platform-card:hover .home-platform-card__link {
    gap: 8px;
}

/* OLO Explorer -- subtle differentiation */
.home-platform-card--olo {
    background: #FAFAF9;
}

/* ---------------------------------------------------------------------
   PROOF STATS BAND
   --------------------------------------------------------------------- */
.home-stats {
    background:
        radial-gradient(ellipse 70% 60% at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 60%),
        #111110;
    padding: 72px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.home-stats__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: center;
}
.home-stats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    padding: 0 32px;
}
.home-stats__value {
    font-family: var(--ds-font-display, "Sora", sans-serif);
    font-size: clamp(34px, 3.8vw, 56px);
    font-weight: 700;
    letter-spacing: -0.055em;
    color: #ffffff;
    line-height: 1;
}
.home-stats__label {
    font-family: "DM Sans", "Manrope", sans-serif;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: rgba(255,255,255,0.38);
    max-width: 16ch;
    line-height: 1.44;
}
.home-stats__divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    flex-shrink: 0;
}

/* ---------------------------------------------------------------------
   SOLUTIONS (dark section)
   --------------------------------------------------------------------- */
.home-solutions {
    display: grid;
    gap: 18px;
}

.home-solution-card {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 26px;
    background: rgba(255,255,255,0.035);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(320px,0.95fr) minmax(340px,1fr);
    gap: 0;
    transition:
        border-color 0.28s ease,
        background   0.28s ease;
}
.home-solution-card:hover {
    border-color: rgba(255,255,255,0.11);
    background: rgba(255,255,255,0.05);
}

.home-solution-card__media {
    overflow: hidden;
    min-height: 320px;
    background: rgba(255,255,255,0.025);
    position: relative;
}
.home-solution-card__media::after {
    content: '';
    position: absolute;
    inset: 0 0 0 auto;
    width: 120px;
    background: linear-gradient(90deg, transparent, rgba(12,11,9,0.6) 100%);
    pointer-events: none;
}
.home-solution-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.80) contrast(1.06) brightness(0.84);
    transition: transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.home-solution-card:hover .home-solution-card__media img {
    transform: scale(1.05);
}

.home-solution-card__body {
    padding: clamp(28px,3.2vw,48px);
    display: grid;
    align-content: center;
    gap: 16px;
}

.home-solution-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid rgba(103,214,158,0.24);
    background: rgba(103,214,158,0.07);
    font-family: "DM Sans", "Manrope", sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
    width: fit-content;
}
.home-solution-card__pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #67d69e;
    display: inline-block;
    animation: home-breathe 3.4s ease-in-out infinite;
    box-shadow: 0 0 0 2px rgba(103,214,158,0.2);
}

.home-solution-card__body h3 {
    margin: 0;
    font-family: var(--ds-font-display, "Sora", sans-serif);
    font-size: clamp(22px, 2.4vw, 32px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: #f0f4f8;
}
.home-solution-card__body p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.66;
    color: rgba(210,220,232,0.68);
    max-width: 50ch;
    letter-spacing: -0.004em;
}

.home-solution-card__benefits {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}
.home-solution-card__benefits li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(210,220,232,0.80);
    letter-spacing: -0.004em;
}
.home-solution-card__benefits li::before {
    content: '';
    width: 16px;
    height: 1.5px;
    border-radius: 1px;
    background: rgba(255,255,255,0.24);
    flex-shrink: 0;
}

/* ---------------------------------------------------------------------
   INDUSTRIES GRID
   --------------------------------------------------------------------- */
.home-industries-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.home-industry-card {
    padding: 22px 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(17,14,10,0.08);
    background: #ffffff;
    display: grid;
    gap: 12px;
    text-decoration: none;
    transition:
        transform    0.22s cubic-bezier(0.22,1,0.36,1),
        box-shadow   0.22s ease,
        border-color 0.22s ease,
        background   0.22s ease;
}
.home-industry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(9,14,22,0.08);
    border-color: rgba(17,14,10,0.14);
    background: #FAFAF9;
}
.home-industry-card__icon {
    color: #A09888;
    transition: color 0.22s ease;
}
.home-industry-card:hover .home-industry-card__icon {
    color: #6B6257;
}
.home-industry-card__icon svg {
    width: 18px;
    height: 18px;
}
.home-industry-card__label {
    font-family: "DM Sans", "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #110f0d;
    line-height: 1.32;
    letter-spacing: -0.01em;
}

/* ---------------------------------------------------------------------
   EMOS FEATURE (dark section)
   --------------------------------------------------------------------- */
.home-emos {
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 50% 70% at 0% 50%, rgba(255,255,255,0.025) 0%, transparent 60%),
        rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(340px,0.88fr);
    gap: 0;
    align-items: stretch;
}
.home-emos__copy {
    padding: clamp(36px,5vw,72px);
    display: grid;
    gap: 20px;
    align-content: center;
}
.home-emos__icon {
    width: 28px;
    height: 28px;
    opacity: 0.20;
}
.home-emos__pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 11px;
    border-radius: 999px;
    border: 1px solid rgba(103,214,158,0.24);
    background: rgba(103,214,158,0.07);
    font-family: "DM Sans", "Manrope", sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.82);
    width: fit-content;
}
.home-emos__pill-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #67d69e;
    display: inline-block;
    animation: home-breathe 3.4s ease-in-out infinite;
    box-shadow: 0 0 0 2px rgba(103,214,158,0.2);
}
.home-emos__copy h2 {
    margin: 0;
    font-family: var(--ds-font-display, "Sora", sans-serif);
    font-size: clamp(28px, 3.2vw, 46px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.044em;
    color: #f0f4f8;
}
.home-emos__copy p {
    margin: 0;
    font-size: clamp(14px, 1.28vw, 16px);
    line-height: 1.68;
    color: rgba(208,220,234,0.68);
    max-width: 48ch;
    letter-spacing: -0.004em;
}
.home-emos__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-top: 6px;
}
.home-emos__media {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    border-left: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.12);
}
.home-emos__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.84;
    filter: saturate(0.96) contrast(1.06) brightness(0.84);
    transform: scale(1.02);
    transition: transform 0.9s cubic-bezier(0.22,1,0.36,1);
}
.home-emos:hover .home-emos__media img {
    transform: scale(1.05);
}

/* ---------------------------------------------------------------------
   HOMEPAGE CHROME -- header overrides
   --------------------------------------------------------------------- */
.home-page .site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1100;
    padding: 14px 0 24px;
    background: transparent;
    border-bottom: 0;
}
.home-page .site-header.scrolled {
    padding-bottom: 18px;
    box-shadow: none;
}
.home-page .header-bar {
    border: 1px solid rgba(255,255,255,0.68);
    background: rgba(248,246,242,0.90);
    box-shadow: 0 2px 8px rgba(17,14,10,0.04), 0 8px 28px rgba(17,14,10,0.06);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
}
.home-page .brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.home-page .site-logo__img {
    width: auto;
    height: 22px;
}
.home-page .header-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(17,14,10,0.08);
    background: rgba(255,255,255,0.72);
    color: rgba(17,14,10,0.58);
    font-family: "DM Sans", "Manrope", sans-serif;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.home-page .chip-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #C8102E;
    display: inline-block;
}
.home-page .primary-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.home-page .nav-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    align-items: center;
    gap: 1px;
}
.home-page .nav-item { position: relative; }
.home-page .nav-link {
    min-height: 36px;
    border-radius: 999px;
    border: 1px solid transparent;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(17,14,10,0.72);
    font-family: "DM Sans", "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.012em;
    text-decoration: none;
    transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.home-page .nav-link:hover,
.home-page .nav-link:focus-visible,
.home-page .nav-item.is-open > .nav-link {
    background: rgba(17,14,10,0.06);
    border-color: rgba(17,14,10,0.08);
    color: #110f0d;
}
.home-page .nav-chevron { opacity: 0.38; transition: transform 0.16s ease; }
.home-page .nav-item.is-open .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.home-page .nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    min-width: 280px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateX(-50%);
}
.home-page .nav-item.is-open > .nav-dropdown,
.home-page .nav-item:hover > .nav-dropdown,
.home-page .nav-item:focus-within > .nav-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    animation: home-drop-in 0.22s cubic-bezier(0.16,1,0.3,1) forwards;
}
.home-page .dropdown-panel-compact {
    padding: 8px;
    border-radius: 18px;
    border: 1px solid rgba(17,14,10,0.08);
    background: rgba(255,255,255,0.98);
    box-shadow: 0 8px 32px rgba(9,14,22,0.10), 0 32px 64px rgba(9,14,22,0.10);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.home-page .dropdown-panel-compact .mega-menu-link {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(17,14,10,0.06);
    border-left: 2px solid rgba(17,14,10,0.08);
    background: rgba(248,246,242,0.60);
    text-decoration: none;
    display: block;
    transition: border-left-color 0.16s ease, padding-left 0.16s ease, background 0.16s ease;
    margin-bottom: 4px;
}
.home-page .dropdown-panel-compact .mega-menu-link:last-child { margin-bottom: 0; }
.home-page .dropdown-panel-compact .mega-menu-link:hover {
    border-left-color: #C8102E;
    padding-left: 15px;
    background: rgba(248,246,242,0.90);
}
.home-page .dropdown-panel-compact .mega-menu-link-title {
    display: block;
    margin-bottom: 2px;
    color: #110f0d;
    font-family: "DM Sans", "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.012em;
}
.home-page .dropdown-panel-compact .mega-menu-link-copy {
    display: block;
    color: #A09888;
    font-family: "DM Sans", "Manrope", sans-serif;
    font-size: 11px;
    line-height: 1.44;
}

/* Header actions */
.home-page .header-actions {
    display: flex;
    align-items: center;
}
.home-page .btn-nav-cta {
    min-height: 38px;
    border-radius: 999px;
    padding: 0 18px;
    border: 1px solid #0a0a09;
    background: #111110;
    color: #f8f6f2;
    box-shadow: 0 2px 8px rgba(17,14,10,0.18), 0 6px 18px rgba(17,14,10,0.14);
    font-family: "DM Sans", "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: opacity 0.16s ease, box-shadow 0.16s ease;
}
.home-page .btn-nav-cta:hover {
    opacity: 0.88;
    box-shadow: 0 4px 12px rgba(17,14,10,0.22), 0 10px 24px rgba(17,14,10,0.16);
}

/* Mobile nav toggle */
.home-page .mobile-menu-toggle,
.home-page .mobile-nav-close,
.home-page .mobile-nav-head,
.home-page .mobile-nav-intro,
.home-page .mobile-nav-footer,
.home-page .nav-overlay {
    display: none;
}

/* Footer on home page */
.home-page .footer-v2 {
    border-top: 1px solid rgba(17,14,10,0.08);
    background: #F4F2EE;
}

/* ---------------------------------------------------------------------
   ANIMATIONS
   --------------------------------------------------------------------- */
@keyframes home-breathe {
    0%, 100% { transform: scale(0.82); opacity: 0.48; }
    50%       { transform: scale(1);   opacity: 0.82; }
}
@keyframes home-hero-fade-up {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes home-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@keyframes home-drop-in {
    from { opacity: 0; transform: translateX(-50%) translateY(-8px) scale(0.97); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

/* ---------------------------------------------------------------------
   CANONICAL DESIGN SYSTEM ALIGNMENT
   --------------------------------------------------------------------- */
.home-section {
    padding: var(--ds-space-7xl) 0 var(--ds-space-6xl);
}

.home-section__head h2,
.home-heading-wrap h2 {
    font-family: var(--ds-font-display);
    color: var(--ds-text);
    letter-spacing: var(--ds-track-heading);
}

.home-section__head p,
.home-heading-wrap p {
    color: var(--ds-text-secondary);
}

.home-hero {
    background: var(--ds-onyx);
}

.home-hero__image-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.home-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.86) contrast(1.05) brightness(0.88);
    transform: scale(1.02);
    animation: home-hero-media-drift 22s var(--ds-ease-quart) both infinite alternate;
}

.home-hero__fade,
.home-hero__vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-hero__fade {
    background:
        linear-gradient(90deg, rgba(8,7,5,0.72) 0%, rgba(8,7,5,0.42) 34%, transparent 68%),
        linear-gradient(180deg, rgba(8,7,5,0.18) 0%, rgba(8,7,5,0.82) 100%);
}

.home-hero__vignette {
    background: radial-gradient(ellipse 85% 60% at 20% 90%, rgba(200,16,46,0.14), transparent 70%);
}

.home-hero__grid,
.home-hero__copy {
    position: relative;
    z-index: 2;
}

.home-hero__grid {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.54fr) minmax(0, 0.46fr);
    align-items: end;
}

.home-hero__copy {
    display: grid;
    gap: 18px;
    max-width: 580px;
}

.home-hero__status,
.home-hero__kicker {
    border-radius: var(--ds-r-pill);
    font-family: var(--ds-font-body);
}

.home-hero__status-dot,
.home-hero__kicker-dot {
    background: var(--ds-crimson);
}

.home-hero__actions :where(.ds-btn-primary, .ds-btn-secondary, .btn-primary, .btn-secondary),
.home-emos__actions :where(.ds-btn-primary, .ds-btn-secondary, .btn-primary, .btn-secondary),
.home-page .btn-nav-cta,
.home-page .mobile-nav-action {
    border-radius: var(--ds-r-pill);
    min-height: 44px;
    font-family: var(--ds-font-body);
}

.home-hero__actions :where(.btn-primary, .ds-btn-primary) {
    background: var(--ds-white);
    color: var(--ds-ink);
    border: 1px solid rgba(255,255,255,0.88);
}

.home-hero__actions :where(.btn-secondary, .ds-btn-secondary) {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.86);
    border: 1px solid rgba(255,255,255,0.24);
}

.home-tag,
.home-hero__tags .ds-tag {
    border-radius: var(--ds-r-pill);
    min-height: 28px;
    padding: 0 11px;
    font-family: var(--ds-font-body);
}

.home-proof-card {
    border-radius: var(--ds-r-md);
}

.home-proof-card__label,
.home-platform-card__spec,
.home-marquee__item,
.home-industry-card__label,
.home-solution-card__pill,
.home-emos__pill,
.home-page .nav-link,
.home-page .btn-nav-cta,
.home-page .header-badge {
    font-family: var(--ds-font-body);
}

.home-platform-card,
.home-industry-card,
.home-solution-card,
.home-emos {
    border-radius: var(--ds-r-card);
}

.home-platform-card {
    background: var(--ds-white);
    border-color: color-mix(in srgb, var(--ds-stone) 76%, transparent);
}

.home-platform-card__media {
    background: color-mix(in srgb, var(--ds-bone-white) 74%, var(--ds-stone));
}

.home-platform-card__name,
.home-industry-card__label {
    color: var(--ds-text);
}

.home-marquee {
    background: var(--ds-white);
    border-color: var(--ds-stone);
}

.home-page .header-bar {
    background: rgba(248,246,242,0.90);
}

.home-page .header-badge {
    border-color: rgba(200,16,46,0.24);
    background: rgba(200,16,46,0.06);
}

@keyframes home-hero-media-drift {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to   { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1200px) {
    /* video already full-bleed -- no override needed */
    .home-platform-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .home-industries-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .home-emos {
        grid-template-columns: 1fr;
    }
    .home-emos__media {
        min-height: 300px;
        border-left: none;
        border-top: 1px solid rgba(255,255,255,0.06);
    }
}

@media (max-width: 1080px) {
    .home-section { padding: 88px 0 60px; }
    .home-solution-card {
        grid-template-columns: 1fr;
    }
    .home-solution-card__media { min-height: 260px; }
    .home-solution-card__media::after { display: none; }
    .home-page .site-header { padding: 12px 0 16px; }
    .home-page .header-badge { display: none; }
    .home-page .mobile-menu-toggle {
        margin-left: auto;
        width: 40px; height: 40px;
        border: 1px solid rgba(17,14,10,0.12);
        border-radius: 50%;
        background: rgba(255,255,255,0.78);
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: #110f0d;
        box-shadow: 0 2px 8px rgba(17,14,10,0.06);
    }
    .home-page .mobile-menu-toggle span {
        width: 16px; height: 1.5px;
        border-radius: 999px;
        background: currentColor;
        display: block;
    }
    .home-page .header-actions { display: none; }
    .home-page .primary-nav {
        position: fixed;
        top: 12px; right: 16px; bottom: 12px;
        width: min(420px, calc(100vw - 32px));
        padding: 20px;
        border: 1px solid rgba(17,14,10,0.08);
        border-radius: 24px;
        background: rgba(248,247,245,0.98);
        box-shadow: 0 24px 64px rgba(9,14,22,0.14), 0 8px 24px rgba(9,14,22,0.08);
        transform: translateX(110%);
        opacity: 0; visibility: hidden;
        transition: transform 0.26s cubic-bezier(0.22,1,0.36,1), opacity 0.26s ease, visibility 0.26s ease;
        z-index: 1201;
        display: block;
        overflow: hidden;
    }
    .home-page .primary-nav.menu-open {
        transform: translateX(0);
        opacity: 1; visibility: visible;
    }
    .home-page .nav-overlay { position: fixed; inset: 0; background: rgba(17,14,10,0.22); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
    .home-page .nav-overlay.is-visible { display: block; }
    .home-page .nav-overlay[hidden] { display: none !important; }
    .home-page .mobile-nav-head,
    .home-page .mobile-nav-intro,
    .home-page .mobile-nav-footer { display: block; }
    .home-page .mobile-nav-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 16px;
    }
    .home-page .mobile-nav-brand { display: grid; gap: 4px; }
    .home-page .mobile-nav-label {
        font-family: var(--ds-font-display, "Sora", sans-serif);
        font-size: 19px; font-weight: 700; letter-spacing: -0.035em;
        color: #110f0d;
    }
    .home-page .mobile-nav-subtitle { color: rgba(26,22,16,0.58); font-size: 12.5px; line-height: 1.52; }
    .home-page .mobile-nav-close {
        display: inline-flex; align-items: center; justify-content: center;
        min-width: 72px; min-height: 34px;
        border: 1px solid rgba(17,14,10,0.12); border-radius: 999px;
        background: #fff; color: #110f0d; font-size: 12px; font-weight: 700;
        letter-spacing: -0.01em;
    }
    .home-page .mobile-nav-kicker { margin: 0 0 6px; color: #A09888; font-size: 9px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
    .home-page .mobile-nav-copy  { margin: 0 0 14px; color: rgba(26,22,16,0.58); font-size: 13.5px; line-height: 1.56; }
    .home-page .mobile-nav-scroll { overflow: auto; max-height: calc(100vh - 260px); padding-right: 4px; }
    .home-page .nav-list { flex-direction: column; align-items: stretch; gap: 6px; }
    .home-page .nav-item { border: 1px solid rgba(17,14,10,0.08); border-radius: 16px; background: #fff; }
    .home-page .nav-link { width: 100%; min-height: 48px; justify-content: space-between; padding: 0 16px; border-radius: 0; }
    .home-page .nav-dropdown {
        position: static; min-width: 0; max-height: 0;
        opacity: 1; visibility: visible; pointer-events: auto;
        transform: none; overflow: hidden;
        transition: max-height 0.26s ease;
    }
    .home-page .nav-item.is-open > .nav-dropdown { max-height: 900px; animation: none; }
    .home-page .dropdown-panel-compact {
        border: 0; border-radius: 0; box-shadow: none;
        backdrop-filter: none; background: transparent; padding: 0 12px 12px;
    }
    .home-page .mobile-nav-footer { display: grid; gap: 8px; margin-top: 14px; }
    .home-page .mobile-nav-action {
        min-height: 44px; border-radius: 999px;
        border: 1px solid rgba(17,14,10,0.12); background: rgba(255,255,255,0.88);
        color: #110f0d; font-size: 13px; font-weight: 700;
        display: inline-flex; align-items: center; justify-content: center;
        text-decoration: none; letter-spacing: -0.01em;
    }
    .home-page .mobile-nav-action--primary {
        border-color: #0a0a09; background: #111110; color: #f8f6f2;
    }
}

@media (max-width: 960px) {
    /* Tablet: strengthen overlay so text stays legible */
    .home-hero__overlay {
        background:
            linear-gradient(180deg,
                rgba(8,7,5,0.62) 0%,
                rgba(8,7,5,0.14) 20%,
                transparent 48%,
                rgba(8,7,5,0.44) 74%,
                rgba(8,7,5,0.82) 100%
            ),
            linear-gradient(100deg,
                rgba(8,7,5,0.80) 0%,
                rgba(8,7,5,0.52) 36%,
                rgba(8,7,5,0.18) 60%,
                transparent 78%
            ),
            radial-gradient(ellipse 80% 50% at 5% 95%,
                rgba(200,16,46,0.18) 0%,
                transparent 70%
            );
    }
    .home-hero__inner { padding-top: 120px; padding-bottom: 44px; }
    .home-hero__proof-band {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 100%;
        gap: 6px;
    }
    .home-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    .home-stats__divider { display: none; }
    .home-stats__item { padding: 0 16px; }
}

@media (max-width: 720px) {
    /* Mobile: heavier overlay + reposition video to center on robot */
    .home-hero__bg-video {
        object-position: 60% center;
    }
    .home-hero__overlay {
        background:
            linear-gradient(180deg,
                rgba(8,7,5,0.70) 0%,
                rgba(8,7,5,0.18) 18%,
                rgba(8,7,5,0.08) 44%,
                rgba(8,7,5,0.52) 72%,
                rgba(8,7,5,0.90) 100%
            ),
            radial-gradient(ellipse 90% 45% at 5% 95%,
                rgba(200,16,46,0.22) 0%,
                transparent 70%
            );
    }
    .home-hero__proof-band { grid-template-columns: 1fr; }
    .home-platform-grid { grid-template-columns: 1fr; }
    .home-industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-section { padding: 72px 0 48px; }
    .home-section__head { margin-bottom: 40px; }
    .home-stats { padding: 56px 0; }
}

@media (max-width: 680px) {
    .home-hero__inner,
    .home-section .ds-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .home-hero__inner { padding-top: 100px; padding-bottom: 32px; gap: 20px; }
    .home-hero__actions .ds-btn-primary,
    .home-hero__actions .ds-btn-secondary,
    .home-emos__actions .ds-btn-primary,
    .home-emos__actions .ds-btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .home-stats__grid { grid-template-columns: 1fr; }
    .home-page .site-header { padding: 12px 0 14px; }
    .home-page .header-bar { padding-left: 12px; }
    .home-page .site-logo__img { height: 20px; }
    .home-industries-grid { grid-template-columns: 1fr; }
    .home-emos__copy { padding: 36px 24px; }
}
