    /* ── Fonts ──────────────────────────────────────── */
    :root {
      --font-display: 'Instrument Serif', serif;
      --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    }

    /* ── Suppress Chrome text-fragment highlight ───── */
    ::target-text {
      background: transparent;
      color: inherit;
    }

    /* ── Reset ─────────────────────────────────────── */
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      font-size: 16px;
      -webkit-text-size-adjust: 100%;
    }

    /* ── Theme Variables ────────────────────────────── */
    :root {
      --r: 20px;
      --r-sm: 12px;
      --font: var(--font-body);
      --ease: 0.3s ease;
    }

    [data-theme="dark"] {
      --accent: #2997ff;
      --accent-h: #57b0ff;
      --bg: #07101e;
      --bg2: #07101e;
      --card: rgba(255, 255, 255, 0.03);
      --card-h: rgba(255, 255, 255, 0.06);
      --nav: rgba(7, 16, 30, 0.6);
      --b: rgba(255, 255, 255, 0.07);
      --b-h: rgba(255, 255, 255, 0.14);
      --t: #f5f5f7;
      --t2: #c0c0c6;
      --t3: #7a7a82;
      --tag-bg: rgba(41, 151, 255, 0.12);
      --tag-c: #2997ff;
      --tog: #3a3a3c;
      --sh: 0 24px 64px rgba(0, 0, 0, 0.7);
      --sh-sm: 0 8px 32px rgba(0, 0, 0, 0.4);
      --orb: 0.13;
    }

    /* ── Per-page accent colors ─────────────────────── */
    [data-theme="dark"] body {
      --tag-bg: color-mix(in srgb, var(--page-accent, #2997ff) 12%, transparent);
      --tag-c: var(--page-accent, #2997ff);
    }

    /* ── Animations ─────────────────────────────────── */
    @keyframes floatOrb {

      0%,
      100% {
        transform: translate(0, 0) scale(1)
      }

      33% {
        transform: translate(30px, -40px) scale(1.06)
      }

      66% {
        transform: translate(-20px, 20px) scale(0.96)
      }
    }

    @keyframes gAni {
      0% {
        background-position: 0% 50%
      }

      50% {
        background-position: 100% 50%
      }

      100% {
        background-position: 0% 50%
      }
    }

    @keyframes bGlow {

      0%,
      100% {
        opacity: .4
      }

      50% {
        opacity: .8
      }
    }

    @keyframes pulse {

      0%,
      100% {
        transform: scale(1)
      }

      50% {
        transform: scale(1.015)
      }
    }

    @keyframes fade-rise {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    @keyframes videoReveal {
      from { opacity: 0; transform: scale(1.04); }
      to   { opacity: 1; transform: scale(1); }
    }

    /* ── Logo animation ─────────────────────────────── */
    @keyframes typewriter {
      from { width: 0; }
      to   { width: 100%; }
    }
    @keyframes blink-cursor {
      0%, 100% { border-color: transparent; }
      50%       { border-color: rgba(255,255,255,0.8); }
    }
    .logo-wrap {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .logo-text {
      display: inline-block;
      overflow: hidden;
      white-space: nowrap;
      width: 0;
      animation: typewriter 0.7s cubic-bezier(.4,0,.2,1) 0.3s forwards;
      font-family: 'Instrument Serif', serif;
      font-style: italic;
      font-size: 1.35rem;
      font-weight: 400;
      letter-spacing: -.02em;
      color: var(--t);
      text-decoration: none;
      vertical-align: middle;
      line-height: 1;
    }

    .logo-cursor {
      display: inline-block;
      width: 2px;
      height: 1.1em;
      background: rgba(255,255,255,0.85);
      border-radius: 1px;
      vertical-align: middle;
      margin-left: 1px;
      animation: blink-cursor 0.7s step-end 0s 5, fadeout 0.2s ease 3.5s forwards;
    }
    @keyframes fadeout { to { opacity: 0; } }

    .animate-fade-rise-d1     { animation: fade-rise 0.9s cubic-bezier(.22,1,.36,1) 0.15s both; }
    .animate-fade-rise-d2     { animation: fade-rise 0.9s cubic-bezier(.22,1,.36,1) 0.30s both; }
    .animate-fade-rise-d3     { animation: fade-rise 0.9s cubic-bezier(.22,1,.36,1) 0.48s both; }

    /* ── Liquid Glass ───────────────────────────────── */
    .liquid-glass {
      background: rgba(255, 255, 255, 0.04);
      backdrop-filter: blur(18px) saturate(160%);
      -webkit-backdrop-filter: blur(18px) saturate(160%);
      border: none;
      box-shadow: inset 0 1px 1px rgba(255,255,255,0.13), 0 4px 32px rgba(0,0,0,0.25);
      position: relative;
    }
    .liquid-glass::before {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 1.2px;
      background: linear-gradient(
        180deg,
        rgba(255,255,255,0.48) 0%,
        rgba(255,255,255,0.14) 22%,
        rgba(255,255,255,0)    42%,
        rgba(255,255,255,0)    58%,
        rgba(255,255,255,0.14) 78%,
        rgba(255,255,255,0.48) 100%
      );
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
      z-index: 0;
    }

    /* ── Base ───────────────────────────────────────── */
    body {
      font-family: var(--font);
      background: var(--bg);
      background-image: 
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(41,151,255,0.07) 0%, transparent 60%),
        radial-gradient(ellipse 60% 30% at 80% 60%, rgba(6,182,212,0.04) 0%, transparent 50%);
      color: var(--t);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    .container {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 32px;
    }

    section {
      padding: 110px 0;
    }

    .fade-in {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .7s ease, transform .7s ease;
    }

    .fade-in.visible {
      opacity: 1;
      transform: none;
    }

    .d1 {
      transition-delay: .1s
    }

    .d2 {
      transition-delay: .2s
    }

    .d3 {
      transition-delay: .3s
    }

    .d4 {
      transition-delay: .45s
    }

    /* ── Typography ─────────────────────────────────── */
    .stag {
      display: inline-block;
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .09em;
      text-transform: uppercase;
      color: var(--page-accent, var(--accent));
      margin-bottom: 12px;
    }

    h1 {
      font-family: var(--font-display);
      font-size: clamp(2.8rem, 6.5vw, 5.25rem);
      font-weight: 400;
      letter-spacing: -.025em;
      line-height: 1.02;
      color: var(--t);
      margin-bottom: 22px;
    }

    h2 {
      font-family: var(--font-display);
      font-size: clamp(2rem, 3.5vw, 3.1rem);
      font-weight: 400;
      letter-spacing: -.02em;
      line-height: 1.08;
      color: var(--t);
      margin-bottom: 14px;
    }

    .sub {
      font-size: 1.0625rem;
      color: var(--t2);
      line-height: 1.7;
    }

    .hero h1 {
      font-size: clamp(3.25rem, 8vw, 6.5rem);
      text-shadow: 0 2px 32px rgba(0,0,0,0.5);
      padding-bottom: 0.08em;
    }

    h1 em {
      font-style: italic;
      padding-right: 0.06em;
      background: var(--em-gradient, linear-gradient(135deg, #2997ff 0%, #a855f7 40%, #ec4899 70%, #2997ff 100%));
      background-size: 300% 300%;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      animation: gAni 5s ease infinite;
    }

    /* ── Buttons ────────────────────────────────────── */
    .btn-p {
      font-family: var(--font);
      font-size: 1rem;
      font-weight: 500;
      padding: 14px 28px;
      border-radius: 99px;
      background: var(--accent);
      color: #fff;
      border: none;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 48px;
      transition: background var(--ease), transform .15s, box-shadow .2s;
      box-shadow: 0 4px 24px rgba(41, 151, 255, .3);
    }

    .btn-p:hover {
      background: var(--accent-h);
      transform: scale(1.03);
      box-shadow: 0 8px 32px rgba(41, 151, 255, .4);
    }

    .btn-g {
      font-family: var(--font);
      font-size: 1rem;
      font-weight: 500;
      padding: 14px 28px;
      border-radius: 99px;
      background: transparent;
      color: var(--t2);
      border: 1px solid var(--b);
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      min-height: 48px;
      transition: border-color var(--ease), color var(--ease), transform .15s;
    }

    .btn-g:hover {
      border-color: var(--b-h);
      color: var(--t);
      transform: scale(1.03);
    }

    /* ── Nav ────────────────────────────────────────── */
    nav {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 200;
      height: 64px;
      display: flex;
      align-items: center;
      padding: 0 32px;
      backdrop-filter: blur(0px) saturate(100%);
      -webkit-backdrop-filter: blur(0px) saturate(100%);
      background: transparent;
      border-bottom: none;
      transition: background 0.4s ease, backdrop-filter 0.4s ease;
      overflow: hidden;
    }
    nav.scrolled {
      backdrop-filter: blur(28px) saturate(200%);
      -webkit-backdrop-filter: blur(28px) saturate(200%);
      background: rgba(7, 16, 30, 0.72);
    }
    nav.scrolled::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0; right: 0;
      height: 1px;
      background: linear-gradient(90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 25%,
        rgba(255,255,255,0.28) 50%,
        rgba(255,255,255,0.18) 75%,
        rgba(255,255,255,0) 100%
      );
      pointer-events: none;
    }

    .nav-inner {
      max-width: 1120px;
      width: 100%;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .nav-logo {
      font-size: 1.125rem;
      font-weight: 700;
      letter-spacing: -.02em;
      color: var(--t);
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 8px;
    }

.nav-links {
      display: flex;
      align-items: center;
      gap: 2px;
      list-style: none;
    }

    .nav-links a {
      font-size: .875rem;
      font-weight: 500;
      color: var(--t2);
      text-decoration: none;
      padding: 7px 14px;
      border-radius: 99px;
      transition: color var(--ease), background var(--ease);
      white-space: nowrap;
    }

    .nav-links a:hover {
      color: var(--t);
      background: var(--card);
    }

    .nav-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    /* Theme toggle — removed (dark-only) */

    .btn-nav {
      font-family: var(--font);
      font-size: .875rem;
      font-weight: 500;
      padding: 9px 18px;
      border-radius: 99px;
      background: rgba(41, 151, 255, 0.15);
      color: #fff;
      border: none;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      transition: background var(--ease), transform .15s;
      white-space: nowrap;
      min-height: 40px;
    }

    .btn-nav:hover {
      background: rgba(41, 151, 255, 0.28);
      transform: scale(1.03);
    }
    [data-theme="light"] .btn-nav {
      background: rgba(0, 113, 227, 0.12);
      color: #0071e3;
    }
    [data-theme="light"] .btn-nav:hover {
      background: rgba(0, 113, 227, 0.2);
    }

    /* Hamburger — desktop hidden */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 5px;
      width: 40px;
      height: 40px;
      border: none;
      background: none;
      cursor: pointer;
      padding: 8px;
      border-radius: var(--r-sm);
    }

    .hamburger span {
      display: block;
      width: 20px;
      height: 2px;
      background: var(--t2);
      border-radius: 99px;
      transition: transform .3s ease, opacity .3s ease;
    }

    .hamburger.open span:nth-child(1) {
      transform: translateY(7px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
      opacity: 0;
      transform: scaleX(0);
    }

    .hamburger.open span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile nav drawer */
    .mobile-nav {
      display: none;
      position: fixed;
      top: 64px;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 190;
      background: var(--bg);
      flex-direction: column;
      padding: 20px 24px 32px;
      transform: translateY(-8px);
      opacity: 0;
      transition: transform .28s ease, opacity .28s ease;
      pointer-events: none;
      overflow-y: auto;
    }

    .mobile-nav.open {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .mobile-nav a {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--t);
      text-decoration: none;
      padding: 18px 0;
      border-bottom: 1px solid var(--b);
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: color var(--ease);
    }

    .mobile-nav a:hover {
      color: var(--accent);
    }

    .mobile-nav a svg {
      opacity: .35;
    }

    .mobile-nav-cta {
      margin-top: 28px;
    }

    .mobile-nav-cta a {
      font-family: var(--font);
      font-size: 1rem;
      font-weight: 600;
      padding: 16px 24px;
      border-radius: 99px;
      background: var(--accent);
      color: #fff;
      text-decoration: none;
      display: flex;
      justify-content: center;
      transition: background var(--ease);
    }

    .mobile-nav-cta a:hover {
      background: var(--accent-h);
      color: #fff;
      border-bottom: none;
      padding: 16px 24px;
    }

    /* ── Hero ───────────────────────────────────────── */
    .hero {
      padding: 180px 0 120px;
      text-align: center;
      position: relative;
      overflow: hidden;
      isolation: isolate;
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .hero-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -2;
      animation: videoReveal 1.8s ease-out both;
    }

    /* Cinematic vignette overlay */
    .hero-overlay {
      position: absolute;
      inset: 0;
      z-index: -1;
      background:
        radial-gradient(ellipse 100% 80% at 50% 50%, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.62) 100%),
        linear-gradient(to bottom, rgba(7,16,30,0.5) 0%, rgba(0,0,0,0.1) 40%, rgba(7,16,30,0.72) 80%, rgba(7,16,30,1) 100%);
      pointer-events: none;
    }

    /* Smooth gradient dissolve from hero into page */
    .hero::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 220px;
      background: linear-gradient(to bottom, transparent 0%, #07101e 100%);
      z-index: 0;
      pointer-events: none;
    }

    .hero .container {
      position: relative;
      z-index: 1;
    }

    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(90px);
      opacity: calc(var(--orb) * 0.5);
      pointer-events: none;
      z-index: -1;
    }

    .o1 {
      width: 700px;
      height: 700px;
      background: #2997ff;
      top: -300px;
      left: -100px;
      animation: floatOrb 10s ease-in-out infinite;
    }

    .o2 {
      width: 600px;
      height: 600px;
      background: #a855f7;
      top: -200px;
      right: -80px;
      animation: floatOrb 13s ease-in-out infinite reverse;
      animation-delay: -4s;
    }

    .o3 {
      width: 450px;
      height: 450px;
      background: #ec4899;
      bottom: -100px;
      left: 35%;
      animation: floatOrb 9s ease-in-out infinite;
      animation-delay: -7s;
    }

    .o4 {
      width: 350px;
      height: 350px;
      background: #06b6d4;
      top: 50px;
      left: 55%;
      animation: floatOrb 12s ease-in-out infinite reverse;
      animation-delay: -2s;
    }

    .hero-sub {
      font-size: 1.125rem;
      color: rgba(255,255,255,0.82);
      max-width: 520px;
      margin: 0 auto 44px;
      line-height: 1.7;
      text-shadow: 0 1px 12px rgba(0,0,0,0.6);
    }

    .hero-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: rgba(255,255,255,0.9);
      animation: pulse 2.5s ease-in-out infinite;
      flex-shrink: 0;
    }

    .hero h1 {
      text-shadow: 0 2px 32px rgba(0,0,0,0.5);
    }

    .hero-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: .8125rem;
      font-weight: 500;
      letter-spacing: .03em;
      color: rgba(255,255,255,0.9);
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.15);
      padding: 7px 16px;
      border-radius: 99px;
      margin-bottom: 32px;
      backdrop-filter: blur(8px);
    }

    .hero-ctas {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 14px;
      flex-wrap: wrap;
    }

    /* ── Stats ──────────────────────────────────────── */
    .stats-wrap {
      padding-top: 80px;
      padding-bottom: 110px;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.07);
      border-radius: var(--r);
      overflow: hidden;
      box-shadow: 0 0 80px rgba(41,151,255,0.04), inset 0 1px 0 rgba(255,255,255,0.08);
    }

    .stat {
      background: rgba(255,255,255,0.02);
      padding: 36px 24px;
      text-align: center;
      transition: background var(--ease);
    }

    .stat:hover {
      background: rgba(255,255,255,0.05);
    }

    .stat-niche {
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .09em;
      text-transform: uppercase;
      color: var(--tag-c);
      margin-bottom: 8px;
    }

    .stat-n {
      font-size: 2.25rem;
      font-weight: 800;
      letter-spacing: -.04em;
      color: var(--t);
      line-height: 1;
      margin-bottom: 5px;
    }

    .stat-l {
      font-size: .8125rem;
      color: var(--t2);
      line-height: 1.4;
    }

    /* ── Niche Sections ─────────────────────────────── */
    .niche {
      position: relative;
      overflow: hidden;
    }

    .niche.alt {
      background: transparent;
    }

    /* Section shimmer separator */
    .niche + .niche::before,
    .niche + .stats-wrap::before {
      content: '';
      display: block;
      height: 1px;
      background: linear-gradient(90deg,
        transparent 0%, rgba(255,255,255,0.08) 25%,
        rgba(255,255,255,0.13) 50%,
        rgba(255,255,255,0.08) 75%, transparent 100%);
      margin: 0 32px;
    }

    .niche-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 40px;
      margin-bottom: 56px;
      flex-wrap: wrap;
    }

    .niche-headline {
      max-width: 560px;
    }

    .niche-headline h2 {
      margin-bottom: 12px;
    }

    .niche-headline .sub {
      max-width: 480px;
      margin-bottom: 24px;
    }

    .niche-action {
      flex-shrink: 0;
      margin-top: 4px;
    }

    .chips {
      display: flex;
      flex-wrap: wrap;
      gap: 7px;
    }

    .chip {
      font-size: .8125rem;
      font-weight: 500;
      color: var(--t2);
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.09);
      padding: 6px 13px;
      border-radius: 99px;
      transition: border-color var(--ease), color var(--ease);
    }

    .chip:hover {
      border-color: rgba(255,255,255,0.18);
      color: var(--t);
    }

    /* Niche link button */
    .niche-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-family: var(--font);
      font-size: .9rem;
      font-weight: 600;
      color: #fff;
      background: var(--accent);
      text-decoration: none;
      padding: 11px 22px;
      border-radius: 99px;
      border: none;
      cursor: pointer;
      transition: background var(--ease), transform .15s, box-shadow .2s;
      box-shadow: 0 4px 16px rgba(41, 151, 255, .3);
      min-height: 44px;
    }

    .niche-btn:hover {
      background: var(--accent-h);
      transform: scale(1.03);
      box-shadow: 0 6px 24px rgba(41, 151, 255, .4);
    }

    .niche-btn.ghost {
      background: transparent;
      color: var(--t2);
      border: 1px solid var(--b);
      box-shadow: none;
    }

    .niche-btn.ghost:hover {
      border-color: var(--b-h);
      color: var(--t);
      box-shadow: none;
    }

    /* Brand badge */
    .brand-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: .75rem;
      font-weight: 600;
      letter-spacing: .02em;
      color: var(--t3);
      background: var(--card);
      border: 1px solid var(--b);
      padding: 5px 12px;
      border-radius: 99px;
      margin-bottom: 14px;
    }

    /* Marketing mini-stats */
    .mstats {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      margin: 20px 0 24px;
    }

    .mstat {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .mstat-n {
      font-size: 1.5rem;
      font-weight: 800;
      letter-spacing: -.03em;
      color: var(--t);
    }

    .mstat-l {
      font-size: .75rem;
      color: var(--t2);
    }

    /* ── Portfolio Tiles (Design) ───────────────────── */
    .ptile-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-template-rows: 260px 260px;
      gap: 16px;
    }

    .ptile-tall {
      grid-row: span 2;
    }

    .ptile {
      border-radius: var(--r);
      border: none;
      overflow: hidden;
      position: relative;
      transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .25s;
    }

    .ptile::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(135deg,
        rgba(255,255,255,0.15) 0%,
        rgba(255,255,255,0.04) 50%,
        rgba(255,255,255,0.12) 100%);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
      z-index: 3;
    }

    .ptile:hover {
      transform: translateY(-5px) scale(1.01);
      box-shadow: 0 24px 56px rgba(0,0,0,0.6);
    }

    .ptile img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      transition: transform .5s ease;
    }

    .ptile:hover img {
      transform: scale(1.04);
    }

    .ptile-ov {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 55%, rgba(0, 0, 0, .92) 100%);
    }

    .ptile-body {
      position: absolute;
      inset: 0;
      z-index: 2;
      padding: 22px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      gap: 6px;
    }

    .ptile-cat {
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, .6);
    }

    .ptile-name {
      font-size: .9375rem;
      font-weight: 700;
      color: #fff;
      line-height: 1.3;
      text-shadow: 0 1px 12px rgba(0, 0, 0, .8);
    }

    .ptile-desc {
      font-size: .8125rem;
      color: rgba(255, 255, 255, .65);
      line-height: 1.5;
    }

    .ptile-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      margin-top: 4px;
    }

    .ptile-tags span {
      font-size: .7rem;
      font-weight: 500;
      color: rgba(255, 255, 255, .85);
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .2);
      padding: 3px 8px;
      border-radius: 99px;
      backdrop-filter: blur(4px);
    }

    /* ── Capability Cards ───────────────────────────── */
    .cap-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .cap-grid-2 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
    }

    .cap-card {
      background: var(--card);
      border: none;
      border-radius: var(--r);
      padding: 28px;
      display: flex;
      flex-direction: column;
      gap: 13px;
      transition: background var(--ease), transform .2s;
      position: relative;
      overflow: hidden;
    }

    .cap-card::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(135deg,
        rgba(255,255,255,0.12) 0%,
        rgba(255,255,255,0.04) 40%,
        rgba(255,255,255,0.02) 60%,
        rgba(255,255,255,0.10) 100%);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
      transition: opacity .2s;
    }

    .cap-card:hover {
      background: var(--card-h);
      transform: translateY(-4px);
    }

    .cap-card:hover::after {
      opacity: 1.8;
    }

    .cap-icon {
      width: 48px;
      height: 48px;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .cap-icon svg {
      width: 22px;
      height: 22px;
    }

    .ci-blue {
      background: linear-gradient(135deg, #2997ff, #a855f7);
    }

    .ci-purple {
      background: linear-gradient(135deg, #a855f7, #ec4899);
    }

    .ci-cyan {
      background: linear-gradient(135deg, #06b6d4, #2997ff);
    }

    .ci-green {
      background: linear-gradient(135deg, #10b981, #06b6d4);
    }

    .ci-orange {
      background: linear-gradient(135deg, #f97316, #ec4899);
    }

    .ci-yellow {
      background: linear-gradient(135deg, #f59e0b, #f97316);
    }

    .ci-teal {
      background: linear-gradient(135deg, #14b8a6, #10b981);
    }

    .ci-indigo {
      background: linear-gradient(135deg, #6366f1, #a855f7);
    }

    .cap-name {
      font-size: 1rem;
      font-weight: 700;
      letter-spacing: -.01em;
      color: var(--t);
    }

    .cap-desc {
      font-size: .9rem;
      color: var(--t2);
      line-height: 1.6;
      flex: 1;
    }

    /* Featured AI card */
    .cap-card.feat {
      background: linear-gradient(135deg, rgba(41, 151, 255, .07), rgba(168, 85, 247, .05));
      position: relative;
    }

    .cap-card.feat::before {
      content: '';
      position: absolute;
      inset: -1px;
      border-radius: calc(var(--r) + 1px);
      padding: 1px;
      background: linear-gradient(135deg, #2997ff, #a855f7, #ec4899, #2997ff);
      background-size: 300% 300%;
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: destination-out;
      mask-composite: exclude;
      animation: gAni 4s ease infinite, bGlow 4s ease infinite;
      opacity: .45;
      pointer-events: none;
    }

    .ai-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .05em;
      text-transform: uppercase;
      color: #2997ff;
      background: rgba(41, 151, 255, .1);
      border: 1px solid rgba(41, 151, 255, .2);
      padding: 4px 10px;
      border-radius: 99px;
      width: fit-content;
    }

    [data-theme="light"] .ai-badge {
      color: #0071e3;
      background: rgba(0, 113, 227, .07);
      border-color: rgba(0, 113, 227, .15);
    }

    .cap-pills {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 2px;
    }

    .cap-pill {
      font-size: .75rem;
      font-weight: 500;
      color: #2997ff;
      background: rgba(41, 151, 255, .08);
      border: 1px solid rgba(41, 151, 255, .15);
      padding: 4px 10px;
      border-radius: 99px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .cap-pill::before {
      content: '';
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: currentColor;
    }

    /* ── Trust Strip ────────────────────────────────── */
    .trust {
      background: transparent;
      padding: 64px 0;
      border-top: none;
      border-bottom: none;
      position: relative;
    }
    .trust::before, .trust::after {
      content: '';
      position: absolute;
      left: 32px; right: 32px;
      height: 1px;
      background: linear-gradient(90deg,
        transparent 0%, rgba(255,255,255,0.08) 25%,
        rgba(255,255,255,0.13) 50%,
        rgba(255,255,255,0.08) 75%, transparent 100%);
    }
    .trust::before { top: 0; }
    .trust::after  { bottom: 0; }

    .trust-row {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0;
    }

    .trust-item {
      display: flex;
      align-items: center;
      gap: 14px;
      flex: 1;
      min-width: 200px;
      padding: 0 32px;
    }

    .trust-item:first-child {
      padding-left: 0;
    }

    .trust-item:last-child {
      padding-right: 0;
    }

    .trust-flag {
      font-size: 2rem;
      line-height: 1;
      flex-shrink: 0;
    }

    .trust-ico {
      width: 40px;
      height: 40px;
      border-radius: 12px;
      background: var(--tag-bg);
      border: 1px solid var(--b);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: var(--tag-c);
    }

    .trust-ico svg {
      width: 18px;
      height: 18px;
    }

    .trust-lbl {
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      color: var(--tag-c);
      margin-bottom: 3px;
    }

    .trust-val {
      font-size: .875rem;
      color: var(--t2);
      line-height: 1.4;
    }

    .trust-div {
      width: 1px;
      height: 48px;
      background: var(--b);
      flex-shrink: 0;
    }

    /* ── Why ────────────────────────────────────────── */
    .why {
      background: transparent;
    }

    .why-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-top: 56px;
    }

    .why-card {
      background: var(--card);
      border: none;
      border-radius: var(--r);
      padding: 30px;
      transition: background var(--ease), transform .2s;
      position: relative;
      overflow: hidden;
    }

    .why-card::after {
      content: '';
      position: absolute;
      inset: 0;
      border-radius: inherit;
      padding: 1px;
      background: linear-gradient(135deg,
        rgba(255,255,255,0.10) 0%,
        rgba(255,255,255,0.03) 50%,
        rgba(255,255,255,0.08) 100%);
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      pointer-events: none;
    }

    .why-card:hover {
      background: var(--card-h);
      transform: translateY(-3px);
    }

    .why-num {
      font-size: .7rem;
      font-weight: 700;
      letter-spacing: .1em;
      color: var(--tag-c);
      margin-bottom: 13px;
    }

    .why-title {
      font-size: .9375rem;
      font-weight: 700;
      color: var(--t);
      margin-bottom: 8px;
    }

    .why-desc {
      font-size: .9rem;
      color: var(--t2);
      line-height: 1.65;
    }

    /* ── CTA ────────────────────────────────────────── */
    .cta-s {
      background: transparent;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .cta-s::before {
      content: '';
      position: absolute;
      inset: 0;
      background: 
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(41, 151, 255, .07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(168, 85, 247, .04) 0%, transparent 60%);
      pointer-events: none;
    }

    .cta-s::after {
      content: '';
      position: absolute;
      left: 32px; right: 32px; top: 0;
      height: 1px;
      background: linear-gradient(90deg,
        transparent 0%, rgba(255,255,255,0.08) 25%,
        rgba(255,255,255,0.13) 50%,
        rgba(255,255,255,0.08) 75%, transparent 100%);
    }

    .cta-inner {
      max-width: 540px;
      margin: 0 auto;
      position: relative;
    }

    .cta-inner h2 {
      margin-bottom: 14px;
    }

    .cta-inner p {
      font-size: 1.0625rem;
      color: var(--t2);
      line-height: 1.65;
      margin-bottom: 36px;
    }

    /* ── Contact Form ───────────────────────────────── */
    .contact-form {
      text-align: left;
      margin-top: 32px;
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 16px;
    }

    .form-group label {
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--t2);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      font-family: var(--font);
      font-size: 0.9375rem;
      color: var(--t);
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--b);
      border-radius: 10px;
      padding: 12px 16px;
      outline: none;
      transition: border-color 0.2s;
      resize: none;
      -webkit-appearance: none;
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
      color: rgba(192,192,198,0.45);
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: rgba(41,151,255,0.5);
    }

    .form-group select option {
      background: #0d1b2e;
      color: var(--t);
    }

    .form-note {
      font-size: 0.8125rem;
      color: var(--t2);
      opacity: 0.6;
      text-align: center;
      margin-top: 14px;
      margin-bottom: 0;
    }

    .form-success {
      text-align: center;
      padding: 48px 0;
    }

    .form-success h3 {
      font-size: 1.25rem;
      color: var(--t);
      margin: 16px 0 8px;
    }

    .form-success p {
      color: var(--t2);
      font-size: 0.9375rem;
      margin: 0;
    }

    .cta-inner { max-width: 640px; }

    @media (max-width: 540px) {
      .form-row { grid-template-columns: 1fr; }
    }

    /* ── Footer ─────────────────────────────────────── */
    footer {
      background: transparent;
      border-top: none;
      padding: 48px 0;
      position: relative;
    }

    footer::before {
      content: '';
      position: absolute;
      left: 32px; right: 32px; top: 0;
      height: 1px;
      background: linear-gradient(90deg,
        transparent 0%, rgba(255,255,255,0.08) 25%,
        rgba(255,255,255,0.12) 50%,
        rgba(255,255,255,0.08) 75%, transparent 100%);
    }

    .foot-inner {
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 32px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .foot-logo {
      font-family: 'Instrument Serif', serif;
      font-style: italic;
      font-size: 1.2rem;
      font-weight: 400;
      color: var(--t);
      letter-spacing: -.02em;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .foot-links {
      display: flex;
      gap: 20px;
      list-style: none;
      flex-wrap: wrap;
    }

    .foot-links a {
      font-size: .875rem;
      color: var(--t3);
      text-decoration: none;
      transition: color var(--ease);
    }

    .foot-links a:hover {
      color: var(--t2);
    }

    .foot-copy {
      font-size: .8125rem;
      color: var(--t3);
    }

    /* ── Responsive: Tablet (≤960px) ───────────────── */
    @media (max-width: 960px) {
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .mstats {
        gap: 16px;
      }

      .ptile-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: 240px 240px 240px;
      }

      .ptile-tall {
        grid-row: span 1;
      }

      .cap-grid,
      .cap-grid-2 {
        grid-template-columns: repeat(2, 1fr);
      }

      .why-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .trust-div {
        display: none;
      }

      .trust-item {
        padding: 0;
        min-width: 160px;
      }

      .trust-row {
        gap: 28px;
      }

      .niche-header {
        flex-direction: column;
      }
    }

    /* ── Responsive: Mobile (≤640px) ───────────────── */
    @media (max-width: 640px) {
      nav {
        padding: 0 16px;
      }

      .container {
        padding: 0 20px;
      }

      section {
        padding: 72px 0;
      }

      .hero {
        padding: 140px 0 80px;
        min-height: 100svh;
      }

      .hero-ctas {
        flex-direction: column;
        align-items: center;
        gap: 12px;
      }

      .hero-ctas a {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        min-height: 52px;
      }

      .stats-wrap {
        padding-bottom: 72px;
        padding-top: 40px;
      }

      /* Nav: show hamburger, hide desktop links + CTA button */
      .nav-links {
        display: none;
      }

      .btn-nav {
        display: none;
      }

      .hamburger {
        display: flex;
      }

      .mobile-nav {
        display: flex;
      }

      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .ptile-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 240px);
      }

      .cap-grid,
      .cap-grid-2 {
        grid-template-columns: 1fr;
      }

      .why-grid {
        grid-template-columns: 1fr;
      }

      .trust-div {
        display: none;
      }

      .trust-item {
        min-width: 100%;
        padding: 0;
      }

      .trust-row {
        gap: 24px;
      }

      .niche-header {
        gap: 24px;
      }

      .foot-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
      }

      .foot-links {
        gap: 16px;
      }

      .stat-n {
        font-size: 1.875rem;
      }

      .hero-sub {
        font-size: 1rem;
      }

      /* Mobile nav full screen background */
      .mobile-nav {
        background: rgba(7, 16, 30, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
      }

      .chips {
        gap: 6px;
      }

      .chip {
        font-size: .75rem;
        padding: 5px 10px;
      }
    }

    /* ── Responsive: Small phones (≤390px) ─────────── */
    @media (max-width: 390px) {
      h1 {
        font-size: 2.4rem;
      }

      h2 {
        font-size: 1.9rem;
      }

      .stat-n {
        font-size: 1.625rem;
      }

      .stats-grid {
        grid-template-columns: 1fr;
      }

      .stat {
        padding: 24px 20px;
      }

      nav {
        padding: 0 16px;
      }

      .container {
        padding: 0 16px;
      }
    }


/* ══════════════════════════════════════════════════
   NEW COMPONENTS — appended for Phase 5/6/8 overhaul
   ══════════════════════════════════════════════════ */

/* ── Section headings helpers ─────────────────── */
.section-sub {
  font-size: 1.0625rem;
  color: var(--t2);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 48px;
}

/* ── Service Tiles ("What We Do" 2×2 grid) ────── */
.service-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-tile {
  background: var(--card);
  border-radius: var(--r);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  min-height: 240px;
  transition: background var(--ease), transform .2s;
  position: relative;
  overflow: hidden;
  border-top: 4px solid transparent;
  text-decoration: none;
  color: inherit;
}

.service-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.10) 0%,
    rgba(255,255,255,0.03) 50%,
    rgba(255,255,255,0.08) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.service-tile:hover {
  background: var(--card-h);
  transform: translateY(-4px);
}

.tile-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 24px;
}

.tile-icon svg {
  width: 26px;
  height: 26px;
}

.tile-name {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--t);
  margin-top: 20px;
  text-align: center;
  transition: color var(--ease);
}

.service-tile:hover .tile-name {
  color: var(--tile-accent);
}

.tile-cta {
  font-size: 1.25rem;
  color: var(--tile-accent);
  margin-top: auto;
  align-self: flex-end;
  opacity: 0.5;
  transition: opacity var(--ease), transform var(--ease);
  line-height: 1;
}

.service-tile:hover .tile-cta {
  opacity: 1;
  transform: translateX(5px);
}

/* ── Horizontal Scroll Strip ──────────────────── */
.hscroll-wrap {
  padding: 110px 0;
  position: relative;
}

.hscroll-wrap::before {
  content: '';
  position: absolute;
  left: 32px; right: 32px; top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(255,255,255,0.08) 25%,
    rgba(255,255,255,0.13) 50%,
    rgba(255,255,255,0.08) 75%, transparent 100%);
}

.hscroll-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  margin-bottom: 36px;
}

.hscroll-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 0 32px 20px;
  max-width: calc(1120px + 64px);
  margin: 0 auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hscroll-track::-webkit-scrollbar {
  display: none;
}

.case-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background: var(--card);
  border-radius: var(--r);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  transition: background var(--ease), transform .2s;
}

.case-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.10) 0%,
    rgba(255,255,255,0.03) 50%,
    rgba(255,255,255,0.08) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.case-card:hover {
  background: var(--card-h);
  transform: translateY(-3px);
}

.case-niche {
  display: inline-flex;
  align-items: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  width: fit-content;
}

.case-niche.software { color: #2997ff; background: rgba(41,151,255,0.1); }
.case-niche.marketing { color: #10b981; background: rgba(16,185,129,0.1); }
.case-niche.design { color: #a855f7; background: rgba(168,85,247,0.1); }
.case-niche.accounting { color: #f59e0b; background: rgba(245,158,11,0.1); }

.case-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--t);
}

.case-desc {
  font-size: .875rem;
  color: var(--t2);
  line-height: 1.6;
  flex: 1;
}

.case-result {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--t3);
  border-top: 1px solid var(--b);
  padding-top: 12px;
  margin-top: 2px;
}

.case-num {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.06);
  letter-spacing: -.04em;
  margin-bottom: 8px;
}

.case-card-img {
  width: calc(100% + 40px);
  height: 150px;
  object-fit: cover;
  border-radius: calc(var(--r) - 2px) calc(var(--r) - 2px) 0 0;
  display: block;
  margin: -20px -20px 16px;
}

/* ── Miradore-style Horizontal Scroll ─────────── */
.hs-outer {
  position: relative;
}
.hs-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hs-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 32px 48px 0;
  flex-shrink: 0;
  max-width: calc(1120px + 96px);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}
.hs-counter {
  font-size: .8125rem;
  color: var(--t3);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: .04em;
}
.hs-track {
  flex: 1;
  display: flex;
  will-change: transform;
}
.hs-item {
  width: 100vw;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 40px 80px;
  gap: 60px;
  box-sizing: border-box;
}
.hs-num {
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  letter-spacing: -.05em;
  flex-shrink: 0;
  user-select: none;
}
.hs-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hs-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.04;
  color: var(--t);
  margin: 0;
}
.hs-metric {
  font-size: 1rem;
  color: var(--t2);
  margin: 0;
  line-height: 1.5;
}
.hs-img-wrap {
  flex: 0 0 auto;
  width: clamp(240px, 38vw, 520px);
  max-height: calc(100vh - 220px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  margin-left: auto;
}
.hs-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hs-progress {
  height: 1px;
  background: rgba(255,255,255,0.06);
  flex-shrink: 0;
  margin: 0 48px 0;
}
.hs-progress-bar {
  height: 100%;
  background: var(--page-accent, var(--accent));
  width: 0%;
}

@media (max-width: 768px) {
  .hs-outer { height: auto !important; }
  .hs-sticky { position: relative; height: auto; overflow: visible; }
  .hs-track { flex-direction: column; transform: none !important; }
  .hs-item { width: 100%; padding: 48px 24px; gap: 24px; flex-direction: column; align-items: flex-start; }
  .hs-num { font-size: 4rem; }
  .hs-counter, .hs-progress { display: none; }
  .hs-header { padding: 24px 24px 0; }
  .hs-title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
  .hs-img-wrap {
    width: 100%;
    max-height: 220px;
    margin-left: 0;
    border-radius: 12px;
  }
}

/* ── Industry Grid ("Who We Serve") ──────────── */
.industry-section {
  padding: 110px 0;
  position: relative;
}

.industry-section::before {
  content: '';
  position: absolute;
  left: 32px; right: 32px; top: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(255,255,255,0.08) 25%,
    rgba(255,255,255,0.13) 50%,
    rgba(255,255,255,0.08) 75%, transparent 100%);
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.industry-item {
  background: var(--card);
  border-radius: var(--r-sm);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: background var(--ease), transform .2s;
  position: relative;
  overflow: hidden;
}

.industry-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.09) 0%,
    rgba(255,255,255,0.02) 50%,
    rgba(255,255,255,0.07) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.industry-item:hover {
  background: var(--card-h);
  transform: translateY(-2px);
}

.industry-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tag-bg);
  color: var(--tag-c);
  flex-shrink: 0;
}

.industry-icon svg {
  width: 18px;
  height: 18px;
}

.industry-lbl {
  font-size: .875rem;
  font-weight: 600;
  color: var(--t2);
  line-height: 1.3;
}

/* "And More" chip — center in 4-col desktop grid */
.industry-item--more {
  grid-column: 2 / span 2;
}

/* ── Niche Page Hero (no video, 60vh) ─────────── */
.niche-hero {
  padding: 110px 0 80px;
  text-align: center;
  position: relative;
  isolation: isolate;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.niche-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(41,151,255,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(168,85,247,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.niche-hero .container {
  position: relative;
  z-index: 1;
}

.niche-hero h1 {
  text-shadow: 0 2px 32px rgba(0,0,0,0.4);
}

.niche-hero-sub {
  font-size: 1.125rem;
  color: var(--t2);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ── Breadcrumb Nav ───────────────────────────── */
.breadcrumb {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 32px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8125rem;
  color: var(--t3);
}

.breadcrumb a {
  color: var(--t3);
  text-decoration: none;
  transition: color var(--ease);
}

.breadcrumb a:hover { color: var(--t2); }

.breadcrumb-sep { opacity: .4; }

.breadcrumb-cur { color: var(--page-accent, var(--accent)); }

/* ── Client Strip (named clients) ────────────── */
.client-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.client-pill {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--t2);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 6px 16px;
  border-radius: 99px;
  white-space: nowrap;
  transition: border-color var(--ease), color var(--ease);
}

.client-pill:hover {
  border-color: rgba(255,255,255,0.18);
  color: var(--t);
}

/* ── Process Steps ("How We Work") ───────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.process-step {
  background: var(--card);
  border-radius: var(--r);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.process-step::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.09) 0%,
    rgba(255,255,255,0.02) 50%,
    rgba(255,255,255,0.07) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--page-accent, var(--accent));
  line-height: 1;
  margin-bottom: 14px;
}

.step-title {
  font-size: .9375rem;
  font-weight: 700;
  color: var(--t);
  margin-bottom: 8px;
}

.step-desc {
  font-size: .875rem;
  color: var(--t2);
  line-height: 1.6;
}

/* ── Proof Stats Strip (marketing page) ──────── */
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r);
  overflow: hidden;
  margin: 36px 0 0;
}

.proof-stat {
  flex: 1;
  min-width: 140px;
  padding: 28px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.proof-stat:last-child { border-right: none; }

.proof-n {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  color: var(--t);
  line-height: 1;
  margin-bottom: 6px;
}

.proof-l {
  font-size: .8125rem;
  color: var(--t2);
}

/* ── Tech Stack chips (software page) ─────────── */
.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.tech-chip {
  font-size: .8125rem;
  font-weight: 500;
  color: #2997ff;
  background: rgba(41,151,255,0.08);
  border: 1px solid rgba(41,151,255,0.15);
  padding: 5px 13px;
  border-radius: 99px;
}

/* ── Case Study Cards (marketing page) ─────────── */
.case-studies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.case-study-card {
  background: var(--card);
  border-radius: var(--r);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.case-study-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.10) 0%,
    rgba(255,255,255,0.03) 50%,
    rgba(255,255,255,0.08) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cs-client {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: 6px;
}

.cs-industry {
  display: inline-flex;
  font-size: .72rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16,185,129,0.1);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 16px;
}

.cs-headline {
  font-size: 1rem;
  font-weight: 700;
  color: var(--t);
  line-height: 1.4;
  margin-bottom: 10px;
}

.cs-desc {
  font-size: .875rem;
  color: var(--t2);
  line-height: 1.6;
  margin-bottom: 20px;
}

.cs-result {
  font-size: .875rem;
  font-weight: 700;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cs-result::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}

/* ── Design chips (design page) ─────────────── */
.design-chips-section {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 36px 0;
}

.design-chip {
  font-size: .875rem;
  font-weight: 500;
  color: var(--t2);
  background: rgba(168,85,247,0.06);
  border: 1px solid rgba(168,85,247,0.15);
  padding: 7px 16px;
  border-radius: 99px;
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}

.design-chip:hover {
  background: rgba(168,85,247,0.12);
  border-color: rgba(168,85,247,0.25);
  color: var(--t);
}

.portfolio-coming {
  background: linear-gradient(135deg, rgba(168,85,247,0.06), rgba(41,151,255,0.04));
  border: 1px solid rgba(168,85,247,0.15);
  border-radius: var(--r);
  padding: 36px;
  text-align: center;
  margin-top: 16px;
}

.portfolio-coming h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--t);
  margin-bottom: 8px;
}

.portfolio-coming p {
  font-size: .9375rem;
  color: var(--t2);
}

/* ── "Who We Design For" chips (design page) ──── */
.for-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.for-chip {
  font-size: .875rem;
  font-weight: 500;
  color: var(--t2);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 7px 16px;
  border-radius: 99px;
  transition: border-color var(--ease), color var(--ease);
}

.for-chip:hover {
  border-color: rgba(255,255,255,0.18);
  color: var(--t);
}

/* ── Differentiators (accounting page) ─────────── */
.diff-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.diff-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .9375rem;
  color: var(--t2);
}

.diff-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* ── Footer 2-column upgrade ──────────────────── */
.foot-inner-v2 {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.foot-meta {
  font-size: .8125rem;
  color: var(--t3);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.foot-meta-sep { opacity: .35; }

.foot-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.foot-right a {
  font-size: .875rem;
  color: var(--t3);
  text-decoration: none;
  transition: color var(--ease);
}

.foot-right a:hover { color: var(--t2); }

/* ── Niche page section spacing ──────────────── */
.niche-page-section {
  padding: 80px 0;
  position: relative;
}

.niche-page-section + .niche-page-section::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 32px; right: 32px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(255,255,255,0.08) 25%,
    rgba(255,255,255,0.13) 50%,
    rgba(255,255,255,0.08) 75%, transparent 100%);
}

/* ── Who We Work With chips (marketing) ──────── */
.work-with-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.work-chip {
  font-size: .875rem;
  font-weight: 500;
  color: var(--t2);
  background: rgba(16,185,129,0.06);
  border: 1px solid rgba(16,185,129,0.15);
  padding: 7px 16px;
  border-radius: 99px;
}

/* ── Responsive additions ─────────────────────── */
@media (max-width: 960px) {
  .service-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* "And More" spans full width in 2-col grid */
  .industry-item--more {
    grid-column: 1 / -1;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .case-studies {
    grid-template-columns: 1fr;
  }

  .foot-inner-v2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .service-tiles {
    gap: 14px;
  }

  .hscroll-track {
    padding: 0 20px 16px;
  }

  .hscroll-header {
    padding: 0 20px;
  }

  .case-card {
    flex: 0 0 280px;
  }

  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .proof-strip {
    flex-direction: column;
  }

  .proof-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .proof-stat:last-child { border-bottom: none; }

  .niche-hero {
    padding: 120px 0 60px;
    min-height: 50vh;
  }

  .niche-hero-sub {
    font-size: 1rem;
  }

  .process-steps {
    gap: 12px;
  }

  .breadcrumb {
    padding: 12px 20px 0;
  }
}

@media (max-width: 480px) {
  .service-tiles {
    grid-template-columns: 1fr;
  }
}
