*,
      *::before,
      *::after {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
      }

      :root {
        --blue: #1847d1;
        --blue-dk: #1239b0;
        --blue-tint: #edf1ff;
        --blue-mid: #c8d5ff;
        --navy: #0b1731;
        --slate: #3a4b6d;
        --muted: #6278a0;
        --muted2: #96a8c8;
        --border: #dde4f4;
        --border2: #eef2fb;
        --white: #ffffff;
        --bg: #f6f8fe;
        --fh: "Cabinet Grotesk", system-ui, sans-serif;
        --fi: "Lora", Georgia, serif;
        --fb: "DM Sans", system-ui, sans-serif;
        --r: 14px;
        --r-lg: 22px;
        --r-xl: 32px;
      }

      html {
        scroll-behavior: smooth;
      }
      body {
        background: var(--white);
        color: var(--navy);
        font-family: var(--fb);
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
      }

      /* ─────────────────── NAV ─────────────────── */
      nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 300;
        height: 62px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 5vw;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(221, 228, 244, 0.8);
      }
      .logo {
        display: flex;
        align-items: center;
        text-decoration: none;
      }
      .logo img {
        display: block;
        width: auto;
        height: 104px;
        object-fit: contain;
      }
      .nav-right {
        display: flex;
        align-items: center;
        gap: 0.3rem;
        list-style: none;
      }
      .nav-right a {
        font-family: var(--fb);
        font-size: 0.875rem;
        font-weight: 400;
        color: var(--slate);
        text-decoration: none;
        padding: 0.45rem 0.85rem;
        border-radius: 9px;
        transition:
          background 0.15s,
          color 0.15s;
      }
      .nav-right a:hover {
        background: var(--bg);
        color: var(--navy);
      }
      .nav-right .cta-btn {
        background: var(--navy);
        color: var(--white) !important;
        font-weight: 600 !important;
        padding: 0.52rem 1.25rem !important;
        border-radius: 10px !important;
        transition:
          opacity 0.15s,
          transform 0.15s !important;
      }
      .nav-right .cta-btn:hover {
        opacity: 0.85 !important;
        transform: translateY(-1px);
        background: var(--navy) !important;
      }
      .nav-mob {
        display: none;
      }

      /* ─────────────────── HERO ─────────────────── */
      .hero {
        padding-top: 62px;
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow: hidden;
      }
      .hero-bg {
        position: absolute;
        inset: 0;
        z-index: 0;
        background:
          radial-gradient(
            ellipse 85% 60% at 60% -5%,
            rgba(24, 71, 209, 0.09) 0%,
            transparent 65%
          ),
          radial-gradient(
            ellipse 45% 50% at 100% 70%,
            rgba(80, 110, 255, 0.07) 0%,
            transparent 55%
          ),
          radial-gradient(
            ellipse 50% 45% at 0% 90%,
            rgba(24, 71, 209, 0.05) 0%,
            transparent 55%
          );
      }
      .hero-lines {
        position: absolute;
        inset: 0;
        z-index: 0;
        background-image:
          linear-gradient(rgba(24, 71, 209, 0.04) 1px, transparent 1px),
          linear-gradient(90deg, rgba(24, 71, 209, 0.04) 1px, transparent 1px);
        background-size: 44px 44px;
        mask-image: radial-gradient(
          ellipse 65% 55% at 60% 25%,
          black 0%,
          transparent 80%
        );
      }

      .hero-inner {
        position: relative;
        z-index: 1;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 4rem 5vw 2.5rem;
        max-width: 1100px;
        margin: 0 auto;
        width: 100%;
      }

      .hero-label {
        display: inline-flex;
        align-items: center;
        gap: 0.55rem;
        background: var(--white);
        border: 1.5px solid var(--blue-mid);
        border-radius: 100px;
        padding: 0.38rem 1rem 0.38rem 0.6rem;
        font-family: var(--fb);
        font-size: 0.78rem;
        font-weight: 500;
        color: var(--blue);
        width: fit-content;
        margin-bottom: 2rem;
        box-shadow: 0 2px 10px rgba(24, 71, 209, 0.1);
        opacity: 0;
        animation: up 0.5s ease forwards 0.1s;
      }
      .pulse-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--blue);
        animation: pulse 2s ease infinite;
      }
      @keyframes pulse {
        0%,
        100% {
          transform: scale(1);
          opacity: 1;
        }
        50% {
          transform: scale(0.6);
          opacity: 0.4;
        }
      }

      /* Giant headline — left aligned, mix of weights */
      h1.hero-h1 {
        font-family: var(--fh);
        font-size: clamp(3rem, 8vw, 6.2rem);
        font-weight: 900;
        line-height: 1;
        letter-spacing: -0.04em;
        color: var(--navy);
        margin-bottom: 1.6rem;
        max-width: 800px;
        opacity: 0;
        animation: up 0.01s ease forwards 0.25s;
      }
      h1.hero-h1 .light {
        font-weight: 400;
        color: var(--slate);
      }
      h1.hero-h1 .accent {
        color: var(--blue);
      }
      /* typewriter container */
      #typed-wrap {
        display: inline;
      }
      #typed-out {
        display: inline;
      }
      .cursor {
        display: inline-block;
        width: 4px;
        height: 0.8em;
        background: var(--blue);
        border-radius: 2px;
        vertical-align: middle;
        margin-left: 3px;
        animation: blink 0.9s step-end infinite;
      }
      @keyframes blink {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0;
        }
      }

      /* Italic serif accent line */
      .hero-accent {
        font-family: var(--fi);
        font-size: clamp(1.1rem, 2vw, 1.45rem);
        font-style: italic;
        font-weight: 400;
        color: var(--muted);
        margin-bottom: 2.25rem;
        max-width: 480px;
        line-height: 1.65;
        opacity: 0;
        animation: up 0.6s ease forwards 0.5s;
      }

      .hero-ctas {
        display: flex;
        gap: 0.85rem;
        flex-wrap: wrap;
        margin-bottom: 3rem;
        opacity: 0;
        animation: up 0.6s ease forwards 0.65s;
      }
      .btn-dark {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: var(--navy);
        color: var(--white);
        font-family: var(--fb);
        font-size: 0.95rem;
        font-weight: 600;
        padding: 0.9rem 1.9rem;
        border-radius: var(--r);
        text-decoration: none;
        transition:
          opacity 0.15s,
          transform 0.15s;
        letter-spacing: 0.005em;
      }
      .btn-dark:hover {
        opacity: 0.85;
        transform: translateY(-2px);
      }
      .btn-outline {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: transparent;
        color: var(--slate);
        font-family: var(--fb);
        font-size: 0.95rem;
        font-weight: 500;
        padding: 0.9rem 1.9rem;
        border-radius: var(--r);
        border: 1.5px solid var(--border);
        text-decoration: none;
        transition:
          border-color 0.15s,
          color 0.15s,
          transform 0.15s;
      }
      .btn-outline:hover {
        border-color: var(--blue);
        color: var(--blue);
        transform: translateY(-1px);
      }

      /* trust chips */
      .chips {
        display: flex;
        gap: 0.6rem;
        flex-wrap: wrap;
        opacity: 0;
        animation: up 0.6s ease forwards 0.82s;
      }
      .chip {
        display: inline-flex;
        align-items: center;
        gap: 0.42rem;
        background: var(--bg);
        border: 1px solid var(--border2);
        border-radius: 100px;
        padding: 0.35rem 0.85rem;
        font-family: var(--fb);
        font-size: 0.77rem;
        font-weight: 500;
        color: var(--slate);
      }
      .chip-ok {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #d1fae5;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
      }
      .chip-ok::before {
        content: "";
        width: 6px;
        height: 4px;
        border-left: 1.5px solid #059669;
        border-bottom: 1.5px solid #059669;
        transform: rotate(-45deg) translateY(-1px);
        display: block;
      }

      @keyframes up {
        from {
          opacity: 0;
          transform: translateY(16px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      /* ─────────────────── MARQUEE ─────────────────── */
      .marquee-section {
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        background: var(--navy);
        padding: 0;
        overflow: hidden;
        position: relative;
      }
      .marquee-track {
        display: flex;
        align-items: center;
        gap: 0;
        white-space: nowrap;
        animation: marquee 28s linear infinite;
        width: max-content;
        padding: 1rem 0;
      }
      .marquee-track:hover {
        animation-play-state: paused;
      }
      .marquee-item {
        display: inline-flex;
        align-items: center;
        gap: 0.65rem;
        padding: 0 2.5rem;
        font-family: var(--fh);
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.85);
      }
      .marquee-sep {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--blue);
        opacity: 0.7;
        flex-shrink: 0;
      }
      @keyframes marquee {
        from {
          transform: translateX(0);
        }
        to {
          transform: translateX(-50%);
        }
      }

      /* ─────────────────── SHARED ─────────────────── */
      .section {
        padding: 7rem 5vw;
      }
      .section-alt {
        background: var(--bg);
      }
      .container {
        max-width: 1100px;
        margin: 0 auto;
      }

      .fade-in {
        opacity: 0;
        transition: opacity 0.7s ease;
      }
      .fade-in.is-visible {
        opacity: 1;
      }
      @media (prefers-reduced-motion: reduce) {
        .fade-in {
          opacity: 1;
          transition: none;
        }
      }

      .eyebrow {
        display: inline-block;
        font-family: var(--fb);
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: var(--blue);
        margin-bottom: 1rem;
      }
      h2.h2 {
        font-family: var(--fh);
        font-size: clamp(2rem, 4vw, 3rem);
        font-weight: 900;
        letter-spacing: -0.035em;
        line-height: 1.05;
        color: var(--navy);
        margin-bottom: 1rem;
      }
      .lead {
        font-family: var(--fb);
        font-size: 1.05rem;
        font-weight: 300;
        color: var(--muted);
        line-height: 1.78;
      }

      /* ─────────────────── WHY SECTION ─────────────────── */
      .why-top {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        align-items: end;
        margin-bottom: 4rem;
      }
      /* italic editorial aside */
      .why-aside {
        font-family: var(--fi);
        font-size: clamp(1.2rem, 2vw, 1.6rem);
        font-style: italic;
        font-weight: 400;
        color: var(--slate);
        line-height: 1.5;
        border-left: 3px solid var(--blue-mid);
        padding-left: 1.5rem;
        margin-top: 2rem;
      }
      .stats-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
      }
      .stat-card {
        background: var(--white);
        border: 1.5px solid var(--border);
        border-radius: var(--r-xl);
        padding: 2.5rem 2rem;
        position: relative;
        overflow: hidden;
        transition:
          transform 0.22s,
          box-shadow 0.22s;
      }
      .stat-stripe {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--blue) 0%, #6b8fff 100%);
      }
      .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 50px rgba(24, 71, 209, 0.12);
      }
      .stat-big {
        font-family: var(--fh);
        font-size: 4rem;
        font-weight: 900;
        letter-spacing: -0.05em;
        line-height: 1;
        color: var(--navy);
        margin-bottom: 0.85rem;
      }
      .stat-big sup {
        font-size: 2rem;
        vertical-align: super;
        letter-spacing: 0;
      }
      .stat-copy {
        font-size: 0.92rem;
        font-weight: 300;
        color: var(--slate);
        line-height: 1.75;
        margin-bottom: 1.2rem;
      }
      .stat-src {
        font-size: 0.7rem;
        font-style: italic;
        color: var(--muted2);
        border-top: 1px solid var(--border2);
        padding-top: 0.8rem;
      }
      .stat-src a {
        color: inherit;
        text-decoration: underline;
        text-decoration-thickness: 1px;
        text-underline-offset: 3px;
      }

      /* ─────────────────── SERVE SECTION ─────────────────── */
      .serve-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        align-items: start;
      }
      .serve-left {
        display: flex;
        flex-direction: column;
        gap: 1.4rem;
      }
      .serve-left h2 {
        margin-bottom: 0;
      }
      /* Dark card quote */
      .dark-quote {
        background: var(--navy);
        border-radius: var(--r-lg);
        padding: 1.75rem 2rem 1.75rem 1.75rem;
        position: relative;
        overflow: hidden;
      }
      .dark-quote::before {
        content: "\201C";
        position: absolute;
        top: -0.5rem;
        right: 1.2rem;
        font-family: Georgia, serif;
        font-size: 6rem;
        line-height: 1;
        color: rgba(255, 255, 255, 0.06);
        pointer-events: none;
      }
      .dark-quote p {
        font-family: var(--fi);
        font-size: 1.1rem;
        font-style: italic;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.65;
        position: relative;
        z-index: 1;
      }
      .serve-copy {
        font-size: 0.975rem;
        font-weight: 300;
        color: var(--slate);
        line-height: 1.82;
      }
      .serve-copy strong {
        color: var(--navy);
        font-weight: 700;
      }
      /* team sentence */
      .team-sentence {
        font-family: var(--fb);
        font-size: 0.95rem;
        font-weight: 400;
        color: var(--slate);
        line-height: 1.7;
      }
      .team-sentence strong {
        color: var(--navy);
        font-weight: 700;
      }

      /* Industry card */
      .industry-card {
        background: var(--white);
        border: 1.5px solid var(--border);
        border-radius: var(--r-xl);
        overflow: hidden;
        box-shadow: 0 6px 28px rgba(11, 23, 49, 0.07);
      }
      .ind-card-head {
        background: var(--navy);
        padding: 1.4rem 1.75rem;
        font-family: var(--fb);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.4);
      }
      .ind-list {
        list-style: none;
      }
      .ind-list li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.82rem 1.75rem;
        font-family: var(--fb);
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--slate);
        border-bottom: 1px solid var(--border2);
        transition:
          background 0.15s,
          color 0.15s;
      }
      .ind-list li:last-child {
        border-bottom: none;
      }
      .ind-list li:hover {
        background: var(--bg);
        color: var(--navy);
      }
      .ind-dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--blue-mid);
        flex-shrink: 0;
        transition: background 0.15s;
      }
      .ind-list li:hover .ind-dot {
        background: var(--blue);
      }
      .sc-row {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        margin: 0 1.5rem 1.5rem;
        padding: 0.8rem 1rem;
        background: var(--bg);
        border: 1px solid var(--border);
        border-radius: 12px;
        font-family: var(--fb);
        font-size: 0.8rem;
        font-weight: 500;
        color: var(--slate);
      }

      /* ─────────────────── PROCESS SECTION ─────────────────── */
      .process-header {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
        align-items: end;
        margin-bottom: 4rem;
      }
      .process-italic {
        font-family: var(--fi);
        font-size: clamp(1.1rem, 1.8vw, 1.45rem);
        font-style: italic;
        font-weight: 400;
        color: var(--muted);
        line-height: 1.6;
      }
      .steps-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        margin-bottom: 4.5rem;
      }
      .step-card {
        background: var(--white);
        border: 1.5px solid var(--border);
        border-radius: var(--r-xl);
        padding: 2.25rem 2rem;
        position: relative;
        transition:
          transform 0.2s,
          box-shadow 0.2s,
          border-color 0.2s;
        overflow: hidden;
      }
      .step-card::after {
        content: "";
        position: absolute;
        bottom: -20px;
        right: -20px;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: radial-gradient(
          circle,
          rgba(24, 71, 209, 0.06),
          transparent 70%
        );
      }
      .step-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 14px 44px rgba(24, 71, 209, 0.1);
        border-color: var(--blue-mid);
      }
      .step-num {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        background: var(--navy);
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: var(--fh);
        font-size: 0.9rem;
        font-weight: 900;
        margin-bottom: 1.35rem;
        flex-shrink: 0;
      }
      .step-card h3 {
        font-family: var(--fh);
        font-size: 1.1rem;
        font-weight: 800;
        color: var(--navy);
        margin-bottom: 0.65rem;
        line-height: 1.22;
      }
      .step-card p {
        font-family: var(--fb);
        font-size: 0.9rem;
        font-weight: 300;
        color: var(--muted);
        line-height: 1.77;
      }

      /* services strip */
      .svc-label {
        font-family: var(--fb);
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--muted2);
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.25rem;
      }
      .svc-label::after {
        content: "";
        flex: 1;
        height: 1px;
        background: var(--border);
      }
      .svc-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        margin-bottom: 5rem;
      }
      .svc-card {
        background: var(--bg);
        border: 1.5px solid var(--border);
        border-radius: var(--r-lg);
        padding: 1.85rem 1.6rem;
        transition:
          border-color 0.2s,
          transform 0.2s,
          background 0.2s;
      }
      .svc-card:hover {
        border-color: var(--blue);
        transform: translateY(-3px);
        background: var(--white);
      }
      .svc-pill {
        display: inline-block;
        font-family: var(--fb);
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--blue);
        background: var(--blue-tint);
        border-radius: 6px;
        padding: 0.22rem 0.65rem;
        margin-bottom: 0.9rem;
      }
      .svc-card h4 {
        font-family: var(--fh);
        font-size: 1.05rem;
        font-weight: 800;
        color: var(--navy);
        margin-bottom: 0.5rem;
      }
      .svc-card p {
        font-family: var(--fb);
        font-size: 0.875rem;
        font-weight: 300;
        color: var(--muted);
        line-height: 1.75;
      }

      /* ─────────────────── CTA BLOCK ─────────────────── */
      .cta-wrap {
        max-width: 900px;
        margin: 0 auto;
      }
      .cta-block {
        background: var(--navy);
        border-radius: var(--r-xl);
        padding: 4.5rem 3.5rem;
        text-align: center;
        position: relative;
        overflow: hidden;
      }
      .cta-block::before {
        content: "";
        position: absolute;
        inset: 0;
        background:
          radial-gradient(
            ellipse 75% 50% at 50% 0%,
            rgba(24, 71, 209, 0.4),
            transparent 60%
          ),
          radial-gradient(
            ellipse 40% 40% at 95% 100%,
            rgba(80, 120, 255, 0.18),
            transparent 50%
          );
      }
      .cta-inner {
        position: relative;
        z-index: 1;
      }
      .cta-block h3 {
        font-family: var(--fh);
        font-size: clamp(1.9rem, 3.5vw, 2.6rem);
        font-weight: 900;
        letter-spacing: -0.035em;
        color: var(--white);
        margin-bottom: 0.8rem;
        line-height: 1.1;
      }
      .cta-block .cta-sub {
        font-family: var(--fi);
        font-size: 1.1rem;
        font-style: italic;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.58);
        margin-bottom: 2.25rem;
      }
      .btn-cta {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: var(--white);
        color: var(--navy);
        font-family: var(--fb);
        font-size: 0.975rem;
        font-weight: 700;
        padding: 0.95rem 2.1rem;
        border-radius: var(--r);
        text-decoration: none;
        transition:
          background 0.15s,
          transform 0.15s;
      }
      .btn-cta:hover {
        background: var(--blue-tint);
        transform: translateY(-2px);
      }

      /* ─────────────────── FOOTER ─────────────────── */
      footer {
        border-top: 1px solid var(--border);
        padding: 2rem 5vw;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
      }
      .footer-logo {
        display: flex;
        align-items: center;
        text-decoration: none;
      }
      .footer-logo img {
        display: block;
        width: auto;
        height: 104px;
        object-fit: contain;
      }
      footer p {
        font-family: var(--fb);
        font-size: 0.78rem;
        color: var(--muted2);
      }
      footer a.foot-link {
        font-family: var(--fb);
        font-size: 0.78rem;
        color: var(--blue);
        text-decoration: none;
        font-weight: 600;
      }
      footer a.foot-link:hover {
        text-decoration: underline;
      }

      /* ─────────────────── MOBILE ─────────────────── */
      @media (max-width: 860px) {
        .why-top,
        .serve-grid,
        .process-header {
          grid-template-columns: 1fr;
          gap: 2.5rem;
        }
        .why-aside {
          margin-top: 0;
        }
        .stats-row,
        .steps-row,
        .svc-row {
          grid-template-columns: 1fr;
          gap: 1.25rem;
        }
        .hide-mob {
          display: none !important;
        }
        nav {
          padding: 0 4vw;
        }
        .nav-mob {
          display: flex;
          align-items: center;
        }
        .section {
          padding: 5rem 4vw;
        }
        .cta-block {
          padding: 3rem 1.75rem;
        }
        h1.hero-h1 {
          font-size: clamp(2.6rem, 11vw, 5rem);
        }
        .hero-inner {
          padding: 3.5rem 4vw 2rem;
        }
      }
      @media (max-width: 540px) {
        .hero-ctas {
          flex-direction: column;
          align-items: flex-start;
        }
        .chips {
          gap: 0.5rem;
        }
        .stats-row,
        .steps-row,
        .svc-row {
          grid-template-columns: 1fr;
        }
        .process-header {
          grid-template-columns: 1fr;
          gap: 2rem;
        }
      }
