/* =============================================================
   CENTRE FIRM (PTY) LTD — Strategy. Solutions. Success.
   Palette sampled from the brand key visual: deep navy-black
   canvas, electric blue accent, brushed-silver typography.
   ============================================================= */

/* ---- 1. Tokens ---------------------------------------------- */
:root {
  /* surfaces */
  --ink:      #030711;
  --ink-2:    #060C1A;
  --ink-3:    #0A1526;
  --ink-4:    #0F1E38;

  /* accent */
  --blue:     #2C7BFF;
  --blue-lt:  #6FAEFF;
  --blue-dk:  #0B47C8;
  --cyan:     #63E1FF;

  /* type */
  --txt:      #E8EFFB;
  --txt-2:    #A5B6CF;
  --txt-3:    #6C7E9A;

  /* lines */
  --edge:     rgba(126, 166, 224, .13);
  --edge-2:   rgba(126, 166, 224, .28);

  --glass:    rgba(12, 22, 42, .55);
  --glass-2:  rgba(16, 30, 56, .72);

  --grad-silver: linear-gradient(155deg, #FFF 0%, #CBD8EC 42%, #8497B2 100%);
  --grad-blue:   linear-gradient(120deg, var(--blue-lt) 0%, var(--blue) 48%, var(--blue-dk) 100%);
  --glow-blue:   0 0 0 1px rgba(44,123,255,.28), 0 18px 48px -14px rgba(44,123,255,.55);

  --font-d: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-b: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  --ease:     cubic-bezier(.22, 1, .36, 1);
  --ease-io:  cubic-bezier(.65, 0, .35, 1);

  --shell:    1240px;
  --gutter:   clamp(20px, 4vw, 48px);
  --nav-h:    82px;
  --radius:   18px;
}

/* ---- 2. Reset ----------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.has-lerp { scroll-behavior: auto; }

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-b);
  font-size: clamp(15px, .35vw + 14.2px, 17px);
  line-height: 1.68;
  color: var(--txt-2);
  background-color: var(--ink);
  background-image:
    radial-gradient(1100px 760px at 82% -12%, rgba(44,123,255,.13), transparent 62%),
    radial-gradient(900px 700px at 6% 14%,  rgba(11,71,200,.14),  transparent 60%),
    radial-gradient(1000px 900px at 50% 108%, rgba(44,123,255,.09), transparent 60%);
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-d); color: var(--txt); line-height: 1.06; font-weight: 700; }

::selection { background: rgba(44,123,255,.32); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-lt);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 999;
  padding: 10px 16px; border-radius: 10px;
  background: var(--blue); color: #fff; font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

/* ---- 3. Layout helpers -------------------------------------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  position: relative;
  padding-block: clamp(76px, 8.6vw, 134px);
}
main, .nav, .footer, .marquee { position: relative; z-index: 2; }

.h2 {
  font-size: clamp(2rem, 4.6vw, 3.65rem);
  letter-spacing: -.03em;
  font-weight: 700;
}
.lead {
  font-size: clamp(1.02rem, .6vw + .9rem, 1.22rem);
  color: var(--txt-2);
}
.grad {
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px;
  font-family: var(--font-m);
  font-size: .74rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--txt-3);
}
.kicker span {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 9px;
  background: rgba(44,123,255,.1);
  border: 1px solid var(--edge);
  color: var(--blue-lt); font-size: .7rem; letter-spacing: .04em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  margin: 0 0 26px; padding: 8px 18px 8px 14px;
  border: 1px solid var(--edge); border-radius: 100px;
  background: var(--glass); backdrop-filter: blur(12px);
  font-family: var(--font-m); font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--txt-2);
}
.eyebrow__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--blue-lt);
  box-shadow: 0 0 0 4px rgba(44,123,255,.22);
  animation: pulse 2.4s var(--ease-io) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(44,123,255,.3); }
  50%      { box-shadow: 0 0 0 8px rgba(44,123,255,0); }
}

.sec-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 78px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .kicker { justify-content: center; }
.sec-head__note { margin: 22px 0 0; color: var(--txt-3); max-width: 56ch; }
.sec-head--center .sec-head__note { margin-inline: auto; }

/* ---- 4. Ambient FX ------------------------------------------ */
/* Faint structural grid, always present */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right,  var(--edge) 1px, transparent 1px),
    linear-gradient(to bottom, var(--edge) 1px, transparent 1px);
  background-size: 74px 74px;
  opacity: .34;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}
/* Brighter grid revealed only around the pointer */
.fx-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right,  rgba(111,174,255,.34) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(111,174,255,.34) 1px, transparent 1px);
  background-size: 74px 74px;
  -webkit-mask-image: radial-gradient(430px circle at var(--mx, 50%) var(--my, 40%), #000 0%, rgba(0,0,0,.4) 44%, transparent 72%);
  mask-image: radial-gradient(430px circle at var(--mx, 50%) var(--my, 40%), #000 0%, rgba(0,0,0,.4) 44%, transparent 72%);
}
.fx-grain {
  position: fixed; inset: -150%; z-index: 1; pointer-events: none;
  opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain {
  0%   { transform: translate3d(0,0,0); }
  25%  { transform: translate3d(-3%, 2%, 0); }
  50%  { transform: translate3d(2%, -3%, 0); }
  75%  { transform: translate3d(-2%, -2%, 0); }
  100% { transform: translate3d(0,0,0); }
}
.fx-cursor {
  position: fixed; top: 0; left: 0; z-index: 1;
  width: 380px; height: 380px; margin: -190px 0 0 -190px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(44,123,255,.16) 0%, rgba(44,123,255,.05) 42%, transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  will-change: transform;
}
.fx-cursor.is-on { opacity: 1; }

.scroll-progress {
  position: fixed; inset: 0 0 auto; z-index: 60;
  height: 2px; background: rgba(126,166,224,.09);
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue-dk), var(--blue), var(--cyan));
  box-shadow: 0 0 14px rgba(44,123,255,.8);
}

/* ---- 5. Preloader ------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--ink);
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; }
.loader__mark {
  display: grid; place-items: center; margin: 0 auto 22px;
  width: 84px; height: 84px; border-radius: 22px;
  border: 1px solid var(--edge);
  background: var(--glass);
  animation: floaty 3.4s var(--ease-io) infinite;
}
.loader__mark img { filter: drop-shadow(0 6px 20px rgba(44,123,255,.5)); }
.loader__word {
  font-family: var(--font-d); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .42em; color: var(--txt);
  background: var(--grad-silver);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.loader__bar {
  width: 210px; height: 2px; margin: 20px auto 12px;
  background: rgba(126,166,224,.14); overflow: hidden;
}
.loader__bar span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 12px rgba(44,123,255,.9);
}
.loader__pct { font-family: var(--font-m); font-size: .7rem; letter-spacing: .22em; color: var(--txt-3); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

/* ---- 6. Buttons --------------------------------------------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 100px;
  font-family: var(--font-d); font-size: .93rem; font-weight: 600;
  letter-spacing: .01em; color: var(--txt);
  border: 1px solid var(--edge-2);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), color .35s var(--ease);
}
.btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn span { position: relative; z-index: 2; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--grad-blue);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--grad-blue);
  border-color: transparent; color: #fff;
  box-shadow: var(--glow-blue);
}
.btn--primary::before { background: linear-gradient(120deg, #8CC0FF, var(--blue-lt)); }
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(111,174,255,.5), 0 24px 60px -14px rgba(44,123,255,.8); color: #041024; }

.btn--line { background: rgba(10,21,38,.5); backdrop-filter: blur(10px); }
.btn--line:hover { border-color: rgba(111,174,255,.55); color: #fff; }

.btn--ghost { padding: 12px 22px; font-size: .86rem; background: rgba(10,21,38,.45); }
.btn--ghost:hover { border-color: rgba(111,174,255,.5); color: #fff; }

.btn--full { width: 100%; }

/* ---- 7. Nav ------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 70;
  transition: background .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(4,9,20,.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--edge);
}
.nav.is-hidden { transform: translateY(-102%); }
.nav { transition: transform .55s var(--ease), background .5s var(--ease), backdrop-filter .5s var(--ease), border-color .5s var(--ease); }

.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h);
  transition: height .5s var(--ease);
}
.nav.is-stuck .nav__inner { height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__mark {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px;
  border: 1px solid var(--edge);
  background: linear-gradient(155deg, rgba(44,123,255,.14), rgba(6,12,26,.7));
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.brand:hover .brand__mark {
  transform: rotate(-6deg) scale(1.06);
  border-color: rgba(111,174,255,.5);
  box-shadow: 0 12px 34px -10px rgba(44,123,255,.7);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.06; }
.brand__text strong {
  font-family: var(--font-d); font-size: 1rem; font-weight: 700; letter-spacing: .13em;
  background: var(--grad-silver);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand__text em {
  font-style: normal; font-family: var(--font-m);
  font-size: .58rem; letter-spacing: .34em; color: var(--txt-3);
}

.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  position: relative; padding: 10px 16px; border-radius: 100px;
  font-size: .9rem; font-weight: 500; color: var(--txt-2);
  transition: color .35s var(--ease), background .35s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 1px;
  background: var(--blue-lt); transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: none; }

.nav__actions { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none; width: 46px; height: 46px; border-radius: 13px;
  border: 1px solid var(--edge); background: var(--glass);
  padding: 0; place-items: center;
}
.burger span {
  display: block; width: 19px; height: 1.6px; margin: 3px auto;
  background: var(--txt); border-radius: 2px;
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { transform: translateY(-4.6px) rotate(-45deg); }

/* mobile menu
   `.menu { display:flex }` must not override the HTML `hidden` attribute,
   or the closed menu stays an invisible full-screen hit target and blocks
   the contact form (and everything else under the nav). */
.menu {
  position: fixed; inset: 0; z-index: 65;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
  padding: calc(var(--nav-h) + 30px) var(--gutter) 40px;
  background: rgba(3,7,17,.94);
  backdrop-filter: blur(20px);
  opacity: 0; transition: opacity .45s var(--ease);
  pointer-events: none;
}
.menu[hidden] { display: none !important; }
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu__links { display: flex; flex-direction: column; gap: 4px; }
.menu__links a {
  display: flex; align-items: baseline; gap: 18px;
  padding: 14px 0; border-bottom: 1px solid var(--edge);
  font-family: var(--font-d); font-size: clamp(1.7rem, 8vw, 2.5rem);
  font-weight: 700; letter-spacing: -.02em; color: var(--txt);
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu__links a:nth-child(1) { transition-delay: .06s; }
.menu__links a:nth-child(2) { transition-delay: .12s; }
.menu__links a:nth-child(3) { transition-delay: .18s; }
.menu__links a:nth-child(4) { transition-delay: .24s; }
.menu__links a:nth-child(5) { transition-delay: .30s; }
.menu__links a i {
  font-style: normal; font-family: var(--font-m);
  font-size: .72rem; letter-spacing: .2em; color: var(--blue-lt);
}
.menu__links a:hover { color: var(--blue-lt); }
.menu__foot { font-family: var(--font-m); font-size: .78rem; letter-spacing: .12em; color: var(--txt-3); }
.menu__foot a:hover { color: var(--blue-lt); }

/* ---- 8. Hero ------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: calc(var(--nav-h) + 60px) 120px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .95; }
.hero__glow {
  position: absolute; inset: auto -20% -55% -20%; height: 90%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(44,123,255,.2), transparent 70%);
  filter: blur(30px); pointer-events: none;
}
.hero__skyline {
  position: absolute; inset: auto 0 0; height: 34%;
  background: linear-gradient(to top, rgba(3,7,17,.96) 12%, rgba(3,7,17,0) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.04fr .96fr;
  align-items: center; gap: clamp(36px, 5vw, 72px);
}

.hero__title {
  margin: 0 0 30px;
  font-size: clamp(2.7rem, 7.4vw, 5.6rem);
  font-weight: 800; letter-spacing: -.045em; line-height: .96;
}
.hero__title .line { display: block; }
.hero__title .line:not(.line--accent) {
  background: var(--grad-silver);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__title .line--accent {
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 34px rgba(44,123,255,.42));
}

.hero__lead { max-width: 46ch; font-size: clamp(1.02rem, .55vw + .92rem, 1.2rem); }
.hero__lead b { color: var(--blue-lt); font-weight: 600; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.hero__facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--edge);
  border: 1px solid var(--edge); border-radius: 14px; overflow: hidden;
  max-width: 540px;
}
.hero__facts > div { padding: 16px 18px; background: rgba(6,12,26,.6); backdrop-filter: blur(8px); }
.hero__facts dt {
  font-family: var(--font-m); font-size: .64rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--blue-lt); margin-bottom: 5px;
}
.hero__facts dd { font-size: .88rem; color: var(--txt-2); }

/* floating console */
.hero__visual { position: relative; display: grid; place-items: center; }
.ring {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1px solid var(--edge);
}
.ring--1 { width: 118%; aspect-ratio: 1; animation: spin 26s linear infinite; border-style: dashed; }
.ring--2 {
  width: 88%; aspect-ratio: 1; animation: spin 18s linear infinite reverse;
  border-color: rgba(44,123,255,.2);
  box-shadow: inset 0 0 60px rgba(44,123,255,.09);
}
@keyframes spin { to { transform: rotate(360deg); } }

.console {
  position: relative; width: 100%; max-width: 480px;
  border: 1px solid var(--edge-2); border-radius: 20px;
  background: linear-gradient(160deg, rgba(18,34,62,.86), rgba(6,12,26,.9));
  backdrop-filter: blur(20px);
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(126,166,224,.06) inset;
  overflow: hidden;
  transform-style: preserve-3d;
}
.console::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(150deg, rgba(255,255,255,.09), transparent 42%);
}
.console__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 16px; border-bottom: 1px solid var(--edge);
  background: rgba(4,9,20,.5);
}
.console__bar .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(126,166,224,.28); }
.console__bar .dot:first-child { background: var(--blue); box-shadow: 0 0 10px rgba(44,123,255,.9); }
.console__bar p {
  margin: 0 0 0 8px; font-family: var(--font-m);
  font-size: .66rem; letter-spacing: .1em; color: var(--txt-3);
}
.console__body { padding: 22px; }
.console__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 6px; }
.console__label {
  display: block; font-family: var(--font-m); font-size: .64rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--txt-3); margin-bottom: 4px;
}
.console__big {
  display: block; font-family: var(--font-d); font-size: 2.15rem;
  font-weight: 700; letter-spacing: -.03em; color: var(--txt);
}
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 100px;
  border: 1px solid rgba(44,123,255,.3);
  background: rgba(44,123,255,.12);
  font-family: var(--font-m); font-size: .62rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue-lt);
}
.chip svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.console__line { width: 100%; height: 96px; margin: 4px 0 18px; }
.console__stroke {
  stroke: var(--blue-lt); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(44,123,255,.85));
  stroke-dasharray: 420; stroke-dashoffset: 420;
  animation: draw 2.6s var(--ease) .4s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.console__bars {
  display: grid; grid-template-columns: repeat(8, 1fr);
  align-items: end; gap: 7px; height: 68px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--edge);
}
.console__bars i {
  display: block; height: var(--h); border-radius: 4px 4px 2px 2px;
  background: linear-gradient(to top, rgba(44,123,255,.2), var(--blue));
  transform-origin: bottom; transform: scaleY(0);
  animation: rise .9s var(--ease) forwards;
}
.console__bars i:nth-child(1) { animation-delay: .5s; }
.console__bars i:nth-child(2) { animation-delay: .58s; }
.console__bars i:nth-child(3) { animation-delay: .66s; }
.console__bars i:nth-child(4) { animation-delay: .74s; }
.console__bars i:nth-child(5) { animation-delay: .82s; }
.console__bars i:nth-child(6) { animation-delay: .90s; }
.console__bars i:nth-child(7) { animation-delay: .98s; }
.console__bars i:nth-child(8) { animation-delay: 1.06s; box-shadow: 0 0 18px rgba(44,123,255,.8); }
@keyframes rise { to { transform: scaleY(1); } }

.console__foot { display: flex; justify-content: space-between; gap: 12px; }
.console__foot span { display: flex; flex-direction: column; gap: 3px; }
.console__foot em {
  font-style: normal; font-family: var(--font-m); font-size: .58rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--txt-3);
}
.console__foot b { font-family: var(--font-d); font-size: .84rem; color: var(--txt); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  transform: translateX(-50%);
}
.hero__scroll-line {
  width: 1px; height: 52px; overflow: hidden;
  background: rgba(126,166,224,.18); position: relative;
}
.hero__scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent, var(--blue-lt));
  animation: trickle 2s var(--ease-io) infinite;
}
@keyframes trickle {
  0%   { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
.hero__scroll-text {
  font-family: var(--font-m); font-size: .58rem;
  letter-spacing: .34em; color: var(--txt-3);
}
.hero__scroll:hover .hero__scroll-text { color: var(--blue-lt); }

/* ---- 9. Marquee --------------------------------------------- */
.marquee {
  border-block: 1px solid var(--edge);
  background: rgba(6,12,26,.6);
  backdrop-filter: blur(10px);
  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; width: max-content; will-change: transform; }
.marquee__group {
  display: flex; align-items: center; gap: 26px;
  padding: 20px 26px 20px 0; flex: none;
}
.marquee__group span {
  font-family: var(--font-d); font-size: clamp(.95rem, 1.5vw, 1.25rem);
  font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  color: rgba(232,239,251,.5);
}
.marquee__group i {
  width: 7px; height: 7px; flex: none; border-radius: 2px;
  background: var(--blue); transform: rotate(45deg);
  box-shadow: 0 0 12px rgba(44,123,255,.9);
}

/* ---- 10. About ---------------------------------------------- */
.about__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.about__copy p:last-of-type { color: var(--txt-3); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pills li {
  padding: 9px 18px; border-radius: 100px;
  border: 1px solid var(--edge); background: rgba(10,21,38,.5);
  font-family: var(--font-m); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--txt-2);
  transition: border-color .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.pills li:hover { border-color: rgba(111,174,255,.5); color: #fff; transform: translateY(-3px); }

.about__visual { position: relative; }
.frame {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--edge-2);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.95);
}
.frame img { width: 100%; }

/* ---- 10b. Web + app + marketing composite -------------------
   Replaces the old key-visual image. Everything is sized in `cqw`
   against the .mock container, so it scales as one piece.
   ------------------------------------------------------------- */
.mock {
  container-type: inline-size;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 6%, rgba(44,123,255,.22), transparent 58%),
    linear-gradient(165deg, #0C1A32, #040914);
}
.mock::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right,  rgba(126,166,224,.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(126,166,224,.09) 1px, transparent 1px);
  background-size: 9cqw 9cqw;
}

/* browser window */
.mock__win {
  position: absolute; z-index: 1; top: 7%; left: 5%; width: 76%;
  border-radius: 2.4cqw; overflow: hidden;
  border: 1px solid var(--edge-2);
  background: linear-gradient(165deg, rgba(18,34,62,.97), rgba(6,12,26,.99));
  box-shadow: 0 26px 54px -18px rgba(0,0,0,.9);
}
.mock__chrome {
  display: flex; align-items: center; gap: .9cqw;
  padding: 1.9cqw 2.6cqw; border-bottom: 1px solid var(--edge);
  background: rgba(4,9,20,.7);
}
.mock__chrome span { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: rgba(126,166,224,.3); }
.mock__chrome span:first-child { background: var(--blue); }
.mock__chrome p {
  margin: 0 0 0 1.4cqw; padding: .5cqw 2.4cqw;
  border-radius: 100px; background: rgba(126,166,224,.09);
  font-family: var(--font-m); font-size: 1.75cqw; color: var(--txt-3);
}
.mock__page { padding: 3cqw 3.4cqw 3.6cqw; }
.mock__nav { display: flex; align-items: center; gap: 1.6cqw; margin-bottom: 3.4cqw; }
.mock__nav i { width: 5.4cqw; height: 1cqw; border-radius: 100px; background: rgba(126,166,224,.2); }
.mock__nav i.is-cta {
  width: 8.4cqw; height: 2.8cqw; margin-left: auto;
  background: rgba(44,123,255,.5); border-radius: 100px;
}
.mock__h {
  display: block; font-family: var(--font-d); font-weight: 800;
  font-size: 5.4cqw; line-height: 1.04; letter-spacing: -.04em;
  background: var(--grad-silver);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mock__h--accent { background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; }
.mock__line {
  display: block; height: .85cqw; margin-top: 2.2cqw;
  border-radius: 100px; background: rgba(126,166,224,.16);
}
.mock__line--short { width: 58%; margin-top: 1.3cqw; }
.mock__btn {
  display: inline-block; margin-top: 3cqw; padding: 1.5cqw 3.6cqw;
  border-radius: 100px; background: var(--grad-blue); color: #fff;
  font-family: var(--font-d); font-weight: 600; font-size: 2cqw;
  box-shadow: 0 10px 22px -8px rgba(44,123,255,.9);
}
.mock__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; margin-top: 3.6cqw; }
.mock__tiles i {
  height: 7cqw; border-radius: 1.4cqw;
  border: 1px solid var(--edge); background: rgba(126,166,224,.05);
}

/* phone */
/* Kept clear of the bottom edge so the floating badge never clips it */
.mock__phone {
  position: absolute; z-index: 3; right: 4.5%; bottom: 15%;
  width: 26%; aspect-ratio: 1 / 2.02;
  padding: 1cqw; border-radius: 4cqw;
  border: 1px solid rgba(111,174,255,.34);
  background: linear-gradient(165deg, #16294A, #050B18);
  box-shadow: 0 30px 60px -18px rgba(0,0,0,.95);
}
.mock__notch {
  position: absolute; z-index: 2; top: 2cqw; left: 50%; transform: translateX(-50%);
  width: 26%; height: .85cqw; border-radius: 100px; background: rgba(126,166,224,.32);
}
.mock__app {
  display: flex; flex-direction: column; height: 100%;
  padding: 4.2cqw 2.4cqw 2.4cqw; border-radius: 3.2cqw;
  background: rgba(4,9,20,.92);
}
.mock__appttl {
  margin: 0 0 1.8cqw; font-family: var(--font-m); font-size: 1.5cqw;
  letter-spacing: .16em; text-transform: uppercase; color: var(--txt-3);
}
.mock__stat {
  padding: 2cqw; border-radius: 2cqw;
  border: 1px solid rgba(111,174,255,.24);
  background: linear-gradient(150deg, rgba(44,123,255,.3), rgba(6,12,26,.6));
}
.mock__stat b {
  display: block; font-family: var(--font-d); font-weight: 700;
  font-size: 3.4cqw; letter-spacing: -.03em; color: var(--txt);
}
.mock__stat em {
  font-style: normal; font-family: var(--font-m); font-size: 1.3cqw;
  letter-spacing: .1em; color: var(--blue-lt);
}
.mock__rows { display: grid; gap: 1.3cqw; margin-top: 2cqw; }
.mock__rows i {
  height: 3.2cqw; border-radius: 1.1cqw;
  border: 1px solid var(--edge); background: rgba(126,166,224,.07);
}
.mock__tabs {
  display: flex; gap: 1.4cqw; margin-top: auto;
  padding-top: 2cqw; border-top: 1px solid var(--edge);
}
.mock__tabs i { flex: 1; height: 1.2cqw; border-radius: 100px; background: rgba(126,166,224,.18); }
.mock__tabs i.is-on { background: var(--blue); box-shadow: 0 0 10px rgba(44,123,255,.9); }

/* marketing metric card */
.mock__metric {
  position: absolute; z-index: 2; left: 6.5%; bottom: 15%; width: 45%;
  padding: 2.4cqw 2.8cqw; border-radius: 2.4cqw;
  border: 1px solid rgba(111,174,255,.28);
  background: rgba(8,16,32,.9); backdrop-filter: blur(8px);
  box-shadow: 0 22px 46px -16px rgba(0,0,0,.9);
}
.mock__metric em {
  display: block; margin-bottom: 1.4cqw; font-style: normal;
  font-family: var(--font-m); font-size: 1.55cqw;
  letter-spacing: .14em; text-transform: uppercase; color: var(--txt-3);
}
.mock__metric svg { width: 100%; height: 6cqw; }
.mock__metric polyline {
  fill: none; stroke: var(--blue-lt); stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 5px rgba(44,123,255,.95));
}

.frame__bracket {
  position: absolute; width: 34px; height: 34px; z-index: 3;
  border-color: var(--blue-lt);
}
.frame__bracket--tl { top: 12px; left: 12px; border-top: 2px solid; border-left: 2px solid; }
.frame__bracket--br { bottom: 12px; right: 12px; border-bottom: 2px solid; border-right: 2px solid; }
.frame__sweep {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(111,174,255,.14) 50%, transparent 62%);
  background-size: 280% 100%; background-position: 200% 0;
  animation: sweep 5.5s var(--ease-io) infinite;
}
@keyframes sweep { 0% { background-position: 200% 0; } 55%, 100% { background-position: -80% 0; } }

.badge-float {
  position: absolute; right: -14px; bottom: -26px; z-index: 4;
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 22px; border-radius: 14px;
  border: 1px solid rgba(111,174,255,.3);
  background: rgba(8,16,32,.86); backdrop-filter: blur(16px);
  box-shadow: 0 26px 60px -22px rgba(0,0,0,.95);
}
.badge-float strong {
  font-family: var(--font-d); font-size: .84rem; letter-spacing: .07em; color: var(--txt);
}
.badge-float em {
  font-style: normal; font-family: var(--font-m); font-size: .6rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-lt);
}

/* ---- 11. Service cards -------------------------------------- */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 20px;
}
.card {
  position: relative; isolation: isolate;
  padding: 34px 28px 30px; border-radius: var(--radius);
  border: 1px solid var(--edge);
  background: linear-gradient(165deg, rgba(15,30,56,.55), rgba(6,12,26,.72));
  backdrop-filter: blur(14px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(340px circle at var(--sx, 50%) var(--sy, 0%), rgba(44,123,255,.17), transparent 68%);
  transition: opacity .5s var(--ease);
}
.card:hover { border-color: rgba(111,174,255,.42); box-shadow: 0 40px 80px -34px rgba(0,0,0,.9); }
.card:hover::before { opacity: 1; }
.card::after {
  content: ""; position: absolute; inset: auto 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-lt), transparent);
  transform: scaleX(0); transition: transform .6s var(--ease);
}
.card:hover::after { transform: none; }

.card__no {
  position: absolute; top: 24px; right: 24px;
  font-family: var(--font-m); font-size: .68rem; letter-spacing: .18em; color: var(--txt-3);
}
.card__icon {
  display: grid; place-items: center; margin-bottom: 22px;
  width: 52px; height: 52px; border-radius: 15px;
  border: 1px solid var(--edge);
  background: linear-gradient(155deg, rgba(44,123,255,.16), rgba(6,12,26,.5));
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.card__icon svg {
  width: 23px; height: 23px; fill: none; stroke: var(--blue-lt);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.card:hover .card__icon {
  transform: translateY(-4px) scale(1.06);
  border-color: rgba(111,174,255,.5);
  box-shadow: 0 14px 34px -12px rgba(44,123,255,.8);
}
.card h3 { font-size: 1.2rem; letter-spacing: -.015em; margin-bottom: 12px; line-height: 1.24; }
.card p { font-size: .94rem; color: var(--txt-2); margin-bottom: 18px; }
.card ul { display: grid; gap: 8px; padding-top: 18px; border-top: 1px solid var(--edge); }
.card ul li {
  position: relative; padding-left: 18px;
  font-size: .85rem; color: var(--txt-3);
}
.card ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 2px;
  background: var(--blue); transform: rotate(45deg); opacity: .7;
}
.card__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 22px;
  font-family: var(--font-m); font-size: .68rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue-lt);
  opacity: 0; transform: translateY(6px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.card__more svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card:hover .card__more { opacity: 1; transform: none; }

/* ---- 12. Process (pinned horizontal) ------------------------ */
.process { position: relative; height: 460vh; }
.process__sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(28px, 4vw, 52px);
  overflow: hidden;
}
.process__head { flex: none; }
.process__head .h2 { max-width: 18ch; }
.process__rail {
  position: relative; height: 2px; margin-top: 26px;
  max-width: 260px; background: rgba(126,166,224,.14); overflow: hidden;
}
.process__rail span {
  position: absolute; inset: 0 auto 0 0; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 12px rgba(44,123,255,.9);
}

.process__viewport { overflow: hidden; }
.process__track {
  display: flex; gap: 22px; width: max-content;
  /* Align the first card with the section heading, but never past the gutter */
  padding-left: max(var(--gutter), calc((100vw - var(--shell)) / 2 + var(--gutter)));
  padding-right: var(--gutter);
  transform: translate3d(var(--hx, 0px), 0, 0);
  will-change: transform;
}
.step {
  position: relative; flex: none;
  width: clamp(260px, 32vw, 372px);
  padding: 34px 30px;
  border-radius: var(--radius); border: 1px solid var(--edge);
  background: linear-gradient(165deg, rgba(15,30,56,.6), rgba(6,12,26,.78));
  backdrop-filter: blur(14px);
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.step:hover { border-color: rgba(111,174,255,.4); transform: translateY(-6px); }
.step__no {
  display: block; margin-bottom: 20px;
  font-family: var(--font-d); font-size: 2.6rem; font-weight: 800;
  letter-spacing: -.05em; line-height: 1;
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .95;
}
.step h3 { font-size: 1.42rem; letter-spacing: -.02em; margin-bottom: 12px; }
.step p { font-size: .93rem; margin-bottom: 20px; }
.step ul { display: grid; gap: 9px; padding-top: 18px; border-top: 1px solid var(--edge); }
.step ul li {
  position: relative; padding-left: 20px; font-size: .84rem; color: var(--txt-3);
}
.step ul li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 1.5px; background: var(--blue-lt);
}
.step--cta {
  display: flex; flex-direction: column; justify-content: center;
  border-color: rgba(44,123,255,.35);
  background: linear-gradient(150deg, rgba(44,123,255,.2), rgba(6,12,26,.85));
  box-shadow: 0 0 0 1px rgba(44,123,255,.12), 0 40px 90px -34px rgba(44,123,255,.5);
}
.step--cta h3 { font-size: 1.9rem; margin-bottom: 10px; }
.step--cta p { margin-bottom: 26px; }
.step--cta .btn { align-self: flex-start; }

/* ---- 13. Stats ---------------------------------------------- */
.stats-sec { padding-block: clamp(60px, 7vw, 96px); }
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px; background: var(--edge);
  border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden;
}
.stat {
  padding: clamp(26px, 3.4vw, 40px) 26px;
  background: rgba(6,12,26,.6); backdrop-filter: blur(10px);
  text-align: center;
  transition: background .5s var(--ease);
}
.stat:hover { background: rgba(15,30,56,.75); }
.stat strong {
  display: block; margin-bottom: 8px;
  font-family: var(--font-d); font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  font-weight: 800; letter-spacing: -.045em; line-height: 1;
  background: var(--grad-silver);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span {
  font-family: var(--font-m); font-size: .66rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--txt-3);
}

/* ---- 14. Why us --------------------------------------------- */
.why__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.why__item {
  position: relative; isolation: isolate;
  padding: 32px 26px; border-radius: var(--radius);
  border: 1px solid var(--edge);
  background: rgba(6,12,26,.5); backdrop-filter: blur(12px);
  overflow: hidden;
  transition: border-color .5s var(--ease), transform .5s var(--ease);
}
.why__item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(300px circle at var(--sx, 50%) var(--sy, 0%), rgba(44,123,255,.15), transparent 70%);
  transition: opacity .5s var(--ease);
}
.why__item:hover { border-color: rgba(111,174,255,.38); transform: translateY(-5px); }
.why__item:hover::before { opacity: 1; }
.why__icon {
  display: grid; place-items: center; margin-bottom: 20px;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(111,174,255,.28);
  background: rgba(44,123,255,.1);
}
.why__icon svg {
  width: 22px; height: 22px; fill: none; stroke: var(--blue-lt);
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.why__item h3 { font-size: 1.08rem; margin-bottom: 10px; letter-spacing: -.01em; }
.why__item p { font-size: .9rem; color: var(--txt-3); margin: 0; }

/* ---- 15. Contact -------------------------------------------- */
.contact { overflow: hidden; }
.contact__aura {
  position: absolute; left: 50%; top: 0; width: 130%; aspect-ratio: 2/1;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(44,123,255,.16), transparent 68%);
  pointer-events: none;
}
.contact__grid {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 76px); align-items: start;
}

.wa {
  display: flex; align-items: center; gap: 16px;
  margin: 30px 0 34px; padding: 18px 24px;
  border-radius: 100px; border: 1px solid rgba(37,211,102,.32);
  background: linear-gradient(120deg, rgba(37,211,102,.14), rgba(6,12,26,.6));
  backdrop-filter: blur(14px);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.wa:hover {
  transform: translateY(-3px);
  border-color: rgba(37,211,102,.6);
  box-shadow: 0 24px 56px -22px rgba(37,211,102,.6);
}
.wa__icon {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: #25D366; color: #04220E;
  box-shadow: 0 0 24px rgba(37,211,102,.55);
}
.wa__icon svg { width: 25px; height: 25px; }
.wa__text { display: flex; flex-direction: column; gap: 2px; }
.wa__text em {
  font-style: normal; font-family: var(--font-m); font-size: .62rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--txt-3);
}
.wa__text strong { font-family: var(--font-d); font-size: 1.22rem; letter-spacing: .01em; color: var(--txt); }
.wa__arrow {
  width: 20px; height: 20px; margin-left: auto; flex: none;
  fill: none; stroke: var(--txt-2); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .5s var(--ease);
}
.wa:hover .wa__arrow { transform: translateX(5px); }

.contact__meta { display: grid; gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; }
.contact__meta li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px;
  padding: 15px 20px; background: rgba(6,12,26,.6);
}
.contact__meta em {
  font-style: normal; flex: none; min-width: 76px;
  font-family: var(--font-m); font-size: .62rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--txt-3);
}
.contact__meta a, .contact__meta span { font-size: .92rem; color: var(--txt-2); }
.contact__meta a:hover { color: var(--blue-lt); }

.form {
  padding: clamp(26px, 3.4vw, 40px); border-radius: var(--radius);
  border: 1px solid var(--edge-2);
  background: linear-gradient(165deg, rgba(15,30,56,.62), rgba(6,12,26,.85));
  backdrop-filter: blur(20px);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.95);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-m); font-size: .62rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--txt-3);
}
.field input, .field textarea, .select select {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--edge); background: rgba(3,7,17,.6);
  color: var(--txt); font-size: .94rem; font-family: var(--font-b);
  transition: border-color .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder, .field textarea::placeholder { color: #4E5F79; }
.field input:focus, .field textarea:focus, .select select:focus {
  outline: none; border-color: rgba(111,174,255,.55);
  background: rgba(10,21,38,.75);
  box-shadow: 0 0 0 4px rgba(44,123,255,.14);
}
.field__opt {
  font-family: var(--font-b); font-size: .68rem;
  letter-spacing: 0; text-transform: none; color: #4E5F79;
}
.field__err { display: none; font-size: .74rem; line-height: 1.4; color: #FF8E8E; }
.field.has-error .field__err { display: block; }
.field.has-error input,
.field.has-error textarea { border-color: rgba(255,110,110,.6); }

/* Spam trap — off-screen but still submitted, so bots fill it in */
.form__hp {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; border: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.btn__label, .btn > svg { transition: opacity .25s var(--ease); }
.btn__spin {
  position: absolute; z-index: 3; top: 50%; left: 50%;
  width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2px solid rgba(255,255,255,.32);
  border-top-color: #fff; border-radius: 50%;
  opacity: 0; animation: spin .7s linear infinite;
}
.btn.is-busy { pointer-events: none; }
.btn.is-busy .btn__label, .btn.is-busy > svg { opacity: 0; }
.btn.is-busy .btn__spin { opacity: 1; }

.form__alt {
  display: inline-block; margin-top: 4px; color: var(--blue-lt);
  text-decoration: underline; text-underline-offset: 3px;
}
.form__alt:hover { color: #fff; }

.select { position: relative; }
.select select { appearance: none; padding-right: 44px; cursor: pointer; }
.select svg {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; pointer-events: none;
  fill: none; stroke: var(--txt-3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.select select option { background: var(--ink-3); color: var(--txt); }

.form__note {
  margin: 16px 0 0; text-align: center;
  font-size: .78rem; color: var(--txt-3);
}
.form__note.is-error { color: #FF8E8E; }
.form__note.is-ok { color: #7BE6A8; }

/* ---- 16. Footer --------------------------------------------- */
.footer {
  position: relative; overflow: hidden;
  padding-top: clamp(60px, 7vw, 96px);
  border-top: 1px solid var(--edge);
  background: linear-gradient(to bottom, rgba(6,12,26,.5), rgba(3,7,17,.9));
}
.footer__top {
  display: grid; grid-template-columns: 1.1fr 1.6fr;
  gap: clamp(34px, 5vw, 70px);
  padding-bottom: 54px;
}
.footer__brand p { max-width: 34ch; font-size: .92rem; color: var(--txt-3); margin-top: 20px; }
.footer__tag {
  max-width: none;
  font-family: var(--font-m) !important; font-size: .64rem !important;
  letter-spacing: .2em; color: var(--blue-lt) !important;
  white-space: nowrap;
}
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer__cols h4 {
  margin-bottom: 16px; font-family: var(--font-m); font-size: .64rem;
  font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--txt-3);
}
.footer__cols a {
  display: block; padding: 6px 0; font-size: .9rem; color: var(--txt-2);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.footer__cols a:hover { color: var(--blue-lt); transform: translateX(4px); }

.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding: 24px 0 30px; border-top: 1px solid var(--edge);
}
.footer__bottom p { margin: 0; font-size: .8rem; color: var(--txt-3); }
.to-top {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-m); font-size: .66rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--txt-2);
}
.to-top svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.to-top:hover { color: var(--blue-lt); }
.to-top:hover svg { transform: translateY(-4px); }

.footer__wordmark {
  position: relative;
  margin: 0 0 -.24em;
  font-family: var(--font-d); font-weight: 800;
  font-size: clamp(3.4rem, 15vw, 13rem);
  letter-spacing: -.045em; line-height: .8; text-align: center;
  white-space: nowrap;
  background: linear-gradient(to bottom, rgba(126,166,224,.11), rgba(126,166,224,0) 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  pointer-events: none; user-select: none;
}

/* ---- 17. Scroll animation primitives ------------------------
   One composed transform, driven entirely by custom properties, so
   parallax (--py), reveal (--ry/--rs) and tilt (--tx/--ty) can all
   act on the same element without fighting over `transform`.
   Magnetic buttons use the independent `translate` property.
   ------------------------------------------------------------- */
[data-parallax], [data-reveal], [data-tilt] {
  transform:
    translate3d(0, calc(var(--py, 0px) + var(--ry, 0px)), 0)
    scale(var(--rs, 1))
    perspective(1100px)
    rotateX(var(--tx, 0deg))
    rotateY(var(--ty, 0deg));
  will-change: transform;
}
[data-tilt] { transition: transform .45s var(--ease); }
[data-tilt].is-tilting { transition: none; }

[data-reveal] {
  --ry: 34px;
  --rs: .984;
  opacity: 0;
  filter: blur(7px);
  transition: opacity .85s var(--ease), transform 1.05s var(--ease), filter .85s var(--ease);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].is-in { --ry: 0px; --rs: 1; opacity: 1; filter: blur(0); }

/* Once the reveal has landed, shorten the transition so hover states stay
   snappy — and for parallax elements drop it entirely so per-frame
   updates never interpolate. */
[data-reveal].is-settled {
  transition: opacity .4s var(--ease), transform .45s var(--ease);
  will-change: auto;
}
[data-reveal][data-parallax].is-settled { transition: opacity .4s var(--ease); }

/* ---- 18. Responsive ----------------------------------------- */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; gap: 54px; }
  .hero__visual { order: 2; max-width: 480px; }
  .hero { padding-block: calc(var(--nav-h) + 44px) 96px; }
  .about__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 560px; }
  .footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: grid; }
  .hero__facts { grid-template-columns: 1fr; max-width: none; }
  .form__row { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .badge-float { right: 8px; bottom: -20px; }

  /* Process falls back to a natural vertical stack on small screens */
  .process { height: auto; }
  .process__sticky {
    position: static; height: auto;
    padding-block: clamp(76px, 8.6vw, 134px);
  }
  .process__viewport { overflow: visible; }
  .process__track {
    flex-direction: column; width: 100%;
    transform: none !important;
    padding-left: 0; padding-right: 0;
  }
  .process__head { padding-inline: 0; }
  .process__viewport, .process__head { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
  .step { width: 100%; }
  .process__rail { display: none; }
}

@media (max-width: 560px) {
  .footer__cols { grid-template-columns: 1fr; }
  .contact__meta em { min-width: 100%; }
  .wa { padding: 15px 18px; gap: 13px; }
  .wa__text strong { font-size: 1.06rem; }
  .btn { padding: 14px 22px; font-size: .88rem; }
}

/* Touch / no-hover devices: skip the cursor spotlight entirely */
@media (hover: none) {
  .fx-cursor, .fx-grid { display: none; }
  .card__more { opacity: 1; transform: none; }
}

/* ---- 19. Reduced motion ------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  [data-parallax] { transform: none; }
  .fx-grain, .fx-cursor, .frame__sweep { display: none; }
  .process { height: auto; }
  .process__sticky { position: static; height: auto; padding-block: 96px; }
  .process__viewport { overflow-x: auto; }
  .process__track { transform: none !important; }
}
