/* ============================================================
   CENTR8 — Design System  (Light theme)
   Fonts: Montserrat (display) · Manrope (body)
   Brand gradient sourced from the C8 logo.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Ground & surfaces */
  --bg:        #FFFFFF;
  --bg-2:      #F5F6FC;
  --bg-3:      #ECEEF7;
  --surface:   #FFFFFF;
  --surface-2: #FBFBFE;

  /* Ink */
  --ink:       #0F1124;
  --ink-soft:  #41465E;
  --ink-mut:   #6A6F8C;
  --ink-faint: #9A9FBD;

  /* SINGLE primary color + neutrals only (no multi-color) */
  --primary:     #4F7BFF;
  --primary-600: #3B63E0;
  --primary-700: #2C4ECB;
  --primary-300: #9DB6FF;
  --primary-tint:#EDF2FF;

  /* legacy hue vars all repointed to the single primary so every component stays on-palette */
  --cyan:    #4F7BFF;
  --blue:    #4F7BFF;
  --indigo:  #4F7BFF;
  --deep:    #2C4ECB;
  --purple:  #4F7BFF;
  --magenta: #3B63E0;
  --yellow:  #4F7BFF;

  --accent:  #4F7BFF;
  --accent-2:#4F7BFF;

  /* "gradient" tokens are now single-hue (one blue) — subtle depth, not multi-color */
  --grad: linear-gradient(120deg, #5C86FF 0%, #4F7BFF 50%, #3B63E0 100%);
  --grad-btn: linear-gradient(120deg, #5C86FF 0%, #3B63E0 100%);
  --grad-soft: linear-gradient(120deg, rgba(79,123,255,.10), rgba(79,123,255,.035));

  /* Lines & shadows */
  --line:        rgba(16,18,46,.10);
  --line-soft:   rgba(16,18,46,.06);
  --line-strong: rgba(16,18,46,.18);
  --shadow-sm: 0 2px 10px rgba(24,28,70,.05);
  --shadow:    0 20px 44px -22px rgba(28,30,80,.22);
  --shadow-lg: 0 36px 80px -30px rgba(28,30,80,.30);

  /* Dark footer (bookend) */
  --foot-bg: #0E1016;

  /* Type */
  --f-display: 'Montserrat', 'Segoe UI', sans-serif;
  --f-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-label: 'Manrope', sans-serif;

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snappy: cubic-bezier(0.33, 1, 0.68, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

::selection { background: var(--indigo); color: #fff; }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }

/* Scrollbar */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: #cdd1e4; border-radius: 20px; border: 3px solid var(--bg-2); }
::-webkit-scrollbar-thumb:hover { background: #b6bbd6; }

/* Scroll progress */
.scroll-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--grad); z-index: 1200;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 920px; }
.container.wide { max-width: 1400px; }

.section { padding-block: var(--section-y); position: relative; }
.section.tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--alt { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-label); font-size: .76rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--indigo);
}
.eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad);
}
.eyebrow.no-dot::before { display: none; }
.eyebrow.on-dark { color: #C9CBE8; }

.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 1.2rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head .lede { color: var(--ink-mut); }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; line-height: 1.07; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
.display {
  font-size: clamp(2.6rem, 6vw, 4.9rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.03em;
}
h2 { font-size: clamp(1.85rem, 3.8vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.55rem); font-weight: 700; }
h4 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }

.lede { font-size: clamp(1.08rem, 1.7vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 60ch; font-weight: 400; }
p { max-width: 70ch; }
.muted { color: var(--ink-mut); }
.mono-label { font-family: var(--f-label); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); }

.gradient-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .9em; --pad-x: 1.5em;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--f-body); font-weight: 700; font-size: .96rem; letter-spacing: -0.01em;
  border-radius: 100px; position: relative; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-position .5s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary {
  color: #fff; background: var(--grad-btn); background-size: 160% 160%;
  box-shadow: 0 10px 26px -10px rgba(79,123,255,.5);
}
.btn--primary:hover { transform: translateY(-2px); background-position: 100% 50%; box-shadow: 0 16px 34px -10px rgba(79,123,255,.55); }
.btn--ghost {
  color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); background: var(--bg);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--indigo); color: var(--indigo); transform: translateY(-2px); }
.btn--on-dark.btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); background: transparent; }
.btn--on-dark.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; color: #fff; }
.btn--white { color: var(--indigo); background: #fff; box-shadow: 0 10px 26px -12px rgba(0,0,0,.4); }
.btn--white:hover { transform: translateY(-2px); }
.btn--lg { --pad-y: 1.05em; --pad-x: 1.85em; font-size: 1.02rem; }
.btn--sm { --pad-y: .62em; --pad-x: 1.1em; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .94rem; color: var(--indigo);
  transition: gap .3s var(--ease), color .3s;
}
.arrow-link svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.arrow-link:hover { gap: .8em; color: var(--magenta); }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .4s var(--ease), border-color .4s, box-shadow .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,.82); backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line-soft); box-shadow: 0 6px 24px -16px rgba(20,24,70,.25);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; padding: .55rem .8rem; font-size: .93rem; font-weight: 600;
  color: var(--ink-soft); border-radius: 8px; transition: color .25s;
}
.nav__link:hover, .nav__link.active { color: var(--ink); }
.nav__link.active::after {
  content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .15rem; height: 2px;
  background: var(--grad); border-radius: 2px;
}
.nav__right { display: flex; align-items: center; gap: 1rem; }

/* Services dropdown */
.nav__has-drop { position: relative; }
.nav__drop-toggle { display: inline-flex; align-items: center; gap: .35em; }
.nav__drop-toggle svg { width: .7em; height: .7em; transition: transform .3s; opacity: .6; }
.nav__has-drop:hover .nav__drop-toggle svg { transform: rotate(180deg); }
.nav__drop {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(620px, 86vw); padding: 14px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.nav__has-drop:hover .nav__drop, .nav__drop:hover { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
/* invisible bridge so moving from the link into the menu doesn't drop hover */
.nav__drop::before { content: ''; position: absolute; top: -18px; left: 0; right: 0; height: 20px; }
.nav__drop a { display: flex; flex-direction: column; gap: 2px; padding: .7rem .8rem; border-radius: 10px; transition: background .2s; }
.nav__drop a:hover { background: var(--bg-2); }
.nav__drop a span { font-weight: 700; font-size: .92rem; color: var(--ink); }
.nav__drop a small { font-size: .78rem; color: var(--ink-mut); font-weight: 400; }
.nav__drop .drop-all { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; color: var(--indigo); font-weight: 700; }

.nav__toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: #fff; }
.nav__toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999; background: #fff;
  padding: 100px var(--gutter) 3rem; overflow-y: auto;
  transform: translateY(-100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column; gap: .1rem;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { padding: .85rem 0; font-family: var(--f-display); font-size: 1.45rem; font-weight: 800; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .mm-sub { font-family: var(--f-body); font-size: 1rem; font-weight: 600; color: var(--ink-mut); padding-left: 1rem; }
.mobile-menu .btn { margin-top: 1.5rem; }

/* ---------- Media / images ---------- */
.media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-3) var(--grad-soft); box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media.ratio-43 { aspect-ratio: 4/3; }
.media.ratio-11 { aspect-ratio: 1/1; }
.media.ratio-169 { aspect-ratio: 16/9; }
.media__badge { position: absolute; left: 16px; bottom: 16px; z-index: 2; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); padding: .5rem .9rem; border-radius: 100px; font-size: .8rem; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }

/* ---------- Hero (split: copy left, image right) ---------- */
.hero { position: relative; padding: calc(76px + clamp(2.5rem,6vw,4.5rem)) 0 clamp(3.5rem,7vw,6rem); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.aurora {
  position: absolute; inset: -25% -10% auto -10%; height: 130%;
  background:
    radial-gradient(52% 46% at 72% 22%, rgba(79,123,255,.18), transparent 70%),
    radial-gradient(46% 46% at 20% 28%, rgba(79,123,255,.12), transparent 70%),
    radial-gradient(50% 50% at 60% 80%, rgba(79,123,255,.08), transparent 70%);
  filter: blur(10px); z-index: 0;
}
.hero__veil { position: absolute; inset: 0; z-index: 1; background: radial-gradient(130% 90% at 82% 8%, transparent 52%, var(--bg) 96%); }
.hero .container { position: relative; z-index: 2; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__copy { max-width: 620px; }
.hero__inner { max-width: 940px; }
.hero h1 { margin: 1.3rem 0 1.4rem; font-size: clamp(2.15rem, 4.3vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; }
.hero .lede { font-size: clamp(1.04rem, 1.5vw, 1.2rem); margin-bottom: 2rem; color: var(--ink-soft); }
.hero .btn-row { margin-bottom: 0; }

/* hero visual */
.hero__visual { position: relative; transition: transform .5s var(--ease); transform-style: preserve-3d; }
.hero__figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/4.5; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(155deg, transparent 45%, rgba(79,123,255,.22)); }
.hero__float { position: absolute; z-index: 3; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 16px; padding: .85rem 1.1rem; display: flex; align-items: center; gap: .75rem; max-width: 250px; }
.hero__float--a { left: -26px; top: 32px; animation: floaty 5s var(--ease) infinite; }
.hero__float--b { right: -22px; bottom: 36px; animation: floaty 6s var(--ease) .6s infinite; }
.hero__float .fi { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-btn); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.hero__float .fi svg { width: 19px; height: 19px; }
.hero__float b { font-family: var(--f-display); font-weight: 800; font-size: .9rem; display: block; line-height: 1.2; }
.hero__float small { color: var(--ink-mut); font-size: .76rem; }

/* decorative blurred blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .42; z-index: 0; pointer-events: none; background: radial-gradient(circle, rgba(79,123,255,.55), transparent 70%); }
.blob--1 { width: 440px; height: 440px; top: -90px; right: -60px; animation: floaty 11s ease-in-out infinite; }
.blob--2 { width: 320px; height: 320px; bottom: -60px; left: 28%; opacity: .26; animation: floaty 13s ease-in-out 1s infinite; }
.blob--accent { background: radial-gradient(circle, rgba(79,123,255,.4), transparent 70%); }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* reveal — scale variant + section decorations */
.reveal--scale { transform: translateY(26px) scale(.96); }
.reveal--scale.in { transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal--scale { transform: none; } .blob, .hero__float { animation: none; } }

/* pillar icon micro-interaction */
.pillar__icon { transition: transform .45s var(--ease), box-shadow .45s; }
.pillar:hover .pillar__icon { transform: scale(1.09) rotate(-4deg); }

.scroll-cue { display: inline-flex; align-items: center; gap: .6em; font-family: var(--f-label); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.scroll-cue i { width: 22px; height: 34px; border: 1.5px solid var(--line-strong); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 3px; height: 7px; border-radius: 3px; background: var(--indigo); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0%,100% { opacity: 0; transform: translate(-50%,0);} 50% { opacity: 1; transform: translate(-50%,8px);} }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; padding-top: calc(76px + clamp(3.5rem, 8vw, 6rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem); overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line-soft); }
.page-hero .aurora { opacity: .85; height: 100%; }
.page-hero__veil { position: absolute; inset: 0; background: radial-gradient(100% 90% at 50% -10%, transparent 45%, var(--bg-2) 95%); z-index: 1; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -0.03em; margin: 1.2rem 0 1.3rem; max-width: 18ch; }
.page-hero .lede { max-width: 62ch; }

.breadcrumb { display: flex; align-items: center; gap: .55rem; font-family: var(--f-label); font-size: .8rem; font-weight: 600; color: var(--ink-faint); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--indigo); }
.breadcrumb span { opacity: .5; }

/* ---------- Trust marquee ---------- */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding-block: 2.2rem; background: var(--bg); }
.trust__label { text-align: center; margin-bottom: 1.4rem; }
.marquee { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 3.4rem; padding-right: 3.4rem; animation: marquee 34s linear infinite; flex-shrink: 0; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__item { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--ink-faint); white-space: nowrap; letter-spacing: -0.02em; transition: color .3s; }
.marquee__item:hover { color: var(--ink); }

/* ---------- Pillars grid ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 3.5rem; }
.pillar {
  position: relative; padding: 1.7rem 1.5rem 1.6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; min-height: 236px; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.pillar::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); opacity: 0; transition: opacity .4s; }
.pillar:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-lg); }
.pillar:hover::before { opacity: 1; }
.pillar__num { font-family: var(--f-display); font-weight: 800; font-size: .85rem; color: var(--ink-faint); margin-bottom: 1.1rem; }
.pillar__icon { width: 46px; height: 46px; margin-bottom: 1rem; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--grad-btn); box-shadow: 0 8px 18px -8px rgba(79,123,255,.45); }
.pillar__icon svg { width: 24px; height: 24px; }
.pillar h3 { font-size: 1.16rem; margin-bottom: .55rem; letter-spacing: -0.015em; }
.pillar p { font-size: .92rem; color: var(--ink-mut); line-height: 1.55; margin-bottom: 1.1rem; flex: 1; }
.pillar .arrow-link { font-size: .85rem; }

/* ---------- Value / why cards ---------- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 3.5rem; }
.value {
  padding: 2rem 1.9rem; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s;
}
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value__k { font-family: var(--f-display); font-weight: 800; font-size: .9rem; color: var(--indigo); margin-bottom: 1rem; }
.value h3 { font-size: 1.28rem; margin-bottom: .7rem; }
.value p { color: var(--ink-mut); font-size: .98rem; }

/* ---------- Stat strip ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { padding: 2rem 1.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.stat__n { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -0.02em; margin-bottom: .4rem; line-height: 1.1; }
.stat p { font-size: .94rem; color: var(--ink-mut); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.flip { grid-template-columns: .95fr 1.05fr; }
.split.flip .split__text { order: 2; }

/* ---------- The "8" motif ---------- */
.eight {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(7rem, 22vw, 18rem); line-height: .8;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Process steps ---------- */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 3rem; }
.step { position: relative; padding: 1.7rem 1.4rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step__n { font-family: var(--f-label); font-size: .8rem; font-weight: 700; color: var(--ink-faint); margin-bottom: 1.3rem; display: flex; align-items: center; gap: .6rem; }
.step__n b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--grad-btn); color: #fff; font-family: var(--f-display); font-size: .95rem; }
.step h4 { font-size: 1.08rem; margin-bottom: .5rem; }
.step p { font-size: .9rem; color: var(--ink-mut); }

/* ---------- Checklist / deliverables ---------- */
.checklist { display: grid; gap: .9rem; margin-top: 1.8rem; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: .9rem; align-items: start; color: var(--ink-soft); font-size: 1.0rem; }
.checklist li::before {
  content: ''; width: 24px; height: 24px; border-radius: 8px; margin-top: 2px;
  background: var(--grad-btn);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 13px;
}

/* numbered approach */
.numbered { display: grid; gap: 1.1rem; counter-reset: n; margin-top: 1.8rem; }
.numbered li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; color: var(--ink-soft); }
.numbered li::before {
  counter-increment: n; content: counter(n, decimal-leading-zero);
  font-family: var(--f-display); font-weight: 800; font-size: .9rem; color: var(--indigo);
  padding-top: 2px; min-width: 2ch;
}

/* tech chips */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.chip {
  font-family: var(--f-label); font-weight: 600; font-size: .85rem; color: var(--ink-soft);
  padding: .5rem .95rem; border-radius: 100px; border: 1px solid var(--line);
  background: var(--surface); box-shadow: var(--shadow-sm); transition: border-color .3s, color .3s, transform .3s;
}
.chip:hover { border-color: var(--indigo); color: var(--indigo); transform: translateY(-2px); }

/* ---------- FAQ accordion ---------- */
.faq { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.05rem, 1.7vw, 1.22rem); letter-spacing: -0.01em; color: var(--ink); }
.faq__q .pm { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq__q .pm::before, .faq__q .pm::after { content: ''; position: absolute; top: 50%; left: 0; width: 18px; height: 2.5px; background: var(--indigo); border-radius: 2px; transition: transform .35s var(--ease); }
.faq__q .pm::after { transform: rotate(90deg); }
.faq__item.open .pm::after { transform: rotate(0); }
.faq__a { overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); }
.faq__a > div { padding: 0 0 1.6rem; color: var(--ink-soft); max-width: 72ch; }

/* ---------- CTA band (dark brand panel for impact) ---------- */
.cta-band__inner {
  position: relative; border-radius: var(--radius-lg); padding: clamp(2.6rem, 6vw, 5rem);
  background: #0E1016;
  text-align: center; overflow: hidden; box-shadow: var(--shadow-lg);
}
.cta-band__glow { position: absolute; inset: 0; z-index: 0; background: radial-gradient(55% 120% at 16% 8%, rgba(79,123,255,.30), transparent 62%), radial-gradient(55% 120% at 86% 94%, rgba(79,123,255,.20), transparent 62%); }
.cta-band__inner > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin-bottom: 1.3rem; }
.cta-band h2 .gradient-text { background: linear-gradient(100deg,#A9C0FF,#DCE6FF); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta-band .lede { color: rgba(255,255,255,.82); }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer (dark bookend) ---------- */
.site-footer { background: var(--foot-bg); color: #C9CCE4; padding-top: clamp(3.5rem, 7vw, 5.5rem); position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3.5rem; }
.footer-brand img { height: 44px; margin-bottom: 1.3rem; }
.footer-brand p { color: #9498C0; font-size: .94rem; max-width: 34ch; margin-bottom: 1.5rem; }
.footer-tagline { font-family: var(--f-label); font-weight: 700; font-size: .76rem; letter-spacing: .12em; color: #6E72A0; text-transform: uppercase; }
.footer-col h5 { font-family: var(--f-label); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #6E72A0; margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: #B9BCDA; font-size: .94rem; transition: color .25s; }
.footer-col a:hover { color: #fff; }
.footer-contact a { display: block; }
.social-row { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social-row a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; color: #B9BCDA; transition: all .3s; }
.social-row a:hover { color: #fff; border-color: transparent; background: var(--grad-btn); transform: translateY(-2px); }
.social-row svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.8rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .84rem; color: #6E72A0; }
.footer-bottom .legal { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Forms ---------- */
.form-card { padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-family: var(--f-label); font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: .55rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: .9rem 1rem; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-sm); color: var(--ink); font-size: 1rem; transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(90,51,242,.12); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A6F8C' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.form-success { display: none; padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); background: rgba(90,51,242,.07); border: 1px solid rgba(90,51,242,.3); color: var(--indigo); font-size: .94rem; font-weight: 600; margin-bottom: 1.3rem; }
.form-success.show { display: block; }

/* ---------- Generic card grid (work / blog / industries) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 3rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--surface); display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.tile__thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--bg-3) var(--grad-soft); }
.tile__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tile:hover .tile__thumb img { transform: scale(1.05); }
.tile__body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.tile__tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { font-family: var(--f-label); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 100px; border: 1px solid var(--line); color: var(--ink-mut); }
.tile h3 { font-size: 1.2rem; }
.tile p { font-size: .92rem; color: var(--ink-mut); flex: 1; }
.tile__meta { font-family: var(--f-label); font-size: .78rem; font-weight: 600; color: var(--ink-faint); display: flex; gap: 1rem; }

/* filter chips */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2.5rem; }
.filters button { font-size: .86rem; font-weight: 600; padding: .5rem 1rem; border-radius: 100px; border: 1px solid var(--line); color: var(--ink-mut); background: var(--surface); transition: all .25s; }
.filters button.active, .filters button:hover { color: #fff; border-color: transparent; background: var(--grad-btn); }

/* perks (careers) */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 3rem; }
.perk { padding: 1.8rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.perk h4 { margin-bottom: .5rem; }
.perk p { font-size: .92rem; color: var(--ink-mut); }

/* list rows (solutions / related) */
.rows { margin-top: 3rem; border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center;
  padding: 1.8rem 0; border-bottom: 1px solid var(--line); transition: padding-left .4s var(--ease), background .3s;
}
.row:hover { padding-left: 1rem; }
.row__n { font-family: var(--f-display); font-weight: 800; font-size: .9rem; color: var(--ink-faint); }
.row__main h3 { font-size: 1.32rem; margin-bottom: .35rem; }
.row__main p { color: var(--ink-mut); font-size: .96rem; }
.row .arrow-link svg { width: 1.4em; height: 1.4em; }

/* prose (blog/legal/intro) */
.prose { max-width: 70ch; }
.prose p { margin-bottom: 1.3rem; color: var(--ink-soft); }
.prose h2 { margin: 2.5rem 0 1rem; }
.prose h3 { margin: 2rem 0 .8rem; }
.prose ul { display: grid; gap: .8rem; margin-bottom: 1.3rem; }
.prose ul li { padding-left: 1.4rem; position: relative; color: var(--ink-soft); }
.prose ul li::before { content: ''; position: absolute; left: 0; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }

/* contact split */
.contact-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-detail { display: grid; gap: 1.6rem; }
.contact-detail .ci { display: grid; grid-template-columns: 46px 1fr; gap: 1rem; align-items: start; }
.contact-detail .ci .ic { width: 46px; height: 46px; border-radius: 12px; color: #fff; background: var(--grad-btn); display: grid; place-items: center; box-shadow: 0 8px 18px -10px rgba(79,123,255,.45); }
.contact-detail .ci .ic svg { width: 19px; height: 19px; }
.contact-detail .ci h5 { font-family: var(--f-label); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: .25rem; }
.contact-detail .ci a, .contact-detail .ci p { color: var(--ink-soft); font-size: .98rem; }
.contact-detail .ci a:hover { color: var(--indigo); }

/* divider */
.divider { height: 1px; background: var(--line); border: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__right .btn { display: none; }
  .nav__toggle { display: flex; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { max-width: 480px; margin-inline: auto; width: 100%; }
  .hero__float--a { left: 8px; top: 16px; }
  .hero__float--b { right: 8px; bottom: 18px; }
  .split, .split.flip, .contact-split { grid-template-columns: 1fr; }
  .split.flip .split__text { order: 0; }
  .card-grid, .card-grid.two { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pillars, .process, .perks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .row { grid-template-columns: auto 1fr; }
  .row .arrow-link { grid-column: 2; justify-self: start; }
  .hero { min-height: 92svh; }
}
