﻿:root {
      --color-bg: #050816;
      --color-bg-elevated: #070b16;
      --color-bg-soft: #0b1020;
      --color-navy: #050816;
      --color-black: #020308;
      --color-accent: #3b82f6; /* Electric blue */
      --color-accent-soft: rgba(59, 130, 246, 0.2);
      --color-text: #f9fafb;
      --color-muted: #9ca3af;
      --color-border-subtle: rgba(156, 163, 175, 0.25);
      --radius-xl: 24px;
      --radius-lg: 18px;
      --radius-md: 12px;
      --shadow-soft: 0 18px 60px rgba(15, 23, 42, 0.75);
      --transition-fast: 180ms ease-out;
      --transition-med: 260ms ease-out;
      --max-width: 1120px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      background: radial-gradient(circle at top left, #111827 0, #020617 45%, #000 100%);
      color: var(--color-text);
      -webkit-font-smoothing: antialiased;
      line-height: 1.6;
    }

    ::selection {
      background: var(--color-accent);
      color: #0b1020;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 100%;
      display: block;
    }

    /* Layout */
    .page {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 55%),
        radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.18), transparent 55%);
    }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    header,
    main,
    footer {
      width: 100%;
    }

    /* Top navigation */
    .nav {
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(18px);
      background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, 0.92),
        rgba(2, 6, 23, 0.82),
        transparent
      );
      border-bottom: 1px solid rgba(15, 23, 42, 0.8);
    }

    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.1rem 1.5rem 1.2rem;
      max-width: var(--max-width);
      margin: 0 auto;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .brand-mark {
      width: 32px;
      height: 32px;
      border-radius: 999px;
      background: conic-gradient(
        from 140deg,
        #0ea5e9,
        #3b82f6,
        #6366f1,
        #0ea5e9
      );
      box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.4),
        0 16px 40px rgba(15, 23, 42, 0.85);
      position: relative;
      overflow: hidden;
    }

    .brand-mark::after {
      content: "";
      position: absolute;
      inset: 4px;
      border-radius: inherit;
      background: radial-gradient(circle at 30% 0%, rgba(248, 250, 252, 0.26), transparent 55%);
      mix-blend-mode: screen;
    }

    .brand-logo {
      width: 34px;
      height: 34px;
      border-radius: 12px;
      object-fit: cover;
      box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.4),
        0 16px 40px rgba(15, 23, 42, 0.85);
    }

    .brand-name {
      font-weight: 700;
      letter-spacing: 0.08em;
      font-size: 0.9rem;
      text-transform: uppercase;
    }

    .brand-name--big {
      font-size: 2.4rem;
      letter-spacing: -0.03em;
      text-transform: none;
      margin-bottom: 0.25rem;
    }

    .brand-sub {
      font-size: 0.7rem;
      color: var(--color-muted);
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .brand-logo--big {
      width: 88px;
      height: 88px;
      border-radius: 22px;
      box-shadow:
        0 0 0 1px rgba(148, 163, 184, 0.4),
        0 26px 70px rgba(15, 23, 42, 0.95);
    }

    .brand-hero {
      padding: 2.4rem 0 0;
    }

    .brand-hero-inner {
      display: flex;
      align-items: center;
      gap: 1.25rem;
      border-radius: var(--radius-xl);
      border: 1px solid rgba(59, 130, 246, 0.45);
      background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 55%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.35), transparent 55%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
      padding: 1.6rem 1.4rem;
      box-shadow: 0 24px 70px rgba(15, 23, 42, 0.98);
    }

    @media (max-width: 640px) {
      .brand-hero-inner {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.6rem;
      font-size: 0.86rem;
    }

    .nav-links a {
      color: var(--color-muted);
      padding-bottom: 0.25rem;
      border-bottom: 1px solid transparent;
      transition: color var(--transition-fast), border-color var(--transition-fast),
        transform var(--transition-fast);
    }

    .nav-links a:hover {
      color: var(--color-text);
      border-color: rgba(148, 163, 184, 0.5);
      transform: translateY(-1px);
    }

    .nav-cta {
      display: none;
    }

    @media (min-width: 840px) {
      .nav-cta {
        display: inline-flex;
      }
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid transparent;
      padding: 0.7rem 1.4rem;
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 0.03em;
      text-transform: uppercase;
      cursor: pointer;
      transition: background var(--transition-med), color var(--transition-med),
        transform var(--transition-med), box-shadow var(--transition-med),
        border-color var(--transition-med);
      white-space: nowrap;
    }

    .btn-primary {
      background: linear-gradient(135deg, #2563eb, #3b82f6, #38bdf8);
      color: #06101f;
      font-weight: 700;
      text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
      box-shadow:
        0 12px 35px rgba(37, 99, 235, 0.55),
        0 0 0 1px rgba(191, 219, 254, 0.2);
    }

    .btn-primary:hover {
      transform: translateY(-1px) scale(1.02);
      box-shadow:
        0 18px 45px rgba(37, 99, 235, 0.75),
        0 0 0 1px rgba(191, 219, 254, 0.28);
      background: linear-gradient(135deg, #1d4ed8, #2563eb, #0ea5e9);
      color: #06101f;
    }

    .btn-primary:focus-visible {
      outline: 3px solid rgba(191, 219, 254, 0.55);
      outline-offset: 3px;
    }

    .btn-outline {
      border-color: rgba(148, 163, 184, 0.6);
      color: var(--color-text);
      background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.85));
    }

    .btn-outline:hover {
      border-color: rgba(148, 163, 184, 0.9);
      background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.6), rgba(15, 23, 42, 0.95));
      transform: translateY(-1px);
      box-shadow: 0 16px 38px rgba(15, 23, 42, 0.9);
    }

    /* Hero */
    .hero {
      padding: 5.5rem 0 4.3rem;
    }

    @media (min-width: 960px) {
      .hero {
        padding: 6.4rem 0 4.8rem;
      }
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr);
      gap: 3rem;
      align-items: center;
    }

    @media (min-width: 960px) {
      .hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
      }
    }

    .hero-eyebrow {
      font-size: 0.78rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--color-muted);
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      margin-bottom: 0.9rem;
    }

    .hero-eyebrow-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--color-accent);
      box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.25);
    }

    .hero-title {
      font-size: clamp(2.2rem, 4vw, 3.4rem);
      line-height: 1.06;
      letter-spacing: -0.04em;
      margin-bottom: 1rem;
    }

    .hero-title span {
      background: linear-gradient(135deg, #93c5fd, #e0f2fe);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .hero-subtitle {
      font-size: 0.98rem;
      color: var(--color-muted);
      max-width: 31rem;
      margin-bottom: 1.6rem;
    }

    .hero-tags {
      display: inline-flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-bottom: 2.1rem;
    }

    .hero-tag {
      font-size: 0.75rem;
      padding: 0.32rem 0.7rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.45);
      color: var(--color-muted);
      background: radial-gradient(circle at top, rgba(30, 64, 175, 0.35), rgba(15, 23, 42, 0.96));
      letter-spacing: 0.09em;
      text-transform: uppercase;
    }

    .hero-cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      align-items: center;
      margin-bottom: 1.8rem;
    }

    .hero-note {
      font-size: 0.8rem;
      color: var(--color-muted);
    }

    .hero-note strong {
      color: #e5e7eb;
      font-weight: 500;
    }

    .hero-meta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 1.4rem;
      margin-top: 1.1rem;
    }

    .hero-meta {
      font-size: 0.78rem;
      color: var(--color-muted);
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .hero-meta-badge {
      padding: 0.22rem 0.6rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.5);
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 64, 175, 0.8));
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #e5e7eb;
    }

    /* Hero visual */
    .hero-visual-wrap {
      position: relative;
    }

    .hero-card {
      position: relative;
      border-radius: var(--radius-xl);
      padding: 1.6rem 1.5rem 1.7rem;
      background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.22), transparent 55%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.2), transparent 52%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
      border: 1px solid rgba(148, 163, 184, 0.4);
      box-shadow: var(--shadow-soft);
      overflow: hidden;
    }

    .hero-card-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
      gap: 1.3rem;
      align-items: flex-start;
    }

    .hero-kpi-label {
      font-size: 0.7rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--color-muted);
      margin-bottom: 0.4rem;
    }

    .hero-kpi-main {
      font-size: 0.95rem;
      color: #e5e7eb;
      margin-bottom: 0.7rem;
    }

    .hero-kpi-pill-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      margin-bottom: 0.8rem;
    }

    .hero-kpi-pill {
      font-size: 0.7rem;
      padding: 0.2rem 0.55rem;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.9);
      border: 1px solid rgba(148, 163, 184, 0.55);
      color: var(--color-muted);
    }

    .hero-bar-chart {
      margin-top: 0.4rem;
    }

    .hero-bar-label-row {
      display: flex;
      justify-content: space-between;
      font-size: 0.7rem;
      color: var(--color-muted);
      margin-bottom: 0.35rem;
    }

    .hero-bar-track {
      position: relative;
      height: 7px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.96);
      overflow: hidden;
    }

    .hero-bar-fill {
      position: absolute;
      inset: 0;
      width: 72%;
      border-radius: inherit;
      background: linear-gradient(90deg, #22d3ee, #3b82f6, #6366f1);
      box-shadow: 0 0 18px rgba(59, 130, 246, 0.7);
      transform-origin: left;
      transform: scaleX(0.92);
    }

    /* Simulated line chart */
    .hero-line-card {
      background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.92));
      border-radius: var(--radius-lg);
      border: 1px solid rgba(148, 163, 184, 0.35);
      padding: 0.85rem 0.9rem 0.9rem;
      position: relative;
      overflow: hidden;
    }

    .hero-line-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.5rem;
      font-size: 0.72rem;
      color: var(--color-muted);
    }

    .hero-line-pill {
      padding: 0.16rem 0.45rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.45);
    }

    .hero-line-main {
      font-size: 0.92rem;
      color: #e5e7eb;
      margin-bottom: 0.4rem;
    }

    .hero-line-sub {
      font-size: 0.72rem;
      color: var(--color-muted);
      margin-bottom: 0.6rem;
    }

    .hero-line-grid {
      position: relative;
      height: 80px;
      border-radius: 12px;
      border: 1px solid rgba(31, 41, 55, 0.9);
      overflow: hidden;
      background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.24), #020617);
    }

    .hero-line-grid::before,
    .hero-line-grid::after {
      content: "";
      position: absolute;
      inset: 0;
      background-image: linear-gradient(
          to right,
          rgba(15, 23, 42, 0.9) 1px,
          transparent 1px
        ),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.95) 1px, transparent 1px);
      background-size: 26px 26px;
      opacity: 0.8;
    }

    .hero-line-path {
      position: absolute;
      inset: 0;
      background: none;
      pointer-events: none;
    }

    .hero-line-svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .hero-blob {
      position: absolute;
      inset: -50%;
      background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.3), transparent 60%);
      mix-blend-mode: screen;
      opacity: 0.7;
    }

    /* Sections */
    .section {
      padding: 3.8rem 0;
    }

    @media (min-width: 960px) {
      .section {
        padding: 4.1rem 0;
      }
    }

    .section-header {
      max-width: 640px;
      margin: 0 auto 2.5rem;
      text-align: center;
    }

    .section-eyebrow {
      font-size: 0.75rem;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--color-muted);
      margin-bottom: 0.6rem;
    }

    .section-title {
      font-size: 1.8rem;
      letter-spacing: -0.03em;
      margin-bottom: 0.5rem;
    }

    .section-title span {
      color: #93c5fd;
    }

    .section-subtitle {
      font-size: 0.96rem;
      color: var(--color-muted);
    }

    /* Services */
    .services-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.3rem;
    }

    @media (min-width: 720px) {
      .services-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    @media (min-width: 1040px) {
      .services-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
      }
    }

    .service-card {
      position: relative;
      border-radius: var(--radius-lg);
      padding: 1.2rem 1.2rem 1.3rem;
      background: radial-gradient(circle at top, #020617 0%, #020617 60%, #020617 100%);
      border: 1px solid rgba(31, 41, 55, 0.9);
      box-shadow: 0 12px 30px rgba(15, 23, 42, 0.9);
      overflow: hidden;
      cursor: default;
      transition: transform var(--transition-med), box-shadow var(--transition-med),
        border-color var(--transition-med), background var(--transition-med);
    }

    .service-card::before {
      content: "";
      position: absolute;
      inset: -40%;
      background: radial-gradient(
        circle at top,
        rgba(59, 130, 246, 0.28),
        rgba(15, 23, 42, 0.98)
      );
      opacity: 0;
      transition: opacity var(--transition-med), transform var(--transition-med);
      transform: translateY(8px);
    }

    .service-card-inner {
      position: relative;
      z-index: 1;
    }

    .service-badge {
      width: 36px;
      height: 36px;
      border-radius: 16px;
      background: radial-gradient(circle at 30% 0%, #38bdf8, #1d4ed8);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow:
        0 10px 28px rgba(37, 99, 235, 0.7),
        0 0 0 1px rgba(191, 219, 254, 0.4);
      margin-bottom: 0.85rem;
    }

    .service-badge-dot {
      width: 16px;
      height: 16px;
      border-radius: 999px;
      border: 2px solid rgba(219, 234, 254, 0.8);
      box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.5);
    }

    .service-title {
      font-size: 0.96rem;
      font-weight: 600;
      margin-bottom: 0.35rem;
    }

    .service-outcome {
      font-size: 0.82rem;
      color: var(--color-muted);
      margin-bottom: 0.7rem;
    }

    .service-meta {
      font-size: 0.7rem;
      color: var(--color-muted);
      opacity: 0.9;
    }

    .service-card:hover {
      transform: translateY(-6px);
      box-shadow:
        0 20px 55px rgba(15, 23, 42, 0.98),
        0 0 0 1px rgba(148, 163, 184, 0.4);
      border-color: rgba(148, 163, 184, 0.8);
      background: radial-gradient(circle at top, #020617 0%, #020617 60%, #020617 100%);
    }

    .service-card:hover::before {
      opacity: 1;
      transform: translateY(0);
    }

    /* Process */
    .process-wrap {
      border-radius: var(--radius-xl);
      border: 1px solid rgba(31, 41, 55, 0.98);
      background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), #020617);
      padding: 1.4rem 1.2rem 1.6rem;
      box-shadow: var(--shadow-soft);
      overflow: hidden;
      position: relative;
    }

    @media (min-width: 840px) {
      .process-wrap {
        padding: 1.6rem 1.6rem 1.8rem;
      }
    }

    .process-header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1.5rem;
      margin-bottom: 1.4rem;
      flex-wrap: wrap;
    }

    .process-heading-main {
      font-size: 0.9rem;
      color: var(--color-muted);
    }

    .process-heading-main strong {
      color: #e5e7eb;
    }

    .process-indicator {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.74rem;
      padding: 0.28rem 0.7rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.6);
      background: radial-gradient(circle at top, rgba(30, 64, 175, 0.85), rgba(15, 23, 42, 0.98));
      color: #e5e7eb;
      letter-spacing: 0.11em;
      text-transform: uppercase;
    }

    .process-indicator-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #22c55e;
      box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3);
    }

    .process-steps {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 0.9rem;
      position: relative;
    }

    @media (min-width: 840px) {
      .process-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    .process-step {
      position: relative;
      border-radius: var(--radius-md);
      padding: 0.9rem 0.9rem 1rem;
      background: radial-gradient(circle at top, rgba(17, 24, 39, 0.98), rgba(15, 23, 42, 0.98));
      border: 1px solid rgba(31, 41, 55, 0.9);
      overflow: hidden;
      transition: transform var(--transition-med), border-color var(--transition-med),
        box-shadow var(--transition-med), background var(--transition-med);
    }

    .process-step::before {
      content: "";
      position: absolute;
      inset: -40%;
      background: radial-gradient(circle at top, rgba(59, 130, 246, 0.18), transparent 60%);
      opacity: 0;
      transition: opacity var(--transition-med), transform var(--transition-med);
      transform: translateY(8px);
    }

    .process-step-inner {
      position: relative;
      z-index: 1;
    }

    .process-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      padding: 0.15rem 0.55rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.55);
      font-size: 0.7rem;
      letter-spacing: 0.11em;
      text-transform: uppercase;
      color: var(--color-muted);
      margin-bottom: 0.55rem;
    }

    .process-pill-num {
      width: 18px;
      height: 18px;
      border-radius: 999px;
      background: rgba(15, 23, 42, 0.96);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.68rem;
      color: #e5e7eb;
    }

    .process-title {
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: 0.25rem;
    }

    .process-copy {
      font-size: 0.8rem;
      color: var(--color-muted);
    }

    .process-step:hover {
      transform: translateY(-4px);
      border-color: rgba(148, 163, 184, 0.9);
      box-shadow: 0 18px 44px rgba(15, 23, 42, 0.96);
      background: radial-gradient(circle at top, rgba(17, 24, 39, 1), rgba(15, 23, 42, 0.98));
    }

    .process-step:hover::before {
      opacity: 1;
      transform: translateY(0);
    }

    /* Team */
    .team-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.3rem;
    }

    @media (min-width: 840px) {
      .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    .team-card {
      position: relative;
      border-radius: var(--radius-lg);
      padding: 1.1rem 1.1rem 1.2rem;
      background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.98));
      border: 1px solid rgba(31, 41, 55, 0.98);
      box-shadow: 0 16px 45px rgba(15, 23, 42, 0.95);
      overflow: hidden;
      transition: transform var(--transition-med), box-shadow var(--transition-med),
        border-color var(--transition-med), background var(--transition-med);
    }

    .team-card::before {
      content: "";
      position: absolute;
      inset: -40%;
      background: radial-gradient(
        circle at top,
        rgba(56, 189, 248, 0.28),
        rgba(37, 99, 235, 0.22),
        transparent 60%
      );
      opacity: 0;
      transition: opacity var(--transition-med), transform var(--transition-med);
      transform: translateY(8px);
    }

    .team-card-inner {
      position: relative;
      z-index: 1;
    }

    .team-avatar-wrap {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 0.85rem;
    }

    .team-avatar {
      width: 48px;
      height: 48px;
      border-radius: 999px;
      background: linear-gradient(135deg, #1d4ed8, #38bdf8);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 600;
      font-size: 1rem;
      color: #e5f2ff;
      box-shadow:
        0 18px 40px rgba(37, 99, 235, 0.9),
        0 0 0 3px rgba(15, 23, 42, 1);
      position: relative;
      overflow: hidden;
    }

    .team-avatar::after {
      content: "";
      position: absolute;
      inset: 7px;
      border-radius: inherit;
      background: radial-gradient(circle at 30% 0%, rgba(248, 250, 252, 0.22), transparent 60%);
      mix-blend-mode: screen;
    }

    .team-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .team-avatar--photo::after {
      display: none;
    }

    .team-avatar--xl {
      width: 88px;
      height: 88px;
      box-shadow:
        0 22px 55px rgba(37, 99, 235, 0.95),
        0 0 0 3px rgba(15, 23, 42, 1);
    }

    /* Simple lightbox for team photos */
    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.75);
      display: none;
      align-items: center;
      justify-content: center;
      padding: 1.5rem;
      z-index: 1000;
    }

    .lightbox.open {
      display: flex;
    }

    .lightbox-card {
      width: min(920px, 94vw);
      border-radius: var(--radius-xl);
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: rgba(2, 6, 23, 0.92);
      box-shadow: 0 28px 90px rgba(0, 0, 0, 0.85);
      overflow: hidden;
    }

    .lightbox-img {
      width: 100%;
      height: auto;
      display: block;
      max-height: 82vh;
      object-fit: contain;
      background: rgba(2, 6, 23, 0.92);
    }

    .lightbox-meta {
      padding: 0.9rem 1rem 1rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      border-top: 1px solid rgba(148, 163, 184, 0.18);
      color: var(--color-muted);
      font-size: 0.8rem;
    }

    .lightbox-close {
      border: 1px solid rgba(148, 163, 184, 0.45);
      background: rgba(15, 23, 42, 0.9);
      color: #e5e7eb;
      border-radius: 999px;
      padding: 0.45rem 0.8rem;
      cursor: pointer;
    }

    .team-meta {
      display: flex;
      flex-direction: column;
      gap: 0.05rem;
    }

    .team-name {
      font-size: 0.98rem;
      font-weight: 600;
    }

    .team-role {
      font-size: 0.8rem;
      color: var(--color-muted);
    }

    .team-bio {
      font-size: 0.8rem;
      color: var(--color-muted);
      margin-bottom: 0.9rem;
    }

    .team-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.7rem;
      flex-wrap: wrap;
    }

    .team-focus {
      font-size: 0.75rem;
      color: var(--color-muted);
    }

    .team-link {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.32rem 0.7rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.7);
      background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
      font-size: 0.72rem;
      letter-spacing: 0.09em;
      text-transform: uppercase;
      color: #e5e7eb;
      cursor: pointer;
      transition: border-color var(--transition-med), background var(--transition-med),
        transform var(--transition-med), box-shadow var(--transition-med);
    }

    .team-link-icon {
      width: 14px;
      height: 14px;
      border-radius: 3px;
      border: 1px solid rgba(148, 163, 184, 0.8);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.7rem;
    }

    .team-link:hover {
      border-color: rgba(191, 219, 254, 0.95);
      background: radial-gradient(circle at top, rgba(37, 99, 235, 0.85), rgba(15, 23, 42, 0.98));
      transform: translateY(-2px);
      box-shadow: 0 18px 50px rgba(15, 23, 42, 1);
    }

    .team-card:hover {
      transform: translateY(-6px);
      border-color: rgba(148, 163, 184, 0.9);
      box-shadow:
        0 24px 60px rgba(15, 23, 42, 1),
        0 0 0 1px rgba(148, 163, 184, 0.6);
      background: radial-gradient(circle at top, rgba(15, 23, 42, 1), rgba(15, 23, 42, 0.98));
    }

    .team-card:hover::before {
      opacity: 1;
      transform: translateY(0);
    }

    /* Final CTA */
    .cta-section {
      padding: 4.2rem 0 3.8rem;
    }

    .cta-wrap {
      border-radius: var(--radius-xl);
      border: 1px solid rgba(59, 130, 246, 0.6);
      background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 55%),
        radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.35), transparent 55%),
        linear-gradient(135deg, #020617, #020617);
      padding: 2.2rem 1.8rem 2.3rem;
      box-shadow:
        0 24px 70px rgba(15, 23, 42, 0.98),
        0 0 0 1px rgba(15, 23, 42, 1);
      overflow: hidden;
      position: relative;
    }

    @media (min-width: 880px) {
      .cta-wrap {
        padding: 2.5rem 2.3rem 2.6rem;
      }
    }

    .cta-grid {
      display: grid;
      grid-template-columns: minmax(0, 1.2fr);
      gap: 1.8rem;
      align-items: center;
    }

    @media (min-width: 880px) {
      .cta-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
      }
    }

    .cta-kicker {
      font-size: 0.75rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #bfdbfe;
      margin-bottom: 0.7rem;
    }

    .cta-title {
      font-size: 1.8rem;
      letter-spacing: -0.03em;
      margin-bottom: 0.5rem;
    }

    .cta-title span {
      color: #93c5fd;
    }

    .cta-subtitle {
      font-size: 0.95rem;
      color: #e5e7eb;
      margin-bottom: 1.5rem;
      max-width: 32rem;
    }

    .cta-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      align-items: center;
    }

    .cta-secondary {
      font-size: 0.8rem;
      color: #cbd5f5;
    }

    .cta-pills {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 0.7rem;
      font-size: 0.78rem;
    }

    @media (min-width: 880px) {
      .cta-pills {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .cta-pill {
      border-radius: 999px;
      padding: 0.5rem 0.8rem;
      border: 1px solid rgba(148, 163, 184, 0.7);
      background: rgba(15, 23, 42, 0.96);
      color: #e5e7eb;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .cta-pill-dot {
      width: 7px;
      height: 7px;
      border-radius: 999px;
      background: #22c55e;
      box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
    }

    .contact-panel {
      border-radius: var(--radius-lg);
      border: 1px solid rgba(148, 163, 184, 0.45);
      background: rgba(15, 23, 42, 0.96);
      padding: 1.25rem 1.2rem 1.3rem;
    }

    .contact-heading {
      font-size: 0.75rem;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: #bfdbfe;
      margin-bottom: 1rem;
    }

    .contact-list {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      min-width: 0;
    }

    .contact-item {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      min-width: 0;
    }

    .contact-label {
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-muted);
    }

    .contact-value {
      font-size: 0.92rem;
      color: #e5e7eb;
      transition: color var(--transition-fast);
      min-width: 0;
      max-width: 100%;
      overflow-wrap: anywhere;
      word-break: break-word;
      line-break: anywhere;
      display: inline-block;
    }

    .contact-value:hover {
      color: #93c5fd;
    }

    /* Footer */
    footer {
      padding: 1.9rem 0 2.2rem;
      border-top: 1px solid rgba(15, 23, 42, 0.95);
      background: radial-gradient(circle at top, #020617, #020617);
    }

    .footer-inner {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      font-size: 0.8rem;
      color: var(--color-muted);
    }

    @media (min-width: 840px) {
      .footer-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
      }
    }

    .footer-left {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-weight: 600;
    }

    .footer-logo-mark {
      width: 22px;
      height: 22px;
      border-radius: 999px;
      background: conic-gradient(from 160deg, #3b82f6, #0ea5e9, #6366f1, #3b82f6);
    }

    .footer-logo-img {
      width: 22px;
      height: 22px;
      border-radius: 8px;
      object-fit: cover;
    }

    .footer-links {
      display: flex;
      flex-wrap: wrap;
      gap: 1.1rem;
      align-items: center;
    }

    .footer-links a {
      color: var(--color-muted);
      transition: color var(--transition-fast), transform var(--transition-fast);
    }

    .footer-links a:hover {
      color: #e5e7eb;
      transform: translateY(-1px);
    }

    .footer-right {
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 0.4rem;
    }

    @media (min-width: 840px) {
      .footer-right {
        align-items: flex-end;
      }
    }

    .footer-mini {
      font-size: 0.76rem;
      color: var(--color-muted);
    }

    /* Utilities */
    .badge-outline {
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.55);
      padding: 0.2rem 0.5rem;
      font-size: 0.72rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--color-muted);
    }

    /* Basic fade-in animation */
    .fade-in-up {
      opacity: 0;
      transform: translateY(16px);
      animation: fadeInUp 0.9s ease-out forwards;
    }

    .fade-in-up-delayed {
      opacity: 0;
      transform: translateY(16px);
      animation: fadeInUp 0.9s ease-out 0.12s forwards;
    }

    .fade-in-up-late {
      opacity: 0;
      transform: translateY(16px);
      animation: fadeInUp 0.9s ease-out 0.22s forwards;
    }

    @keyframes fadeInUp {
      0% {
        opacity: 0;
        transform: translateY(16px);
      }
      100% {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Responsive tweaks */
    @media (max-width: 640px) {
      .hero-card-grid {
        grid-template-columns: minmax(0, 1fr);
      }

      .cta-actions {
        align-items: flex-start;
      }
    }

    /* Multi-page navigation */
    .nav-links a.active {
      color: var(--color-text);
      border-color: rgba(59, 130, 246, 0.7);
    }

    .brand:hover .brand-name {
      color: #93c5fd;
    }

    /* Page hero (inner landing pages) */
    .page-hero {
      padding: 4.5rem 0 3rem;
    }

    @media (min-width: 960px) {
      .page-hero {
        padding: 5.5rem 0 3.5rem;
      }
    }

    .page-hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 2rem;
      align-items: center;
    }

    @media (min-width: 900px) {
      .page-hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
      }
    }

    .page-hero-title {
      font-size: clamp(2rem, 3.5vw, 2.8rem);
      line-height: 1.08;
      letter-spacing: -0.04em;
      margin-bottom: 0.9rem;
    }

    .page-hero-title span {
      background: linear-gradient(135deg, #93c5fd, #e0f2fe);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .page-hero-subtitle {
      font-size: 1rem;
      color: var(--color-muted);
      max-width: 36rem;
      margin-bottom: 1.4rem;
    }

    .page-hero-card {
      border-radius: var(--radius-xl);
      border: 1px solid rgba(148, 163, 184, 0.4);
      background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.2), rgba(15, 23, 42, 0.98));
      padding: 1.4rem 1.3rem;
      box-shadow: var(--shadow-soft);
    }

    .page-hero-stat-row {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0.8rem;
    }

    .page-hero-stat {
      border-radius: var(--radius-md);
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: rgba(15, 23, 42, 0.9);
      padding: 0.85rem 0.9rem;
    }

    .page-hero-stat strong {
      display: block;
      font-size: 1.35rem;
      letter-spacing: -0.03em;
      color: #e5e7eb;
      margin-bottom: 0.2rem;
    }

    .page-hero-stat span {
      font-size: 0.75rem;
      color: var(--color-muted);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    /* Home explore cards */
    .explore-section {
      padding: 2rem 0 4.5rem;
    }

    .explore-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.2rem;
    }

    @media (min-width: 640px) {
      .explore-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (min-width: 1040px) {
      .explore-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }

    .explore-card {
      position: relative;
      border-radius: var(--radius-lg);
      padding: 1.3rem 1.2rem 1.35rem;
      border: 1px solid rgba(31, 41, 55, 0.95);
      background: radial-gradient(circle at top, rgba(30, 64, 175, 0.25), rgba(15, 23, 42, 0.98));
      box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
      transition: transform var(--transition-med), border-color var(--transition-med),
        box-shadow var(--transition-med);
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
      min-height: 100%;
    }

    .explore-card:hover {
      transform: translateY(-6px);
      border-color: rgba(148, 163, 184, 0.85);
      box-shadow: 0 22px 55px rgba(15, 23, 42, 1);
    }

    .explore-card-tag {
      font-size: 0.68rem;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #93c5fd;
    }

    .explore-card h3 {
      font-size: 1.05rem;
      letter-spacing: -0.02em;
    }

    .explore-card p {
      font-size: 0.82rem;
      color: var(--color-muted);
      flex: 1;
    }

    .explore-card-link {
      font-size: 0.75rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: #bfdbfe;
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
    }

    .explore-card-link::after {
      content: "→";
      transition: transform var(--transition-fast);
    }

    .explore-card:hover .explore-card-link::after {
      transform: translateX(3px);
    }

    /* Stats strip */
    .stats-strip {
      border-radius: var(--radius-xl);
      border: 1px solid rgba(59, 130, 246, 0.45);
      background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 64, 175, 0.35));
      padding: 1.4rem 1.2rem;
      margin-bottom: 2.5rem;
    }

    .stats-strip-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1rem;
    }

    @media (min-width: 720px) {
      .stats-strip-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }
    }

    .stat-item strong {
      display: block;
      font-size: 1.5rem;
      color: #e5e7eb;
      margin-bottom: 0.15rem;
    }

    .stat-item span {
      font-size: 0.78rem;
      color: var(--color-muted);
    }

    /* Service detail blocks */
    .service-detail-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.4rem;
    }

    @media (min-width: 840px) {
      .service-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .service-detail-card {
      border-radius: var(--radius-lg);
      border: 1px solid rgba(31, 41, 55, 0.95);
      background: radial-gradient(circle at top, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
      padding: 1.35rem 1.25rem 1.4rem;
      box-shadow: 0 14px 38px rgba(15, 23, 42, 0.92);
    }

    .service-detail-card h3 {
      font-size: 1.1rem;
      margin-bottom: 0.45rem;
    }

    .service-detail-card .service-outcome {
      margin-bottom: 0.9rem;
    }

    .service-deliverables {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
      margin-bottom: 0.9rem;
    }

    .service-deliverables li {
      font-size: 0.8rem;
      color: #d1d5db;
      padding-left: 1rem;
      position: relative;
    }

    .service-deliverables li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.45rem;
      width: 5px;
      height: 5px;
      border-radius: 999px;
      background: #3b82f6;
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    }

    .service-tag-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.35rem;
    }

    .service-tag {
      font-size: 0.68rem;
      padding: 0.2rem 0.5rem;
      border-radius: 999px;
      border: 1px solid rgba(148, 163, 184, 0.45);
      color: var(--color-muted);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    /* Value / industries */
    .value-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1rem;
    }

    @media (min-width: 720px) {
      .value-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    .value-card {
      border-radius: var(--radius-md);
      border: 1px solid rgba(31, 41, 55, 0.9);
      background: rgba(15, 23, 42, 0.92);
      padding: 1rem 1rem 1.05rem;
    }

    .value-card h4 {
      font-size: 0.92rem;
      margin-bottom: 0.35rem;
    }

    .value-card p {
      font-size: 0.8rem;
      color: var(--color-muted);
    }

    /* Process timeline */
    .timeline {
      display: flex;
      flex-direction: column;
      gap: 1.2rem;
    }

    .timeline-item {
      border-radius: var(--radius-lg);
      border: 1px solid rgba(31, 41, 55, 0.95);
      background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), rgba(15, 23, 42, 0.98));
      padding: 1.3rem 1.2rem;
    }

    .timeline-head {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.6rem;
      margin-bottom: 0.7rem;
    }

    .timeline-phase {
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #93c5fd;
      padding: 0.2rem 0.55rem;
      border-radius: 999px;
      border: 1px solid rgba(59, 130, 246, 0.5);
      background: rgba(15, 23, 42, 0.9);
    }

    .timeline-item h3 {
      font-size: 1.05rem;
      margin-bottom: 0.4rem;
    }

    .timeline-item p {
      font-size: 0.84rem;
      color: var(--color-muted);
      margin-bottom: 0.75rem;
    }

    .timeline-checklist {
      list-style: none;
      display: grid;
      gap: 0.4rem;
    }

    @media (min-width: 640px) {
      .timeline-checklist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .timeline-checklist li {
      font-size: 0.78rem;
      color: #d1d5db;
    }

    /* FAQ */
    .faq-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 0.9rem;
    }

    @media (min-width: 840px) {
      .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    .faq-item {
      border-radius: var(--radius-md);
      border: 1px solid rgba(31, 41, 55, 0.9);
      background: rgba(15, 23, 42, 0.92);
      padding: 1rem 1rem 1.05rem;
    }

    .faq-item h4 {
      font-size: 0.9rem;
      margin-bottom: 0.35rem;
    }

    .faq-item p {
      font-size: 0.8rem;
      color: var(--color-muted);
    }

    /* Team expanded */
    .team-card--expanded .team-bio {
      margin-bottom: 1rem;
    }

    .team-highlights {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      margin-bottom: 1rem;
    }

    .team-highlights li {
      font-size: 0.78rem;
      color: #d1d5db;
      padding-left: 0.9rem;
      position: relative;
    }

    .team-highlights li::before {
      content: "—";
      position: absolute;
      left: 0;
      color: #3b82f6;
    }

    .culture-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1rem;
      margin-top: 2rem;
    }

    @media (min-width: 720px) {
      .culture-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    /* Contact page */
    .contact-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1.5rem;
    }

    @media (min-width: 900px) {
      .contact-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
      }
    }

    .contact-panel--large {
      padding: 1.5rem 1.4rem 1.6rem;
    }

    .contact-channel-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 1rem;
      margin-top: 1.2rem;
    }

    @media (min-width: 640px) {
      .contact-channel-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    .contact-channel {
      border-radius: var(--radius-md);
      border: 1px solid rgba(148, 163, 184, 0.35);
      background: rgba(15, 23, 42, 0.9);
      padding: 1rem;
      min-width: 0;
    }

    .contact-expect-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
      margin-top: 1rem;
    }

    .contact-expect-list li {
      font-size: 0.84rem;
      color: #d1d5db;
      padding-left: 1.1rem;
      position: relative;
    }

    .contact-expect-list li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0.5rem;
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: #22c55e;
    }

    /* Bottom CTA band */
    .cta-band {
      margin: 3rem 0 4rem;
    }

    .section--tight-top {
      padding-top: 0;
    }

    /* ========== Mobile & tablet responsive (desktop 840px+ unchanged) ========== */

    html {
      overflow-x: hidden;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }

    body {
      overflow-x: hidden;
    }

    .page {
      overflow-x: hidden;
      max-width: 100%;
    }

    main,
    footer,
    header {
      max-width: 100%;
    }

    /* Mobile menu toggle — hidden on desktop (840px+) */
    .nav-toggle {
      display: none;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      gap: 5px;
      width: 44px;
      height: 44px;
      padding: 0;
      border-radius: 12px;
      border: 1px solid rgba(148, 163, 184, 0.45);
      background: rgba(15, 23, 42, 0.95);
      cursor: pointer;
      flex-shrink: 0;
      -webkit-tap-highlight-color: transparent;
    }

    .nav-toggle-bar {
      display: block;
      width: 20px;
      height: 2px;
      border-radius: 999px;
      background: #e5e7eb;
      transition: transform var(--transition-fast), opacity var(--transition-fast);
    }

    .nav.nav-open .nav-toggle-bar:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .nav.nav-open .nav-toggle-bar:nth-child(2) {
      opacity: 0;
    }

    .nav.nav-open .nav-toggle-bar:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    body.nav-menu-open {
      overflow: hidden;
    }

    /* Tablet: inline nav wrap (840px–1023px only; 1024px+ unchanged) */
    @media (max-width: 1023px) and (min-width: 840px) {
      .nav-inner {
        flex-wrap: wrap;
        row-gap: 0.5rem;
      }

      .nav-links {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.65rem 1rem;
        max-width: calc(100% - 12rem);
        margin-left: auto;
      }

      .nav-links a {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
      }

      .nav-links .nav-cta {
        min-height: 44px;
      }
    }

    /* Tablet refinements (below desktop nav breakpoint) */
    @media (max-width: 1023px) {
      .container {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
      }

      .nav-inner {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
      }

      .page-hero-title {
        font-size: clamp(1.75rem, 4.5vw, 2.5rem);
      }

      .section-title {
        font-size: clamp(1.45rem, 3.5vw, 1.8rem);
      }

      .cta-title {
        font-size: clamp(1.45rem, 3.5vw, 1.8rem);
      }

      .cta-grid {
        gap: 1.4rem;
      }

      .contact-layout {
        gap: 1.25rem;
      }

      .timeline-checklist {
        grid-template-columns: minmax(0, 1fr);
      }
    }

    /* Mobile navigation & layout (below 840px — matches existing nav-cta breakpoint) */
    @media (max-width: 839px) {
      .nav-inner {
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem;
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
      }

      .nav-toggle {
        display: inline-flex;
        margin-left: auto;
      }

      .brand {
        min-width: 0;
        flex: 1 1 auto;
      }

      .brand-name,
      .brand-sub {
        overflow-wrap: anywhere;
      }

      .nav-links {
        display: none;
        width: 100%;
        flex: 1 1 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.35rem;
        padding: 0.85rem 0 0.25rem;
        margin: 0;
        border-top: 1px solid rgba(148, 163, 184, 0.2);
      }

      .nav.nav-open .nav-links {
        display: flex;
      }

      .nav-links a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0.65rem 0.85rem;
        border-radius: var(--radius-md);
        border-bottom: none;
        transform: none;
        font-size: 0.92rem;
      }

      .nav-links a:hover,
      .nav-links a.active {
        background: rgba(30, 64, 175, 0.35);
        border-color: transparent;
        transform: none;
      }

      .nav-links .nav-cta {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
        min-height: 48px;
        margin-top: 0.35rem;
        white-space: normal;
        text-align: center;
      }

      .hero {
        padding: 3.5rem 0 2.75rem;
      }

      .brand-hero {
        padding-top: 1.25rem;
      }

      .brand-hero-inner {
        padding: 1.2rem 1rem;
      }

      .brand-name--big {
        font-size: clamp(1.65rem, 7vw, 2.1rem);
      }

      .brand-logo--big {
        width: 72px;
        height: 72px;
      }

      .page-hero {
        padding: 3.25rem 0 2.25rem;
      }

      .section {
        padding: 2.75rem 0;
      }

      .explore-section {
        padding-bottom: 3rem;
      }

      .cta-band {
        margin: 2rem 0 2.75rem;
      }

      .cta-wrap {
        padding: 1.5rem 1.15rem 1.6rem;
      }

      .hero-cta-row,
      .cta-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
      }

      .hero-cta-row .btn,
      .cta-actions .btn {
        width: 100%;
        max-width: 100%;
      }

      .btn {
        white-space: normal;
        min-height: 48px;
        padding: 0.85rem 1.2rem;
        font-size: 0.82rem;
      }

      .hero-meta-row {
        flex-direction: column;
        gap: 0.85rem;
      }

      .hero-meta {
        flex-wrap: wrap;
        align-items: flex-start;
      }

      .hero-subtitle,
      .page-hero-subtitle,
      .section-subtitle,
      .cta-subtitle {
        font-size: 0.95rem;
        max-width: 100%;
      }

      .stats-strip {
        padding: 1.1rem 0.95rem;
      }

      .stats-strip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.85rem;
      }

      .page-hero-stat-row {
        grid-template-columns: minmax(0, 1fr);
      }

      .stat-item strong,
      .page-hero-stat strong {
        font-size: 1.25rem;
      }

      .service-detail-grid,
      .value-grid,
      .culture-grid,
      .faq-grid {
        gap: 1rem;
      }

      .team-grid {
        gap: 1rem;
      }

      .team-card {
        padding: 1rem;
      }

      .team-avatar--xl {
        width: 72px;
        height: 72px;
      }

      .team-footer {
        flex-direction: column;
        align-items: flex-start;
      }

      .team-link {
        min-height: 44px;
        padding: 0.55rem 0.9rem;
        width: 100%;
        justify-content: center;
      }

      .contact-panel--large {
        padding: 1.2rem 1rem 1.25rem;
      }

      .contact-channel-grid {
        grid-template-columns: minmax(0, 1fr) !important;
      }

      .contact-layout > .cta-wrap {
        margin: 0 !important;
      }

      .footer-inner {
        gap: 1.25rem;
      }

      .footer-links {
        gap: 0.65rem 1rem;
      }

      .footer-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
      }

      .lightbox {
        padding: 1rem;
      }

      .lightbox-card {
        width: 100%;
        max-height: 92vh;
      }

      .lightbox-img {
        max-height: 70vh;
      }

      .process-wrap {
        padding: 1.1rem 0.95rem 1.2rem;
      }

      .process-header-row {
        flex-direction: column;
        align-items: flex-start;
      }
    }

    /* Small phones */
    @media (max-width: 479px) {
      .container {
        padding-left: 1rem;
        padding-right: 1rem;
      }

      .nav-inner {
        padding-left: 1rem;
        padding-right: 1rem;
      }

      .hero-title {
        font-size: clamp(1.85rem, 8vw, 2.35rem);
      }

      .hero-tags {
        gap: 0.35rem;
      }

      .hero-tag {
        font-size: 0.7rem;
        padding: 0.28rem 0.55rem;
      }

      .stats-strip-grid {
        grid-template-columns: minmax(0, 1fr) !important;
      }

      .explore-card {
        padding: 1.1rem 1rem;
      }

      .brand-sub {
        font-size: 0.62rem;
        letter-spacing: 0.08em;
      }

      .footer-links {
        flex-direction: column;
        align-items: flex-start;
      }
    }
