/* ============================================================
   DIGITAL LAMAR — Design System
   Dark, futuristic, performance-first.
   Content is NEVER hidden by CSS — GSAP sets initial states in
   JS so FCP/no-JS users always see content instantly.
   ============================================================ */

:root {
  --bg: #050608;
  --bg-2: #0a0d14;
  --bg-3: #11151f;
  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #f4f6fb;
  --muted: #8b92a7;
  --muted-2: #5d6378;
  --blue: #4f7df3;
  --violet: #8b5cf6;
  --cyan: #38e8ff;
  --grad: linear-gradient(100deg, #4f7df3 0%, #8b5cf6 50%, #38e8ff 100%);
  --font-d: 'Space Grotesk', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --max-w: 1440px;
  --pad: clamp(20px, 4vw, 64px);
  --nav-h: 84px;
  --radius: 20px;
  --ease: cubic-bezier(0.65, 0.05, 0, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--blue); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #232838; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue); }

.wrap { max-width: var(--max-w); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff; padding: 12px 24px; z-index: 10001;
  font-weight: 700; font-size: 14px; border-radius: 0 0 10px 10px; transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---- Film grain overlay ---- */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.035; pointer-events: none; z-index: 9000;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 10% { transform: translate(-5%, -5%); }
  20% { transform: translate(-10%, 5%); } 30% { transform: translate(5%, -10%); }
  40% { transform: translate(-5%, 12%); } 50% { transform: translate(-10%, 5%); }
  60% { transform: translate(12%, 0); } 70% { transform: translate(0, 10%); }
  80% { transform: translate(-12%, 0); } 90% { transform: translate(10%, 5%); }
}

/* ---- Custom cursor (fine pointers only) ---- */
.cursor-dot, .cursor-ring { display: none; }
@media (pointer: fine) {
  .cursor-dot {
    display: block; position: fixed; top: 0; left: 0; width: 8px; height: 8px;
    background: var(--cyan); border-radius: 50%; pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
  }
  .cursor-ring {
    display: flex; align-items: center; justify-content: center;
    position: fixed; top: 0; left: 0; width: 40px; height: 40px;
    border: 1px solid rgba(56, 232, 255, 0.5); border-radius: 50%;
    pointer-events: none; z-index: 9998; transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, border-color 0.3s;
    font-size: 0; color: #fff; font-weight: 600; font-family: var(--font-d);
  }
  .cursor-ring.is-hover { width: 64px; height: 64px; background: rgba(79, 125, 243, 0.15); border-color: var(--blue); }
  .cursor-ring.is-view { width: 88px; height: 88px; background: rgba(5, 6, 8, 0.7); border-color: var(--cyan); font-size: 12px; }
  .cursor-ring.is-view::after { content: 'VIEW'; letter-spacing: 2px; }
}

/* ---- Preloader ---- */
.preloader {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px;
}
.preloader__logo { font-family: var(--font-d); font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -1px; }
.preloader__logo em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.preloader__count { font-family: var(--font-d); font-size: 14px; color: var(--muted); letter-spacing: 4px; font-variant-numeric: tabular-nums; }
.preloader__bar { width: min(280px, 60vw); height: 1px; background: var(--line); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 0%; background: var(--grad); }
/* Preloader is removed entirely by JS; if JS never runs, hide it after a beat via animation */
@keyframes preloader-failsafe { to { visibility: hidden; opacity: 0; } }
.preloader { animation: preloader-failsafe 0s 4s forwards; }

/* ---- Scroll progress ---- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 1001; pointer-events: none; }
.scroll-progress i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  transition: transform 0.45s var(--ease), background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: rgba(5, 6, 8, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line-soft); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { font-family: var(--font-d); font-size: 22px; font-weight: 700; letter-spacing: -0.5px; position: relative; z-index: 1102; }
.logo em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav > a {
  font-size: 14px; font-weight: 500; color: var(--muted); position: relative;
  padding: 6px 0; transition: color 0.25s; letter-spacing: 0.2px;
}
.main-nav > a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.main-nav > a:hover, .main-nav > a[aria-current="page"] { color: var(--text); }
.main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  font-size: 14px; font-weight: 600; padding: 11px 24px; border-radius: 100px;
  border: 1px solid var(--line); color: var(--text); position: relative; overflow: hidden;
  transition: border-color 0.3s, color 0.3s; display: inline-flex; align-items: center; gap: 8px;
}
.nav-cta::before { content: ''; position: absolute; inset: 0; background: var(--grad); opacity: 0; transition: opacity 0.3s; z-index: -1; }
.nav-cta:hover { border-color: transparent; }
.nav-cta:hover::before { opacity: 1; }

.menu-btn {
  display: none; z-index: 1102; position: relative; width: 44px; height: 44px;
  align-items: center; justify-content: center; flex-direction: column; gap: 6px;
}
.menu-btn span { display: block; width: 26px; height: 2px; background: var(--text); transition: transform 0.35s var(--ease), opacity 0.25s; border-radius: 2px; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Full-screen overlay menu (mobile) */
.menu-overlay {
  position: fixed; inset: 0; z-index: 999; background: rgba(7, 9, 14, 0.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad);
  clip-path: circle(0% at calc(100% - 52px) 42px); visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s 0.7s;
}
.menu-overlay.is-open { clip-path: circle(150% at calc(100% - 52px) 42px); visibility: visible; transition: clip-path 0.7s var(--ease); }
.menu-overlay nav { display: flex; flex-direction: column; gap: 4px; }
.menu-overlay nav a {
  font-family: var(--font-d); font-size: clamp(34px, 8vw, 56px); font-weight: 700;
  letter-spacing: -1.5px; padding: 8px 0; color: var(--text); display: flex; align-items: baseline; gap: 16px;
  opacity: 0; transform: translateY(30px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.menu-overlay.is-open nav a { opacity: 1; transform: none; }
.menu-overlay nav a sup { font-size: 13px; font-family: var(--font-b); color: var(--muted); font-weight: 400; }
.menu-overlay nav a:nth-child(1) { transition-delay: 0.10s; }
.menu-overlay nav a:nth-child(2) { transition-delay: 0.16s; }
.menu-overlay nav a:nth-child(3) { transition-delay: 0.22s; }
.menu-overlay nav a:nth-child(4) { transition-delay: 0.28s; }
.menu-overlay nav a:nth-child(5) { transition-delay: 0.34s; }
.menu-overlay nav a:nth-child(6) { transition-delay: 0.40s; }
.menu-overlay__foot { margin-top: 48px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.menu-overlay__foot a:hover { color: var(--cyan); }

@media (max-width: 900px) {
  .main-nav, .site-header .nav-cta { display: none; }
  .menu-btn { display: flex; }
}
@media (min-width: 901px) { .menu-overlay { display: none; } }

/* ---- Industries mega-menu (desktop) ---- */
.nav-mega { position: relative; display: flex; align-items: center; }
/* Invisible bridge so the cursor can travel from the trigger into the panel
   without crossing a dead-zone (which would close the menu). Sits only under
   the trigger, narrower than the gaps to sibling nav links. */
.nav-mega::after {
  content: ''; position: absolute; top: 100%; left: -22px; right: -22px; height: 30px;
}
.nav-mega__trigger {
  font-size: 14px; font-weight: 500; color: var(--muted); position: relative;
  padding: 6px 0; transition: color 0.25s; letter-spacing: 0.2px;
  display: inline-flex; align-items: center; gap: 5px; cursor: pointer;
}
.nav-mega__trigger::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease);
}
.nav-mega:hover .nav-mega__trigger, .nav-mega:focus-within .nav-mega__trigger,
.nav-mega__trigger[aria-current="page"] { color: var(--text); }
.nav-mega:hover .nav-mega__trigger::after, .nav-mega:focus-within .nav-mega__trigger::after,
.nav-mega__trigger[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-mega__chev { transition: transform 0.35s var(--ease); margin-top: 1px; }
.nav-mega:hover .nav-mega__chev, .nav-mega:focus-within .nav-mega__chev { transform: rotate(180deg); }

.mega-panel {
  position: fixed; top: calc(var(--nav-h) - 8px); left: 0; right: 0; margin: 0 auto;
  width: min(1060px, calc(100vw - 40px)); padding-top: 14px;
  opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease), visibility 0s 0.3s;
  z-index: 1001;
}
.nav-mega:hover .mega-panel, .nav-mega:focus-within .mega-panel {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease);
}
.mega-panel__card {
  display: grid; grid-template-columns: 1fr 0.42fr; gap: 10px;
  background: rgba(10, 13, 20, 0.92); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--line); border-radius: 20px; padding: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-link {
  display: flex; align-items: center; gap: 13px; padding: 11px 13px; border-radius: 12px;
  transition: background 0.22s; position: relative;
}
.mega-link:hover { background: rgba(255, 255, 255, 0.04); }
.mega-link__ico {
  flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--grad);
  opacity: 0.4; transition: opacity 0.22s, transform 0.22s;
}
.mega-link:hover .mega-link__ico { opacity: 1; transform: scale(1.25); }
.mega-link__tx { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.mega-link__tx b { font-family: var(--font-d); font-size: 14.5px; font-weight: 600; color: var(--text); letter-spacing: -0.2px; }
.mega-link__tx small { font-size: 12px; color: var(--muted-2); }
.mega-link:hover .mega-link__tx small { color: var(--muted); }
.mega-feature {
  border-radius: 14px; padding: 22px; display: flex; flex-direction: column;
  background: linear-gradient(160deg, rgba(79, 125, 243, 0.12), rgba(139, 92, 246, 0.06));
  border: 1px solid var(--line-soft);
}
.mega-feature__h { font-family: var(--font-d); font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -0.3px; margin: 14px 0 10px; color: var(--text); }
.mega-feature p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.mega-feature__cta { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-d); font-weight: 600; font-size: 13.5px; color: var(--cyan); }
.mega-feature__cta svg { transition: transform 0.3s var(--ease); }
.mega-feature__cta:hover svg { transform: translateX(4px); }

/* ---- Industry page: how-we-help service grid ---- */
.ind-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.ind-help__card { height: 100%; }
.ind-help__card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--bg-2); transition: border-color 0.3s, transform 0.3s; }
.ind-help__card:hover { border-color: rgba(79, 125, 243, 0.4); transform: translateY(-4px); }
.ind-help__card h3 { font-family: var(--font-d); font-size: 18px; font-weight: 600; letter-spacing: -0.3px; margin-bottom: 10px; }
.ind-help__card h3 span { color: var(--cyan); }
.ind-help__card p { font-size: 14px; color: var(--muted); line-height: 1.65; }
@media (max-width: 860px) { .ind-help { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ind-help { grid-template-columns: 1fr; } }

/* ---- Industry page: nuances ---- */
.ind-nuances { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ind-nuance { display: flex; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008)); }
.ind-nuance__n { font-family: var(--font-d); font-size: 14px; font-weight: 600; color: var(--cyan); flex: none; padding-top: 2px; }
.ind-nuance h3 { font-family: var(--font-d); font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.2px; }
.ind-nuance p { font-size: 14px; color: var(--muted); line-height: 1.65; }
@media (max-width: 720px) { .ind-nuances { grid-template-columns: 1fr; } }

/* ---- Industry page: outcomes ---- */
.ind-outcomes { display: grid; gap: 16px; max-width: 760px; }
.ind-outcome { display: flex; gap: 16px; align-items: flex-start; font-size: 17px; color: var(--text); line-height: 1.5; }
.ind-outcome::before {
  content: ''; flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: 1px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 15px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.ind-outcome span { color: var(--muted); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-d); font-weight: 600; font-size: 15px; letter-spacing: 0.3px;
  padding: 18px 36px; border-radius: 100px; position: relative; overflow: hidden;
  transition: color 0.35s var(--ease), border-color 0.35s; will-change: transform;
}
.btn--primary { background: var(--text); color: var(--bg); }
.btn--primary .btn__fill { position: absolute; inset: 0; background: var(--grad); border-radius: inherit; transform: translateY(101%); transition: transform 0.45s var(--ease); }
.btn--primary:hover .btn__fill { transform: translateY(0); }
.btn--primary:hover { color: #fff; }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--blue); color: var(--cyan); }
.btn > span:not(.btn__fill), .btn > svg { position: relative; z-index: 1; }
.btn svg { transition: transform 0.35s var(--ease); }
.btn:hover svg { transform: translateX(5px); }

/* ============================================================
   SECTION PRIMITIVES
   ============================================================ */
.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.section--line-top { border-top: 1px solid var(--line-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 24px; font-family: var(--font-d);
}
.eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--grad); }

.h-display {
  font-family: var(--font-d); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em;
  font-size: clamp(40px, 7vw, 96px);
}
.h-1 { font-family: var(--font-d); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; font-size: clamp(36px, 5.5vw, 72px); }
.h-2 { font-family: var(--font-d); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; font-size: clamp(30px, 4vw, 52px); }
.h-3 { font-family: var(--font-d); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; font-size: clamp(20px, 2.2vw, 26px); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 640px; line-height: 1.75; }

.sec-head { margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }

/* ============================================================
   HERO (homepage)
   ============================================================ */
.hero {
  min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden; padding-top: var(--nav-h);
}
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 90% 70% at 50% 45%, transparent 30%, var(--bg) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500;
  color: var(--muted); border: 1px solid var(--line); padding: 9px 20px; border-radius: 100px;
  margin-bottom: 36px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); position: relative; }
.hero__eyebrow .pulse::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.hero h1 { max-width: 1200px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }

.hero__sub { margin-top: 32px; max-width: 560px; font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); line-height: 1.75; }
.hero__ctas { display: flex; gap: 18px; margin-top: 44px; flex-wrap: wrap; align-items: center; }

.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(to top, rgba(5,6,8,.55), transparent);
}
.hero__foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 20px; padding-bottom: 20px; }
.hero__stats { display: flex; gap: clamp(24px, 5vw, 72px); }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat b { font-family: var(--font-d); font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.5px; }
.hero__stat b em { font-style: normal; color: var(--cyan); }
.hero__stat > span { font-size: 12px; color: var(--muted-2); letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
.hero__scroll { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); }
.hero__scroll i { display: block; width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--cyan); animation: scrolldrop 2s var(--ease) infinite; }
@keyframes scrolldrop { 0% { top: -50%; } 100% { top: 110%; } }
@media (max-width: 720px) {
  .hero { justify-content: flex-start; padding-top: calc(var(--nav-h) + 40px); }
  .hero .wrap { margin-top: auto; margin-bottom: auto; padding-top: 24px; }
  .hero__foot { position: relative; margin-top: 48px; }
  .hero__scroll { display: none; }
  .hero__stats { width: 100%; justify-content: space-between; flex-wrap: wrap; row-gap: 18px; }
  .hero__stat { flex: 0 0 46%; }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee { overflow: hidden; padding: 26px 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); position: relative; }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 28s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--font-d); font-size: clamp(18px, 2vw, 26px); font-weight: 600; letter-spacing: 0.5px;
  white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; color: var(--muted);
}
.marquee__item svg { color: var(--cyan); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   STATEMENT (scrub-highlight text)
   ============================================================ */
.statement p {
  font-family: var(--font-d); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
  font-size: clamp(26px, 3.6vw, 52px); max-width: 1100px;
}
.statement .word { color: rgba(244, 246, 251, 0.18); transition: color 0.3s linear; }
.statement .word.is-lit { color: var(--text); }
.statement .word.accent.is-lit { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============================================================
   SERVICES LIST (homepage)
   ============================================================ */
.svc-list { border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 80px 1.2fr 1fr 60px; align-items: center; gap: 28px;
  padding: clamp(28px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line);
  position: relative; isolation: isolate; cursor: pointer;
}
.svc-row::before {
  content: ''; position: absolute; inset: 0 calc(var(--pad) * -1); z-index: -1;
  background: linear-gradient(90deg, rgba(79, 125, 243, 0.09), rgba(139, 92, 246, 0.05), transparent);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.svc-row:hover::before, .svc-row:focus-within::before { opacity: 1; }
.svc-row__num { font-family: var(--font-d); font-size: 14px; color: var(--muted-2); letter-spacing: 1px; }
.svc-row__title {
  font-family: var(--font-d); font-size: clamp(24px, 3.2vw, 42px); font-weight: 700; letter-spacing: -0.02em;
  transition: transform 0.4s var(--ease), color 0.3s; line-height: 1.1;
}
.svc-row:hover .svc-row__title { transform: translateX(14px); color: var(--cyan); }
.svc-row__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-row__tag { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 6px 14px; border-radius: 100px; white-space: nowrap; }
.svc-row__arrow {
  width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; justify-self: end;
  transition: background 0.35s var(--ease), border-color 0.35s, transform 0.35s var(--ease);
}
.svc-row:hover .svc-row__arrow { background: var(--blue); border-color: var(--blue); transform: rotate(-45deg); }
@media (max-width: 860px) {
  .svc-row { grid-template-columns: 1fr 48px; gap: 12px; }
  .svc-row__num { grid-column: 1 / -1; grid-row: 1; font-size: 12px; }
  .svc-row__title { grid-column: 1; grid-row: 2; }
  .svc-row__arrow { grid-column: 2; grid-row: 2; width: 44px; height: 44px; }
  .svc-row__tags { grid-column: 1 / -1; grid-row: 3; }
}

/* ============================================================
   HORIZONTAL PROCESS (pinned scroll)
   ============================================================ */
.process { overflow: hidden; }
.process__viewport { position: relative; }
.process__track { display: flex; gap: clamp(20px, 2.5vw, 36px); will-change: transform; padding-right: var(--pad); }
.process__intro { flex: 0 0 auto; width: min(420px, 80vw); display: flex; flex-direction: column; justify-content: center; }
.proc-card {
  flex: 0 0 auto; width: min(460px, 82vw); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 3vw, 44px); background: linear-gradient(160deg, var(--bg-2), var(--bg));
  display: flex; flex-direction: column; min-height: 380px; position: relative; overflow: hidden;
  transition: border-color 0.3s;
}
.proc-card:hover { border-color: rgba(79, 125, 243, 0.45); }
.proc-card__num {
  font-family: var(--font-d); font-size: clamp(64px, 7vw, 96px); font-weight: 700; line-height: 1;
  background: linear-gradient(180deg, rgba(79, 125, 243, 0.5), rgba(79, 125, 243, 0.04));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: auto;
}
.proc-card h3 { margin: 28px 0 14px; }
.proc-card p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.proc-card::after {
  content: ''; position: absolute; bottom: -120px; right: -120px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14), transparent 70%); pointer-events: none;
}
@media (max-width: 860px) {
  .process__track { flex-direction: column; padding-right: 0; transform: none !important; }
  .process__intro, .proc-card { width: 100%; min-height: 0; }
}

/* ============================================================
   RESULTS / COUNTERS
   ============================================================ */
.results-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.result-cell {
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 44px);
  border-right: 1px solid var(--line); position: relative; background: var(--bg-2);
  transition: background 0.4s;
}
.result-cell:last-child { border-right: 0; }
.result-cell:hover { background: var(--bg-3); }
.result-cell b { font-family: var(--font-d); font-size: clamp(44px, 5vw, 72px); font-weight: 700; letter-spacing: -2px; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.result-cell b em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.result-cell > span { display: block; margin-top: 14px; font-size: 13px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
@media (max-width: 860px) {
  .results-grid { grid-template-columns: 1fr 1fr; }
  .result-cell:nth-child(2n) { border-right: 0; }
  .result-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ============================================================
   WHY / FEATURE GRID
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2vw, 28px); }
.why-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 44px);
  background: var(--bg-2); position: relative; overflow: hidden;
  transition: border-color 0.35s, transform 0.35s var(--ease);
}
.why-card:hover { border-color: rgba(79, 125, 243, 0.4); transform: translateY(-6px); }
.why-card__glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(79,125,243,0.16), transparent 65%); pointer-events: none; opacity: 0; transition: opacity 0.4s; transform: translate(-50%, -50%); top: 0; left: 0; }
.why-card:hover .why-card__glow { opacity: 1; }
.why-card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: rgba(79, 125, 243, 0.1); border: 1px solid rgba(79, 125, 243, 0.25); color: var(--cyan); margin-bottom: 24px;
}
.why-card h3 { margin-bottom: 12px; }
.why-card p { color: var(--muted); font-size: 15px; line-height: 1.75; }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } }

/* ---- Industries pill marquee ---- */
.pills-marquee { overflow: hidden; display: flex; flex-direction: column; gap: 14px; }
.pills-row { display: flex; gap: 14px; width: max-content; animation: marquee 36s linear infinite; }
.pills-row--reverse { animation-direction: reverse; }
.pill {
  font-size: 14px; font-weight: 500; color: var(--muted); border: 1px solid var(--line);
  padding: 12px 26px; border-radius: 100px; white-space: nowrap; transition: color 0.3s, border-color 0.3s;
}
.pill:hover { color: var(--text); border-color: var(--blue); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 840px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; cursor: pointer; font-family: var(--font-d); font-weight: 600;
  font-size: clamp(16px, 1.8vw, 20px); transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.faq-item summary .faq-x { flex: none; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: transform 0.4s var(--ease), border-color 0.3s; }
.faq-item summary .faq-x::before, .faq-item summary .faq-x::after { content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.faq-item summary .faq-x::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.faq-item[open] summary .faq-x { transform: rotate(45deg); border-color: var(--blue); }
.faq-item .faq-a { padding: 0 0 28px; color: var(--muted); font-size: 15.5px; line-height: 1.8; max-width: 720px; }

/* ============================================================
   BIG CTA
   ============================================================ */
.cta-big { text-align: center; position: relative; overflow: hidden; }
.cta-big__orb {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(900px, 120vw); height: min(900px, 120vw); pointer-events: none;
  background: radial-gradient(circle, rgba(79, 125, 243, 0.14) 0%, rgba(139, 92, 246, 0.07) 35%, transparent 65%);
}
.cta-big .wrap { position: relative; z-index: 1; }
.cta-big h2 { font-size: clamp(44px, 8vw, 120px); }
.cta-big p { margin: 28px auto 44px; }
.cta-big .lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding: clamp(56px, 7vw, 96px) 0 56px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; line-height: 1.75; max-width: 320px; margin-top: 16px; }
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.footer-socials a {
  width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--muted);
  transition: color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.footer-socials a:hover { color: #fff; border-color: var(--blue); transform: translateY(-3px); }
.footer-socials svg { width: 17px; height: 17px; fill: currentColor; }
.f-col h4 { font-family: var(--font-d); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 22px; font-weight: 600; }
.f-col a { display: block; color: var(--muted); font-size: 14.5px; padding: 6px 0; transition: color 0.25s, padding-left 0.3s var(--ease); }
.f-col a:hover { color: var(--text); padding-left: 6px; }
.footer-mega {
  font-family: var(--font-d); font-weight: 700; letter-spacing: -0.04em; line-height: 0.9;
  font-size: clamp(64px, 13.5vw, 220px); text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, rgba(244, 246, 251, 0.14), rgba(244, 246, 251, 0.015));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  user-select: none; pointer-events: none; margin-bottom: -0.12em;
}
.footer-bottom { border-top: 1px solid var(--line-soft); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted-2); }
.footer-bottom a { color: var(--muted-2); margin-left: 20px; transition: color 0.25s; }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 36px; } }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero { padding: calc(var(--nav-h) + clamp(70px, 10vw, 130px)) 0 clamp(60px, 8vw, 100px); position: relative; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(79, 125, 243, 0.12), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(139, 92, 246, 0.08), transparent 60%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted-2); margin-bottom: 32px; }
.breadcrumb a { color: var(--muted); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--cyan); }
.page-hero .lead { margin-top: 28px; }

/* ---- Legal / long-form prose (privacy, terms) ---- */
.legal { max-width: 820px; }
.legal__meta { font-size: 14px; color: var(--muted-2); margin-bottom: 48px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal h2 { font-family: var(--font-d); font-weight: 600; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.015em; color: var(--text); margin: 52px 0 18px; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-family: var(--font-d); font-weight: 600; font-size: 18px; color: var(--text); margin: 30px 0 12px; }
.legal p { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 18px; }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(56, 232, 255, 0.35); }
.legal a:hover { text-decoration-color: var(--cyan); }
.legal strong { color: var(--text); font-weight: 600; }
.legal ul { display: grid; gap: 10px; margin: 0 0 18px; padding-left: 4px; }
.legal ul li { position: relative; padding-left: 22px; font-size: 16px; line-height: 1.7; color: var(--muted); }
.legal ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-bottom: 52px; }
.legal__toc a { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 7px 14px; text-decoration: none; transition: color 0.25s, border-color 0.25s; }
.legal__toc a:hover { color: var(--text); border-color: rgba(79, 125, 243, 0.5); }

/* ---- Services hub cards ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.svc-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px);
  background: var(--bg-2); position: relative; overflow: hidden; display: flex; flex-direction: column;
  transition: border-color 0.35s, transform 0.35s var(--ease); min-height: 360px;
}
.svc-card:hover { border-color: rgba(79, 125, 243, 0.45); transform: translateY(-6px); }
.svc-card::before {
  content: ''; position: absolute; top: -80px; right: -80px; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(56, 232, 255, 0.1), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.svc-card:hover::before { opacity: 1; }
.svc-card__num { font-family: var(--font-d); font-size: 13px; color: var(--muted-2); letter-spacing: 2px; margin-bottom: 40px; }
.svc-card h2, .svc-card h3 { font-family: var(--font-d); font-size: clamp(21px, 2vw, 26px); font-weight: 700; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 14px; }
.svc-card p { color: var(--muted); font-size: 14.5px; line-height: 1.75; margin-bottom: 22px; }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; margin-top: auto; }
.svc-card__tags span { font-size: 11.5px; color: var(--muted); border: 1px solid var(--line); padding: 5px 12px; border-radius: 100px; }
.svc-card__link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-d); font-weight: 600; font-size: 14px; color: var(--cyan); }
.svc-card__link svg { transition: transform 0.3s var(--ease); }
.svc-card:hover .svc-card__link svg { transform: translateX(5px); }
@media (max-width: 1024px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } .svc-card { min-height: 0; } }

/* ---- Service detail ---- */
.detail-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.detail-grid .lead { max-width: none; }
.detail-sticky { position: sticky; top: calc(var(--nav-h) + 32px); }
.deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.deliverable {
  border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; background: var(--bg-2);
  display: flex; align-items: center; gap: 14px; font-size: 14.5px; font-weight: 500;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.deliverable:hover { border-color: rgba(56, 232, 255, 0.4); transform: translateX(6px); }
.deliverable svg { flex: none; color: var(--cyan); }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } .detail-sticky { position: static; } }
@media (max-width: 560px) { .deliverables { grid-template-columns: 1fr; } }

.svc-next { display: flex; justify-content: space-between; align-items: center; gap: 24px; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); background: var(--bg-2); transition: border-color 0.3s; }
.svc-next:hover { border-color: var(--blue); }
.svc-next small { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.svc-next .h-3 { transition: color 0.3s; }
.svc-next:hover .h-3 { color: var(--cyan); }

/* ---- Contact page ---- */
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-channels { display: flex; flex-direction: column; gap: 14px; margin-top: 40px; }
.contact-channel {
  display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 24px; background: var(--bg-2); transition: border-color 0.3s, transform 0.3s var(--ease);
}
.contact-channel:hover { border-color: rgba(79, 125, 243, 0.45); transform: translateX(6px); }
.contact-channel__icon { width: 46px; height: 46px; flex: none; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(79, 125, 243, 0.1); border: 1px solid rgba(79, 125, 243, 0.25); color: var(--cyan); }
.contact-channel b { display: block; font-family: var(--font-d); font-size: 15px; }
.contact-channel span { font-size: 13.5px; color: var(--muted); }

.form-card { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); background: var(--bg-2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; color: var(--muted); letter-spacing: 0.3px; }
.form-group label .req { color: var(--cyan); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 15px 18px; background: var(--bg); border: 1px solid var(--line);
  border-radius: 12px; color: var(--text); font-size: 15px; font-family: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238b92a7' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(79, 125, 243, 0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-card .btn { width: 100%; justify-content: center; }
.form-card .btn:disabled { opacity: 0.6; cursor: wait; }
.form-msg { display: none; padding: 14px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.form-msg.is-success { display: block; background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.35); color: #6ee7b7; }
.form-msg.is-error { display: block; background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.3); color: #fca5a5; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---- About page ---- */
.about-vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.about-val { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); background: var(--bg-2); transition: border-color 0.3s, transform 0.35s var(--ease); }
.about-val:hover { border-color: rgba(79, 125, 243, 0.4); transform: translateY(-6px); }
.about-val b { font-family: var(--font-d); font-size: clamp(34px, 3.6vw, 48px); display: block; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.about-val h3 { margin-bottom: 10px; }
.about-val p { color: var(--muted); font-size: 14.5px; line-height: 1.75; }
@media (max-width: 860px) { .about-vals { grid-template-columns: 1fr; } }

/* ============================================================
   ACCESSIBILITY / MOTION
   ============================================================ */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .grain, .cursor-dot, .cursor-ring { display: none !important; }
  .marquee__track, .pills-row { animation: none; }
}
