/* =====================================================================
   SBR INNOVATIVE
   Motion contract — JS writes only these custom properties:
     --p          hero pin progress (0 → 1), eased
     --mx / --my  pointer parallax (-1 → 1)
     --sp         page scroll fraction (0 → 1)
     --py         per-element parallax, on [data-speed]
     --d          card depth in the testimonial deck
     --travel     scroll distance of a portfolio screenshot, in px
     --mgx/--mgy  magnetic button offset
     --rx/--ry    service card tilt

   PERFORMANCE RULE: anything driven by --p must never carry a CSS
   transition, and must never change layout. Scroll-driven values use
   clip-path / transform / opacity only. Pointer-driven values live on
   separate wrapper elements so their easing can't fight the scroll.
   ===================================================================== */

:root{
  --p:0; --mx:0; --my:0; --sp:0;

  --brand:#5400e9;
  --brand-hi:#6a1fff;
  --brand-soft:#a97bff;
  --brand-dim:rgba(84,0,233,.16);

  --lav:#e6e5f7;
  --bg-light:#000000;
  --bg-dark:#000000;
  --ink:#0d0b1a;

  --fg:#fff;
  --text:rgba(255,255,255,.72);
  --text-dim:rgba(255,255,255,.5);
  --line:rgba(255,255,255,.09);
  --line-2:rgba(255,255,255,.16);
  --surface:rgba(255,255,255,.035);
  --surface-2:rgba(255,255,255,.06);
  --accent:var(--brand-soft);
  --menu-bg:#12102a;

  --header-h:104px;
  --pad-y:50px;
  --pad-x:clamp(20px, 5vw, 80px);
  --max:1320px;

  --display:"Montserrat", ui-sans-serif, system-ui, sans-serif;
  --body:"Roboto", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono:"JetBrains Mono", ui-monospace, "SF Mono", monospace;
  --ease:cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0; font-family:var(--body);
  background:var(--bg-light); color:var(--ink);
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img,svg{ display:block; max-width:100%; }

.page-veil{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background:radial-gradient(120% 80% at 50% -6%, #140a2e 0%, transparent 58%), var(--bg-dark);
  opacity:var(--p);
}
.scroll-bar{ position:fixed; top:0; left:0; right:0; height:2px; z-index:90; pointer-events:none; }
.scroll-bar span{
  display:block; height:100%; transform-origin:left; transform:scaleX(var(--sp));
  background:linear-gradient(90deg, var(--brand), var(--brand-soft));
}

/* ═════════════════════════ LIGHT PANELS ═════════════════════════ */

.panel--light, .pop__form, .ctaband--light .ctaband__inner{
  --fg:#151033;
  --text:rgba(21,16,51,.72);
  --text-dim:rgba(21,16,51,.52);
  --line:rgba(21,16,51,.1);
  --line-2:rgba(21,16,51,.18);
  --surface:rgba(255,255,255,.62);
  --surface-2:#fff;
  --accent:var(--brand);
  --menu-bg:#fff;
  background:var(--lav);
  color:var(--fg);
}
.panel--light{ box-shadow:0 40px 90px -50px rgba(20,4,70,.9); }

/* ═════════════════════════ SHARED PIECES ═════════════════════════ */

.section{ position:relative; z-index:1; padding:var(--pad-y) var(--pad-x); color:var(--fg); }
.section > *{ max-width:var(--max); margin-inline:auto; }
/* 6. section headers run down the centre of the page */
.section__head{ margin-bottom:clamp(28px, 4vh, 44px); text-align:center; }
.section__head .eyebrow{ justify-content:center; }
.section__head .section__title,
.section__head .section__lede{ margin-inline:auto; }

.eyebrow{
  display:flex; align-items:center; gap:10px; margin:0 0 18px;
  font-family:var(--display); font-size:11px; font-weight:600;
  letter-spacing:.28em; text-transform:uppercase; color:var(--accent);
}
.eyebrow i{ width:6px; height:6px; border-radius:50%; background:var(--accent); box-shadow:0 0 12px var(--accent); }

.section__title{
  margin:0; font-family:var(--display);
  font-size:clamp(27px, 3.9vw, 53px); font-weight:700;
  line-height:1.08; letter-spacing:-.018em; max-width:20ch; color:var(--fg);
}
.section__lede{ margin:20px 0 0; max-width:62ch; font-size:clamp(15px, 1.15vw, 17px); line-height:1.65; color:var(--text); }

.split{ opacity:1 !important; transform:none !important; }
.split .w{ display:inline-block; overflow:hidden; padding-bottom:.14em; margin-bottom:-.14em; vertical-align:bottom; }
.split .w > i{
  display:inline-block; font-style:normal; transform:translateY(108%);
  transition:transform .95s var(--ease); transition-delay:calc(var(--w) * 55ms);
}
.split.in .w > i{ transform:none; }

.rule{ display:block; width:56px; height:3px; border-radius:3px; background:var(--brand); }

/* ---------- buttons: one shape, three weights ---------- */
.cta{
  position:relative; isolation:isolate; overflow:hidden;
  display:inline-flex; align-items:center; gap:0;
  border:0; padding:0; cursor:pointer;
  font-family:var(--body); text-decoration:none;
  border-radius:12px; background:var(--brand); color:#fff;
  box-shadow:0 10px 26px -14px rgba(84,0,233,.95);
  transition:transform .32s var(--ease), box-shadow .32s ease;
}
.cta::before{
  content:""; position:absolute; inset:0; z-index:-1; opacity:0;
  background:linear-gradient(100deg, #6a1fff 0%, #8b45ff 100%);
  transition:opacity .32s ease;
}
.cta:hover{ transform:translateY(-2px); box-shadow:0 20px 38px -16px rgba(106,31,255,1); }
.cta:hover::before{ opacity:1; }
.cta__label{
  display:grid; place-items:center;
  min-height:56px; padding:0 6px 0 28px;
  font-size:16px; font-weight:600; white-space:nowrap;
}
.cta__arrow{
  display:grid; place-items:center;
  min-height:56px; padding:0 24px 0 10px;
}
.cta__arrow svg{
  width:18px; height:18px; fill:none; stroke:currentColor;
  stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
  transition:transform .35s var(--ease);
}
.cta:hover .cta__arrow svg{ transform:translateX(3px); }
.cta:disabled{ opacity:.55; cursor:default; transform:none; box-shadow:none; }

/* understated text action, used beside a primary button */
.ghost{
  display:inline-flex; align-items:center; gap:9px;
  min-height:56px; padding:0 6px;
  color:var(--text); text-decoration:none;
  font-size:15.5px; font-weight:500;
  transition:color .3s ease;
}
.ghost svg{ width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; transition:transform .3s var(--ease); }
.ghost:hover{ color:var(--fg); }
.ghost:hover svg{ transform:translateX(5px); }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:11px;
  min-height:56px; padding:0 26px;
  border-radius:12px; border:1px solid transparent;
  background:var(--brand); color:#fff;
  text-decoration:none; font-family:var(--body);
  font-size:15.5px; font-weight:600; white-space:nowrap;
  box-shadow:0 10px 26px -14px rgba(84,0,233,.95);
  transition:background .28s ease, transform .32s var(--ease), box-shadow .32s ease, border-color .28s ease, color .28s ease;
}
.btn svg{ width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .32s var(--ease); }
.btn:hover{ background:var(--brand-hi); transform:translateY(-2px); box-shadow:0 20px 38px -16px rgba(106,31,255,1); }
.btn:hover svg{ transform:translateX(4px); }
.ind__body .btn{ margin-top:28px; }

.btn--outline{
  background:transparent; color:var(--fg);
  border-color:var(--line-2); box-shadow:none;
}
.btn--outline:hover{ background:rgba(255,255,255,.06); border-color:var(--accent); box-shadow:none; }

.magnetic{ transform:translate(var(--mgx, 0px), var(--mgy, 0px)); transition:transform .45s var(--ease); }
.magnetic.is-pulled{ transition:transform .12s linear; }

.r2{ opacity:0; transform:translateY(28px); transition:opacity .85s var(--ease), transform .85s var(--ease); transition-delay:var(--i, 0s); }
.r2.in{ opacity:1; transform:none; }

[data-speed]{ transform:translate3d(0, var(--py, 0px), 0); }

/* ══════════════════════════ THE MARK ══════════════════════════ */
/* hexagonal badge + S monogram — reads as a chip and as an initial */

.mark__hex{ fill:url(#markFace); }
.mark__facet{ fill:url(#markEdge); opacity:.55; }
.mark__s{
  fill:none; stroke:#fff; stroke-width:3.4;
  stroke-linecap:round; stroke-linejoin:round;
}
.mark__hex, .mark__facet, .mark__s{ transition:transform .5s var(--ease), opacity .4s ease; }
.logo__mark{ width:44px; height:44px; flex:none; filter:drop-shadow(0 8px 20px rgba(84,0,233,.45)); }
.logo:hover .mark__facet{ opacity:.9; }
.logo:hover .mark__s{ transform:translateY(-1px); }

/* ═══════════════════════════ HEADER ═══════════════════════════ */

.site-header{
  position:fixed; top:0; left:0; right:0; z-index:70;
  height:var(--header-h); padding:0 clamp(18px, 4vw, 60px);
  display:flex; align-items:center; gap:clamp(14px, 2.2vw, 34px);
  color:#fff;
  transition:height .35s var(--ease), color .4s ease;
}
.site-header.on-dark{ color:#fff; }
.site-header::before{
  content:""; position:absolute; inset:0;
  background:rgba(10,7,22,.66);
  border-bottom:1px solid rgba(255,255,255,.09);
  opacity:0; transition:opacity .4s ease; pointer-events:none;
}
/* the blur only exists once the bar is actually visible — it is the most
   expensive thing in the header and must not run behind a transparent box */
.site-header.is-solid::before{ opacity:1; backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
.site-header.is-solid{ height:78px; }
.site-header > *{ position:relative; z-index:1; }

.logo{ display:flex; align-items:center; gap:13px; text-decoration:none; color:inherit; margin-right:auto; }
.logo__type{ display:flex; flex-direction:column; gap:3px; }
.logo__name{ font-family:var(--display); font-size:23px; font-weight:700; line-height:1; letter-spacing:.16em; }
.logo__sub{ font-family:var(--display); font-size:9px; font-weight:500; line-height:1; letter-spacing:.34em; text-transform:uppercase; opacity:.72; }

.nav__list{ display:flex; align-items:center; gap:clamp(11px, 1.6vw, 26px); list-style:none; margin:0; padding:0; }
.nav__list a{
  position:relative; display:block; padding:8px 2px;
  color:inherit; text-decoration:none; font-size:15px; font-weight:500;
  opacity:.88; transition:opacity .25s ease;
}
.nav__list a::after{
  content:""; position:absolute; left:0; bottom:2px; width:100%; height:1.5px;
  background:currentColor; transform:scaleX(0); transform-origin:right;
  transition:transform .38s var(--ease);
}
.nav__list a:hover{ opacity:1; }
.nav__list a:hover::after{ transform:scaleX(1); transform-origin:left; }
.nav__cta{ display:none; }         /* the in-nav button only shows in the overlay */

.header-cta{
  display:inline-flex; align-items:center; gap:9px;
  min-height:44px; padding:0 20px; border-radius:11px;
  background:var(--brand); color:#fff;
  text-decoration:none; font-size:14.5px; font-weight:600; white-space:nowrap;
  box-shadow:0 8px 20px -12px rgba(84,0,233,.95);
  transition:background .25s ease, transform .45s var(--ease), box-shadow .3s ease;
}
.header-cta svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.header-cta:hover{ background:var(--brand-hi); box-shadow:0 14px 26px -12px rgba(106,31,255,1); }

.burger{
  display:none; width:44px; height:44px; z-index:70;
  border:0; background:none; cursor:pointer;
  flex-direction:column; align-items:center; justify-content:center; gap:5px; color:inherit;
}
.burger span{ width:22px; height:2px; border-radius:2px; background:currentColor; transition:transform .35s var(--ease), opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
body.nav-open, body.pop-open{ overflow:hidden; }

/* ════════════════════════════ HERO ════════════════════════════ */

:root{
  --hero-bg:#000000;
  --cyan:#5eead4;
  --text-hi:#f5f4fb;
  --text-lo:rgba(232,232,246,.6);
  --text-faint:rgba(214,214,238,.42);
}

.hero{
  position:relative; isolation:isolate; overflow:hidden;
  min-height:84vh;
  display:flex; align-items:center;
  padding:clamp(96px, 10vh, 124px) clamp(20px, 5vw, 80px) clamp(36px, 4vh, 56px);
  padding-bottom:max(clamp(36px, 4vh, 56px), env(safe-area-inset-bottom));
  background:var(--hero-bg);
}

/* ---------- backdrop ---------- */
.hero__bg{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.hero__grid{
  position:absolute; inset:-10%;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size:120px 120px;
  -webkit-mask-image:radial-gradient(78% 70% at 38% 46%, #000 18%, transparent 80%);
          mask-image:radial-gradient(78% 70% at 38% 46%, #000 18%, transparent 80%);
  transform:translate3d(0, var(--py, 0px), 0);
}
.hero__wash{
  position:absolute; inset:0;
  background:
    radial-gradient(44% 50% at 76% 32%, rgba(96,52,220,.3), transparent 66%),
    radial-gradient(38% 42% at 16% 74%, rgba(84,0,233,.16), transparent 68%);
}
.hero__silk{
  position:absolute; top:-18%; right:-12%; width:min(54%, 720px); height:auto;
  opacity:.6;
  -webkit-mask-image:linear-gradient(200deg, #000 30%, transparent 80%);
          mask-image:linear-gradient(200deg, #000 30%, transparent 80%);
  transform:translate3d(0, var(--py, 0px), 0);
  animation:heroFade 1.6s var(--ease) .2s both;
}
@keyframes heroFade{ from{ opacity:0; } to{ opacity:.6; } }

/* ---------- layout ---------- */
.hero__inner{
  position:relative; z-index:2;
  width:100%; max-width:var(--max); margin-inline:auto;
  display:grid; grid-template-columns:1.1fr .9fr;
  align-items:center; gap:clamp(24px, 3vw, 48px);
}
.hero__copy{ min-width:0; }

.hero__trust{
  display:inline-flex; align-items:center; gap:10px;
  margin:0 0 clamp(20px, 2.8vh, 30px);
  padding:9px 16px 9px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.05);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  color:var(--text-lo); text-decoration:none;
  font-family:var(--display); font-size:12.5px; font-weight:600;
  letter-spacing:.06em;
  opacity:0; animation:heroRise .8s var(--ease) .1s forwards;
  transition:border-color .3s ease, background .3s ease, transform .3s var(--ease);
}
.hero__trust:hover{ border-color:rgba(20,168,0,.55); background:rgba(20,168,0,.1); transform:translateY(-2px); }
.hero__rated-stars{ color:#ffc85c; font-size:12px; letter-spacing:.1em; }
.hero__trust-text{ color:var(--text-lo); }
.hero__rated-logo{ width:20px; height:20px; fill:#14a800; flex:none; }

.hero__h1{
  margin:0; font-family:var(--display);
  font-size:clamp(2.1rem, 3.6vw, 3.6rem); font-weight:800;
  line-height:1.16; letter-spacing:-.028em; color:var(--text-hi);
  max-width:none;
}
.hero__ln{ display:block; overflow:hidden; padding-bottom:.08em; margin-bottom:-.08em; }
.hero__ln > span{
  display:block; transform:translateY(112%); opacity:0;
  animation:heroLine .95s cubic-bezier(.19,1,.22,1) forwards;
}
.hero__ln:nth-child(1) > span{ animation-delay:.18s; }
.hero__ln:nth-child(2) > span{ animation-delay:.3s; }
@keyframes heroLine{ to{ transform:translateY(0); opacity:1; } }
@keyframes heroRise{ from{ transform:translateY(16px); } to{ transform:translateY(0); opacity:1; } }

/* the cycling word */
.hero__type{ font-style:normal; color:#9b6bff; }
.caret{
  display:inline-block; width:.055em; height:.74em; margin-left:.04em; vertical-align:-.02em;
  background:#9b6bff; animation:blink 1.05s steps(1) infinite;
}
@keyframes blink{ 0%,50%{ opacity:1; } 50.01%,100%{ opacity:0; } }

.hero__sub{
  margin:clamp(26px, 3.6vh, 42px) 0 0; max-width:46ch;
  font-size:clamp(14.5px, 1.05vw, 16.5px); line-height:1.75; color:var(--text-lo);
  opacity:0; animation:heroRise .8s var(--ease) .58s forwards;
}
.hero__actions{
  display:flex; align-items:center; flex-wrap:wrap; gap:14px 26px;
  margin-top:clamp(30px, 4.2vh, 48px);
  opacity:0; animation:heroRise .8s var(--ease) .7s forwards;
}
.hero__actions .ghost{ color:var(--text-lo); }
.hero__actions .ghost:hover{ color:#fff; }

/* ---------- cube stage ---------- */
.hero__stage{ position:relative; min-width:0; display:grid; place-items:center; }





/* 1. OUTERMOST — scroll-driven exit as the next section arrives */
.cube{
  position:relative; z-index:2;
  /* capped against viewport height so it never pushes the hero past 100vh */
  width:min(122%, 760px, 62vh);
  transform:
    translate3d(0, calc(var(--hp, 0) * -70px), 0)
    scale(calc(1 - var(--hp, 0) * .2))
    rotate(calc(var(--hp, 0) * 16deg));
  opacity:calc(1 - var(--hp, 0) * .9);
  will-change:transform, opacity;
}
/* 2. MIDDLE — roll-in, then the endless float */
.cube__float{
  transform-origin:center;
  animation:cubeRoll 1.4s cubic-bezier(.22,1,.28,1) .25s both;
  will-change:transform;
}
.cube__float.is-idle{ animation:cubeFloat 8s ease-in-out infinite; }

@keyframes cubeRoll{
  0%   { opacity:0; transform:translate3d(58%, -82%, 0) rotate(64deg) scale(.48); }
  55%  { opacity:1; }
  80%  { transform:translate3d(0,0,0) rotate(-12deg) scale(1.035); }   /* overshoot */
  100% { opacity:1; transform:translate3d(0,0,0) rotate(-4deg) scale(1); }
}
@keyframes cubeFloat{
  0%,100% { transform:translate3d(0, -9px, 0) rotate(-4deg); }
  50%     { transform:translate3d(0, 9px, 0) rotate(-4deg); }
}

/* 3. INNERMOST — cursor tilt, written by JS */
.cube__tilt{ will-change:transform; }
.cube__tilt img{ display:block; width:100%; height:auto; }

.hero__scroll{
  position:absolute; left:50%; bottom:clamp(24px, 3.6vh, 44px); z-index:3;
  transform:translateX(-50%);
  display:inline-flex; flex-direction:column; align-items:center; gap:12px;
  font-family:var(--mono); font-size:10.5px; letter-spacing:.28em;
  text-transform:uppercase; color:var(--text-faint); text-decoration:none;
  opacity:calc(1 - var(--hp, 0) * 2);
  transition:color .3s ease;
}
.hero__scroll:hover{ color:#fff; }
.hero__scroll-line{ position:relative; width:1px; height:38px; overflow:hidden; background:rgba(255,255,255,.16); }
.hero__scroll-line::after{
  content:""; position:absolute; left:0; top:0; width:100%; height:46%;
  background:linear-gradient(180deg, transparent, #9b6bff);
  animation:scrollCue 2.1s ease-in-out infinite;
}
@keyframes scrollCue{ 0%{ transform:translateY(-100%); } 60%,100%{ transform:translateY(240%); } }

/* keyframes other sections depend on */
@keyframes spin{ to{ transform:rotate(360deg); } }
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(169,123,255,.55); }
  70%{ box-shadow:0 0 0 11px rgba(169,123,255,0); }
  100%{ box-shadow:0 0 0 0 rgba(169,123,255,0); }
}
@keyframes drop{ 0%,100%{ transform:translateY(-4px); opacity:.35; } 50%{ transform:translateY(4px); opacity:1; } }

@media (max-width: 1024px){
  .hero{ padding-top:calc(var(--header-h) + 28px); padding-bottom:28px; }
  .hero__inner{ grid-template-columns:1fr; gap:clamp(22px, 4vh, 38px); }
  .hero__stage{ order:2; width:100%; max-width:500px; margin-inline:auto; }
  .cube{ width:min(100%, 480px); }
  .hero__silk{ width:76%; top:-8%; right:-16%; opacity:.42; }
  
  
  .hero__scroll{ display:none; }
}
@media (max-width: 560px){
  .hero__rated{
  display:inline-flex; align-items:center; gap:11px;
  margin:0 0 clamp(20px, 2.8vh, 30px);
  padding:9px 18px 9px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.05);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  color:var(--text-lo); text-decoration:none;
  font-family:var(--display); font-size:12.5px; font-weight:600;
  letter-spacing:.06em;
  opacity:0; animation:heroRise .8s var(--ease) .1s forwards;
  transition:border-color .3s ease, background .3s ease, transform .3s var(--ease);
}
.hero__rated:hover{ border-color:rgba(20,168,0,.55); background:rgba(20,168,0,.1); transform:translateY(-2px); }
.hero__rated-stars{ color:#ffc85c; font-size:12px; letter-spacing:.1em; }
.hero__rated-logo{ width:20px; height:20px; fill:#14a800; flex:none; }

.hero__h1{ font-size:clamp(2rem, 8.6vw, 2.7rem); }
  .hero__actions .cta{ width:100%; justify-content:center; }
  
  .hero__grid{ background-size:70px 70px; }
}

/* ═════════════════════════ ABOUT ═════════════════════════ */

.about{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(30px, 5vw, 76px); align-items:start; }
.about__intro{ position:sticky; top:130px; }
.about__note{
  display:flex; gap:16px; margin:32px 0 0; padding:24px 26px;
  border-radius:18px; border-left:3px solid var(--brand);
}
.about__avatar{
  display:grid; place-items:center; width:44px; height:44px; border-radius:13px; flex:none;
  background:linear-gradient(140deg, #7b2bff, #4300bd);
  font-family:var(--display); font-size:13px; font-weight:700; color:#fff;
}
.about__note p{ margin:0; font-size:14.5px; line-height:1.65; color:var(--text); font-style:italic; }

.steps{ margin:0; padding:0; list-style:none; display:grid; gap:12px; counter-reset:s; }
.steps li{
  display:grid; grid-template-columns:auto 1fr; gap:6px 18px;
  padding:26px 26px 26px 24px; border-radius:18px;
  border:1px solid var(--line); background:var(--surface);
  transition:border-color .4s ease, transform .4s var(--ease), background .4s ease;
}
.steps li:hover{ border-color:rgba(169,123,255,.45); background:var(--surface-2); transform:translateX(5px); }
.steps__n{
  grid-row:span 2; font-family:var(--mono); font-size:13px; font-weight:500;
  color:var(--brand-soft); padding-top:3px;
}
.steps li b{ font-family:var(--display); font-size:18px; font-weight:600; color:var(--fg); letter-spacing:-.02em; }
.steps__t{ font-size:14.5px; line-height:1.62; color:var(--text); }

/* ══════════════════════════ SERVICES ══════════════════════════ */

.svc{ display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; perspective:1100px; }
.svc__card{
  position:relative; isolation:isolate; display:block;
  padding:32px 30px 34px;
  border:1px solid var(--line); border-radius:20px;
  background:var(--surface); overflow:hidden;
  text-decoration:none; color:inherit; /* neutralizes default <a> styling when this card links to a service page */
  transform:rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
  transition:opacity .45s ease, transform .5s var(--ease), border-color .45s ease, background .45s ease, box-shadow .5s ease;
}
/* dim siblings only while a card is actually under the pointer —
   hovering the gaps between cards must not grey the whole section */
.svc.is-focusing .svc__card:not(:hover):not(:focus-visible){ opacity:.4; }
.svc__card:hover, .svc__card:focus-visible{
  --lift:-6px;
  border-color:rgba(169,123,255,.55); background:var(--surface-2);
  box-shadow:0 30px 70px -34px rgba(84,0,233,.9); outline:none;
}
.svc__card::after{
  content:""; position:absolute; inset:0; z-index:-1; opacity:0;
  background:radial-gradient(70% 60% at 50% 0%, rgba(84,0,233,.42), transparent 70%);
  transition:opacity .45s ease;
}
.svc__card:hover::after, .svc__card:focus-within::after{ opacity:1; }

.svc__icon{
  display:grid; place-items:center; width:52px; height:52px;
  border-radius:15px; background:var(--brand-dim); border:1px solid rgba(169,123,255,.28);
  transition:transform .5s var(--ease), background .4s ease;
}
.svc__icon svg{ width:24px; height:24px; fill:none; stroke:var(--brand-soft); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.svc__card:hover .svc__icon{ transform:translateY(-3px) rotate(-6deg); background:rgba(84,0,233,.34); }

.svc__card h3{ margin:22px 0 12px; font-family:var(--display); font-size:21px; font-weight:600; letter-spacing:-.02em; color:var(--fg); }
.svc__card p{ margin:0; font-size:14.5px; line-height:1.65; color:var(--text); }

.svc__tags{ display:flex; flex-wrap:wrap; gap:7px; margin:20px 0 0; padding:0; list-style:none; }
.svc__tags li{
  padding:5px 11px; border-radius:8px;
  border:1px solid var(--line); background:rgba(255,255,255,.03);
  font-size:11.5px; font-weight:500; color:var(--text-dim);
  transition:border-color .35s ease, color .35s ease, background .35s ease;
}
.svc__card:hover .svc__tags li{ background:var(--lav); border-color:transparent; color:#20194a; }

/* ═════════════════════════ CTA BANDS ═════════════════════════ */

.ctaband{ position:relative; z-index:1; padding:var(--pad-y) var(--pad-x); }
.ctaband__inner{
  position:relative; overflow:hidden;
  max-width:var(--max); margin-inline:auto;
  padding:clamp(48px, 6.5vw, 88px) clamp(24px, 5vw, 70px);
  border-radius:clamp(22px, 3vw, 34px);
  border:1px solid var(--line);
  background:
    radial-gradient(74% 120% at 50% -12%, rgba(122,43,255,.5), transparent 62%),
    linear-gradient(160deg, #1e1152 0%, #0a0720 72%);
  text-align:center;
}

/* circuit traces down both edges, mirrored on the right */
.ctaband__trace{
  position:absolute; top:0; bottom:0; width:min(320px, 28%);
  color:rgba(201,168,255,.4); pointer-events:none;
  mask-image:linear-gradient(90deg, #000 34%, transparent 96%);
  -webkit-mask-image:linear-gradient(90deg, #000 34%, transparent 96%);
}
.ctaband__trace svg{ width:100%; height:100%; }
.ctaband__trace--l{ left:0; }
.ctaband__trace--r{ right:0; transform:scaleX(-1); }
.ctaband__trace use:last-child{ animation:nodePulse 3.6s ease-in-out infinite; }
.ctaband__trace--r use:last-child{ animation-delay:-1.8s; }
@keyframes nodePulse{ 0%,100%{ opacity:.3; } 50%{ opacity:1; } }

.ctaband__content{ position:relative; z-index:2; }
.ctaband .eyebrow{ justify-content:center; }
.ctaband__title{
  margin:0 auto; max-width:20ch;
  font-family:var(--display); font-size:clamp(26px, 3.5vw, 46px);
  font-weight:700; line-height:1.14; letter-spacing:-.018em; color:var(--fg);
}
.ctaband__lede{ margin:18px auto 0; max-width:60ch; font-size:clamp(14.5px,1.1vw,16.5px); line-height:1.7; color:var(--text); }
.ctaband__btns{ display:flex; justify-content:center; flex-wrap:wrap; gap:14px; margin-top:clamp(26px, 3.5vh, 40px); }
.ctaband__btns .btn{ min-height:56px; }

.ctaband--light .ctaband__inner{
  background:
    radial-gradient(70% 110% at 50% -10%, rgba(84,0,233,.14), transparent 60%),
    var(--lav);
  border-color:transparent; box-shadow:0 40px 90px -50px rgba(20,4,70,.9);
}
.ctaband--light .ctaband__trace{ color:rgba(84,0,233,.3); }
.ctaband--light .btn--outline{ border-color:rgba(21,16,51,.24); }

/* ══════════════════════════ MARQUEE ══════════════════════════ */

.marquee{
  position:relative; z-index:1;
  background:var(--lav); color:#1a1440;
  padding:20px 0; overflow:hidden;
  border-block:1px solid rgba(21,16,51,.08);
}
.marquee__track{ display:flex; width:max-content; animation:marq 42s linear infinite; }
.marquee:hover .marquee__track{ animation-play-state:paused; }
.marquee__set{ display:flex; align-items:center; }
.marquee__set b{ font-family:var(--display); font-size:clamp(14px,1.5vw,19px); font-weight:600; letter-spacing:.05em; white-space:nowrap; }
.marquee__set i{ width:6px; height:6px; margin:0 clamp(18px,2.4vw,34px); border-radius:50%; background:var(--brand); flex:none; }
@keyframes marq{ to{ transform:translateX(-50%); } }

/* ════════════════════════ TECHNOLOGY ════════════════════════ */

.tech{
  display:grid; grid-template-columns:282px 1fr; gap:18px;
  padding:18px; border-radius:26px; align-items:stretch;
}
.tech__rail{ display:flex; flex-direction:column; gap:8px; }
.tech__cat{
  display:flex; align-items:center; gap:13px;
  padding:15px 16px; border-radius:14px;
  border:1px solid transparent; background:rgba(255,255,255,.6);
  color:var(--text); font-family:var(--body); font-size:14.5px; font-weight:600;
  text-align:left; cursor:pointer;
  transition:background .3s ease, color .3s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.tech__cat i{ display:grid; place-items:center; width:30px; height:30px; border-radius:9px; background:rgba(84,0,233,.1); flex:none; }
.tech__cat svg{ width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.tech__cat:hover{ color:var(--fg); transform:translateX(3px); }
.tech__cat.is-active{ background:var(--brand); color:#fff; box-shadow:0 14px 32px -14px rgba(84,0,233,.9); }
.tech__cat.is-active i{ background:rgba(255,255,255,.2); }

/* the right side now stretches to the rail's height: a 4-column grid of
   cards plus a closing note, so there is no dead space underneath */
.tech__panel{ display:flex; flex-direction:column; gap:12px; min-height:0; }
.tech__grid{ flex:1; display:grid; grid-template-columns:repeat(4, 1fr); grid-auto-rows:1fr; gap:12px; }
.tech__item{
  display:flex; flex-direction:column; gap:9px;
  padding:20px; border-radius:16px;
  border:1px solid var(--line); background:var(--surface-2);
  opacity:0; transform:translateY(14px) scale(.98);
  animation:techIn .55s var(--ease) forwards; animation-delay:calc(var(--n) * 60ms);
  transition:border-color .3s ease, transform .3s var(--ease), box-shadow .3s ease;
}
.tech__item:hover{ border-color:rgba(84,0,233,.4); transform:translateY(-4px); box-shadow:0 18px 34px -20px rgba(84,0,233,.8); }
@keyframes techIn{ to{ opacity:1; transform:none; } }
.tech__tile{
  display:grid; place-items:center; width:40px; height:40px; flex:none; border-radius:12px;
  background:color-mix(in srgb, var(--c) 15%, transparent);
  border:1px solid color-mix(in srgb, var(--c) 38%, transparent);
  color:var(--c); font-family:var(--display); font-size:13.5px; font-weight:700;
}
.tech__item b{ font-family:var(--display); font-size:16px; font-weight:600; color:var(--fg); letter-spacing:-.01em; }
.tech__item em{ font-style:normal; font-family:var(--mono); font-size:11px; color:var(--brand); letter-spacing:.02em; }
.tech__desc{ font-size:13px; line-height:1.55; color:var(--text); margin-top:auto; }

/* ════════════════════════ INDUSTRIES ════════════════════════ */

.ind{ display:grid; grid-template-columns:.86fr 1.14fr; gap:clamp(28px, 4vw, 64px); align-items:start; }
/* the only thing in the left column now */
.ind__visual{
  position:relative; display:grid; place-items:center;
  padding:clamp(20px, 3vw, 40px);
  border-radius:26px; border:1px solid var(--line);
  background:linear-gradient(165deg, rgba(84,0,233,.16), rgba(255,255,255,.015) 62%);
  overflow:hidden;
}
.ind-img{
  border-radius:20px;
  overflow:hidden;
}
.ind-img img{
  border-radius:20px;
}
.devloop{
  position:relative; margin:0; width:min(100%, 360px);
  transform:translate3d(0, var(--py, 0px), 0);
  animation:devIn .9s var(--ease) .2s both;
}
@keyframes devIn{ from{ opacity:0; transform:translateY(20px) scale(.94); } to{ opacity:1; } }
.devloop__glow{
  position:absolute; inset:2% 2% -6%; z-index:0; border-radius:50%;
  background:radial-gradient(circle at 50% 50%, rgba(122,43,255,.4), transparent 68%);
  filter:blur(34px);
}
.devloop picture, .devloop img{ position:relative; z-index:1; display:block; width:100%; height:auto; }

.ind__caption{ margin:0; font-size:14px; line-height:1.6; color:var(--text-dim); border-top:1px solid var(--line); padding-top:20px; }

.ind__grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; margin-top:clamp(34px, 5vh, 56px); }
.ind__card{
  position:relative; isolation:isolate; overflow:hidden;
  padding:24px 22px; border-radius:18px;
  border:1px solid var(--line); background:var(--surface);
  transition:transform .4s var(--ease), border-color .4s ease;
}
.ind__card::before{
  content:""; position:absolute; inset:0; z-index:-1; background:var(--lav);
  transform:translateY(101%); transition:transform .5s var(--ease);
}
.ind__card:hover{ transform:translateY(-5px); border-color:transparent; }
.ind__card:hover::before{ transform:none; }
.ind__card:hover h3{ color:#151033; }
.ind__card:hover p{ color:rgba(21,16,51,.72); }
.ind__card:hover .ind__icon svg{ stroke:var(--brand); transform:scale(1.12); }
.ind__icon svg{ width:26px; height:26px; fill:none; stroke:var(--brand-soft); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; transition:transform .4s var(--ease), stroke .4s ease; }
.ind__card h3{ margin:16px 0 8px; font-family:var(--display); font-size:17px; font-weight:600; color:var(--fg); letter-spacing:-.01em; transition:color .4s ease; }
.ind__card p{ margin:0; font-size:13.5px; line-height:1.6; color:var(--text); transition:color .4s ease; }

/* ════════════════════════ PORTFOLIO ════════════════════════ */

.work{ display:grid; grid-template-columns:repeat(3, 1fr); gap:clamp(18px, 2.4vw, 34px); align-items:start; }
.work__col{ display:grid; gap:clamp(40px, 7vh, 86px); }
.work__col--drop{ margin-top:clamp(40px, 9vh, 110px); }
.work__col--mid{ margin-top:clamp(16px, 4vh, 48px); }

.work__thumb{
  position:relative; display:block; overflow:hidden; text-decoration:none;
  border-radius:16px; border:1px solid var(--line); background:#100c24;
  box-shadow:0 24px 50px -34px rgba(0,0,0,.9);
  transition:transform .55s var(--ease), border-color .4s ease, box-shadow .5s ease;
}
.work__item:hover .work__thumb{
  transform:translateY(-8px); border-color:rgba(169,123,255,.55);
  box-shadow:0 40px 80px -34px rgba(84,0,233,.9);
}

.work__chrome{
  display:flex; align-items:center; gap:6px; height:36px; padding:0 14px;
  background:rgba(255,255,255,.05); border-bottom:1px solid var(--line);
}
.work__chrome i{ width:8px; height:8px; border-radius:50%; flex:none; }
.work__chrome i:nth-child(1){ background:#ff5f57; }
.work__chrome i:nth-child(2){ background:#febc2e; }
.work__chrome i:nth-child(3){ background:#28c840; }
.work__chrome em{
  margin:0 auto; padding:4px 16px; border-radius:999px;
  background:rgba(255,255,255,.07);
  font-style:normal; font-family:var(--mono); font-size:10.5px;
  color:rgba(255,255,255,.45);
  max-width:70%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}

.work__view{ position:relative; display:block; aspect-ratio:4/3; overflow:hidden; background:#0b0818; }
.work__thumb--tall .work__view{ aspect-ratio:3/4; }

.work__frame{ position:absolute; inset:0; overflow:hidden; }
.work__img{
  width:100%; height:auto; display:block; transform:translateY(0);
  transition:transform var(--dur, 7s) ease-in-out;
}
.work__thumb.is-playing .work__img{ transform:translateY(calc(var(--travel, 0px) * -1)); }

.work__cover{
  position:absolute; inset:0; z-index:2; display:block; overflow:hidden;
  transition:opacity .55s var(--ease), transform .8s var(--ease), filter .55s ease;
}
.work__cover img{ width:100%; height:100%; object-fit:cover; object-position:center top; }
.work__cover::after{ content:""; position:absolute; inset:0; background:linear-gradient(150deg, rgba(84,0,233,.16), transparent 55%); }
.work__thumb.is-playing .work__cover{ opacity:0; transform:scale(1.05); filter:blur(4px); }

.work__scrim{
  position:absolute; inset:0; z-index:3;
  display:flex; flex-direction:column; justify-content:flex-end; gap:5px; padding:20px 22px;
  background:linear-gradient(180deg, transparent 38%, rgba(6,4,16,.62) 72%, rgba(6,4,16,.94) 100%);
  transition:opacity .5s var(--ease);
}
.work__scrim b{ font-family:var(--display); font-size:clamp(16px,1.8vw,22px); font-weight:600; letter-spacing:-.02em; color:#fff; }
.work__scrim em{ font-style:normal; font-size:12.5px; color:rgba(255,255,255,.6); }
.work__thumb.is-playing .work__scrim{ opacity:0; }

.work__badge{
  position:absolute; left:16px; top:16px; z-index:4;
  display:inline-flex; align-items:center; gap:7px;
  padding:8px 13px; border-radius:999px;
  background:var(--lav); color:#1a1440;
  font-family:var(--display); font-size:10.5px; font-weight:700;
  letter-spacing:.14em; text-transform:uppercase;
  opacity:0; transform:translateY(-8px);
  transition:opacity .4s ease, transform .4s var(--ease);
}
.work__badge svg{ width:13px; height:13px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; animation:drop 1.5s ease-in-out infinite; }
.work__thumb.is-playing .work__badge{ opacity:1; transform:none; }

.work__progress{ position:absolute; left:0; right:0; bottom:0; z-index:4; height:3px; background:rgba(255,255,255,.14); opacity:0; transition:opacity .3s ease; }
.work__progress i{ display:block; height:100%; width:0; background:linear-gradient(90deg, var(--brand), var(--brand-soft)); transition:width var(--dur, 7s) ease-in-out; }
.work__thumb.is-playing .work__progress{ opacity:1; }
.work__thumb.is-playing .work__progress i{ width:100%; }

.work__thumb.no-img .work__frame{ display:none; }
.work__thumb.no-img .work__cover, .work__thumb.no-scroll .work__cover{ opacity:1 !important; transform:none !important; filter:none !important; }
.work__thumb.no-img .work__badge, .work__thumb.no-scroll .work__badge,
.work__thumb.no-img .work__progress, .work__thumb.no-scroll .work__progress{ display:none; }

.work__meta{ display:flex; justify-content:space-between; gap:20px; margin-top:16px; }
.work__meta h3{
  margin:0; display:flex; align-items:center; gap:9px;
  font-family:var(--display); font-size:16px; font-weight:600;
  letter-spacing:.02em; text-transform:uppercase; color:var(--fg);
}
.work__meta h3::after{
  content:"↗"; font-size:14px; color:var(--brand-soft);
  opacity:0; transform:translate(-5px, 4px);
  transition:opacity .35s ease, transform .35s var(--ease);
}
.work__item:hover .work__meta h3::after{ opacity:1; transform:none; }
.work__meta ul{ margin:0; padding:0; list-style:none; text-align:right; font-size:12.5px; line-height:1.55; color:var(--text-dim); }
.work__meta ul li:first-child{ color:var(--text); }
.work__tag-more a{ color:var(--brand-soft); text-decoration:none; }
.work__tag-more a:hover{ text-decoration:underline; }
.work__more{ text-align:center; margin-top:clamp(32px, 5vh, 56px); }

/* ═══════════════════ TESTIMONIALS — CARD DECK ═══════════════════ */

.section--stack .section__head{ margin-bottom:clamp(22px, 3vh, 34px); }
.stack{ position:relative; height:250vh; max-width:none; }
/* height:auto means the sticky block is exactly as tall as the card,
   so there is no dead band above or below it */
.stack__pin{
  position:sticky; top:calc(var(--header-h) + 18px);
  height:auto; padding:0 clamp(4px, 2vw, 30px);
}
.stack__deck{ position:relative; width:100%; max-width:var(--max); margin-inline:auto; }

.stack__card{
  position:absolute; top:0; left:0; right:0; transform-origin:top center;
  transform:
    translateY(calc(max(var(--d), 0) * 26px + min(var(--d), 0) * 118%))
    scale(calc(1 - clamp(0, var(--d), 3) * .048));
  opacity:clamp(0, calc((var(--d) + 1.05) / .35), 1);
  z-index:calc(10 - var(--n));
}
.stack__card::after{
  content:""; position:absolute; inset:0; z-index:5; border-radius:26px;
  background:#000; pointer-events:none;
  opacity:calc(clamp(0, var(--d), 3) * .22);
}

.stack__dots{ display:flex; justify-content:center; gap:8px; margin:26px auto 0; }
.stack__dots i{ width:7px; height:7px; border-radius:50%; background:rgba(255,255,255,.2); transition:all .35s var(--ease); }
.stack__dots i.on{ background:var(--brand-soft); width:24px; border-radius:99px; }

.tcard{
  position:relative; border-radius:26px;
  border:1px solid rgba(255,255,255,.1);
  background:linear-gradient(160deg, #180f34 0%, #0a0718 58%);
  box-shadow:0 50px 100px -55px rgba(20,8,60,.95);
  overflow:hidden;
}
.tcard__tab{
  position:absolute; top:0; left:36px;
  padding:10px 22px 9px; border-radius:0 0 14px 14px;
  background:var(--lav); color:#20194a;
  font-family:var(--display); font-size:11px; font-weight:700;
  letter-spacing:.2em; text-transform:uppercase;
}
.tcard__body{
  display:grid; grid-template-columns:auto 1fr; gap:clamp(24px,3.4vw,52px);
  padding:clamp(56px,6vw,72px) clamp(28px,4vw,56px) clamp(34px,4vw,52px);
  align-items:center;
}

/* client portrait, left of the content */
.tcard__person{ margin:0; display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center; width:clamp(140px, 16vw, 190px); }
.tcard__person img{
  width:clamp(112px, 13vw, 158px); aspect-ratio:1;
  border-radius:50%; object-fit:cover;
  border:3px solid rgba(169,123,255,.4);
  box-shadow:0 18px 40px -18px rgba(84,0,233,.9);
}
.tcard__initials{
  width:clamp(112px, 13vw, 158px); aspect-ratio:1;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  border:3px solid rgba(169,123,255,.4);
  box-shadow:0 18px 40px -18px rgba(84,0,233,.9);
  background:linear-gradient(160deg,#3a009e,#8b45ff);
  color:#fff; font-weight:700; font-size:clamp(20px,2vw,28px);
}
.tcard__person figcaption{ display:flex; flex-direction:column; gap:4px; }
.tcard__person b{ font-size:15px; font-weight:600; color:#fff; }
.tcard__person em{ font-style:normal; font-size:12.5px; line-height:1.45; color:rgba(255,255,255,.5); }

.tcard__body-copy{ min-width:0; }
.tcard__quote{ display:block; font-family:var(--display); font-size:70px; line-height:.6; color:var(--brand-soft); opacity:.45; margin-bottom:12px; }
.tcard__text{ margin:0; font-family:var(--display); font-size:clamp(16px, 1.65vw, 24px); font-weight:500; line-height:1.45; letter-spacing:-.02em; color:#fff; }

/* rating, with the platform it came from on the left */
.tcard__rating{ display:flex; align-items:center; gap:12px; margin-top:clamp(22px,3vh,32px); flex-wrap:wrap; }
.tcard__src{
  display:grid; place-items:center; width:36px; height:36px; flex:none;
  border-radius:11px; background:#fff; color:#14103a;
  transition:transform .3s var(--ease), box-shadow .3s ease;
}
.tcard__src svg{ width:19px; height:19px; fill:currentColor; }
.tcard__src svg.colour{ fill:none; }
.tcard__src:hover{ transform:translateY(-3px); box-shadow:0 12px 24px -12px rgba(0,0,0,.9); }
.tcard__stars{ font-size:15px; letter-spacing:.16em; color:#ffc85c; }
.tcard__via{ font-size:12.5px; color:rgba(255,255,255,.5); }

/* ═══════════════════════ WHY CHOOSE ═══════════════════════ */

/* the middle word of the heading picks up the brand violet */
.why__h .w:nth-child(2) i{ color:#a97bff; }

.why{
  display:flex; flex-wrap:wrap; justify-content:center;
  gap:14px; margin:0 auto; padding:0; list-style:none;
  max-width:1180px;
}

.why__pill{
  position:relative; isolation:isolate; overflow:hidden;
  display:flex; align-items:center; gap:15px;
  padding:12px 30px 12px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.035);
  transition:transform .4s var(--ease), border-color .4s ease, box-shadow .4s ease;
}
.why__pill::before{
  content:""; position:absolute; inset:0; z-index:-1; opacity:0;
  background:linear-gradient(100deg, rgba(84,0,233,.5), rgba(169,123,255,.14) 76%);
  transition:opacity .45s ease;
}
.why__pill:hover{ transform:translateY(-4px); border-color:rgba(169,123,255,.55); }
.why__pill:hover::before{ opacity:1; }

.why__ico{
  display:grid; place-items:center; width:48px; height:48px; flex:none;
  border-radius:50%; background:rgba(84,0,233,.2);
  border:1px solid rgba(169,123,255,.3);
  transition:background .35s ease, transform .4s var(--ease);
}
.why__ico svg{
  width:21px; height:21px; fill:none; stroke:var(--brand-soft);
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
  transition:stroke .35s ease;
}
.why__pill:hover .why__ico{ transform:scale(1.06); }
.why__pill b{
  font-family:var(--display); font-size:15px; font-weight:600;
  line-height:1.3; letter-spacing:-.005em; color:var(--fg); white-space:nowrap;
}

/* every fourth pill carries the solid brand fill, so the cloud is not flat */
.why__pill:nth-child(4n+1){
  background:linear-gradient(100deg, #6a1fff 0%, #4d10c8 100%);
  border-color:transparent;
  box-shadow:0 18px 40px -20px rgba(106,31,255,.95);
}
.why__pill:nth-child(4n+1)::before{ display:none; }
.why__pill:nth-child(4n+1) .why__ico{ background:rgba(255,255,255,.2); border-color:rgba(255,255,255,.28); }
.why__pill:nth-child(4n+1) .why__ico svg{ stroke:#fff; }
.why__pill:nth-child(4n+1) b{ color:#fff; }
.why__pill:nth-child(4n+1):hover{ border-color:transparent; box-shadow:0 24px 48px -20px rgba(106,31,255,1); }

@media (max-width: 700px){
  .why{ gap:10px; }
  .why__pill{ width:100%; padding:11px 20px 11px 11px; }
  .why__pill b{ white-space:normal; font-size:14px; }
  .why__ico{ width:42px; height:42px; }
}

/* ═════════════════════════ SEO / AEO QUICK ANSWERS ═════════════════════════ */

/* .seo-aeo__grid + .seo-takeaways are also reused as a generic "checklist"
   layout by the service-detail page's "What's included" list — keep them
   even though the Quick-answers block itself no longer uses them. */
.seo-aeo__grid{ max-width:880px; margin:0 auto; display:grid; gap:32px; }
.seo-takeaways{
  margin:0; padding:0; list-style:none;
  display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:12px;
}
.seo-takeaways li{
  display:flex; align-items:flex-start; gap:12px; padding:14px 16px;
  border:1px solid var(--line); border-radius:14px; background:var(--surface);
  font-size:14.5px; line-height:1.55; color:var(--text);
  transition:border-color .25s ease, transform .25s ease;
}
.seo-takeaways li:hover{ border-color:rgba(169,123,255,.4); transform:translateY(-2px); }
.seo-takeaways li::before{
  content:""; flex:none; width:20px; height:20px; margin-top:1px; border-radius:50%;
  background:var(--brand-dim);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235400e9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:center; background-size:11px;
}

/* Quick answers reuses the shared .faq/.faq__item accordion + the generic
   .faq__q badged-question treatment defined with the FAQ section below.
   Laid out as FAQ list (left) + a CTA card (right), same shape as the
   standalone FAQ page's own list+card layout below. */
.seo-aeo__layout{
  display:grid; grid-template-columns:1fr 340px; gap:32px; align-items:start;
  max-width:1180px; margin:0 auto;
}
.seo-aeo__list .faq{ max-width:none; margin:0; }
.seo-aeo__more{ margin:26px 0 0; text-align:center; }

/* Reuses the same dark gradient + circuit-trace decoration as the FAQ
   page's "still have questions" card and the CTA bands elsewhere, so all
   three read as the same component rather than one-offs. */
.seo-aeo__cta{
  padding:32px 28px; border-radius:24px; overflow:hidden; position:relative;
  background:linear-gradient(165deg, #24124f 0%, #0b0720 70%);
  box-shadow:0 30px 70px -40px rgba(20,4,70,.5);
}
.seo-aeo__cta-trace{
  position:absolute; inset:0; color:rgba(201,168,255,.28); pointer-events:none;
  mask-image:radial-gradient(120% 90% at 100% 0%, #000 30%, transparent 80%);
  -webkit-mask-image:radial-gradient(120% 90% at 100% 0%, #000 30%, transparent 80%);
}
.seo-aeo__cta-trace svg{ width:100%; height:100%; }
.seo-aeo__cta-body{ position:relative; z-index:1; }
.seo-aeo__cta-body h3{
  margin:0; font-family:var(--display); font-size:22px; font-weight:600;
  letter-spacing:-.02em; line-height:1.25; color:#fff;
}
.seo-aeo__cta-body p{ margin:12px 0 22px; font-size:14px; line-height:1.65; color:rgba(255,255,255,.68); }
.seo-aeo__cta-body .cta{ width:100%; justify-content:center; }

@media (max-width: 1024px){
  .seo-aeo__layout{ grid-template-columns:1fr; }
}

/* ═════════════════════════ BLOG ═════════════════════════ */

.blog-grid{ max-width:1080px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:24px; }
.blog-card{
  display:flex; flex-direction:column; border:1px solid var(--line); border-radius:20px; overflow:hidden;
  background:var(--surface); text-decoration:none; transition:transform .35s var(--ease), border-color .3s ease;
}
.blog-card:hover{ transform:translateY(-4px); border-color:rgba(169,123,255,.4); }
.blog-card__cover{ display:block; aspect-ratio:16/10; overflow:hidden; background:var(--lav); }
.blog-card__cover img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease); }
.blog-card:hover .blog-card__cover img{ transform:scale(1.05); }
.blog-card__body{ padding:22px 24px 26px; display:flex; flex-direction:column; gap:8px; flex:1; }
.blog-card__cat{ font-family:var(--display); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--brand-soft); }
.blog-card__body h3{ margin:0; font-family:var(--display); font-size:18px; font-weight:600; color:var(--fg); letter-spacing:-.01em; }
.blog-card__body p{ margin:0; font-size:13.5px; line-height:1.6; color:var(--text); flex:1; }
.blog-card__meta{ font-size:12px; color:var(--text-dim); margin-top:4px; }
.blog-card--sm .blog-card__body{ padding:16px 18px; }
.blog-card--sm .blog-card__body h3{ font-size:15px; }

.blog-post{ max-width:740px; margin:0 auto; }
.blog-post__head{ text-align:left; }
.blog-post__meta{ color:var(--text-dim); font-size:13.5px; margin:0 0 32px; }
.blog-post__cover{ width:100%; border-radius:20px; margin-bottom:36px; }
.blog-post__body{ font-size:16px; line-height:1.85; color:var(--text); }
.blog-post__body h2{ font-family:var(--display); color:var(--fg); font-size:1.3rem; margin:36px 0 14px; }
.blog-post__body h3{ font-family:var(--display); color:var(--fg); font-size:1.1rem; margin:28px 0 12px; }
.blog-post__body p{ margin:0 0 18px; }
.blog-post__body a{ color:var(--brand-soft); }
.blog-post__body ul, .blog-post__body ol{ margin:0 0 18px; padding-left:22px; }
.blog-post__more{ margin-top:64px; padding-top:40px; border-top:1px solid var(--line); }
.blog-post__more h3{ font-family:var(--display); color:var(--fg); font-size:1rem; margin:0 0 20px; }
.blog-post__more .blog-grid{ max-width:none; grid-template-columns:repeat(3, 1fr); }

/* ═════════════════════════ CASE STUDY / SERVICE PAGES ═════════════════════════ */

/* .case-study itself is NOT width-capped — the hero image and the 3-box
   grid below are meant to run the section's full width. Everything that
   reads better narrow (tags, quote, actions) keeps its own max-width. */
.case-study__tags{ max-width:860px; margin:16px auto 0; list-style:none; padding:0; display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.case-study__tags li{ padding:6px 14px; border-radius:999px; border:1px solid var(--line-2); font-size:12.5px; color:var(--text-dim); }

/* Hero screenshot — reuses the homepage portfolio card's scroll-on-hover
   mechanic (.work__thumb/.work__view/.work__frame/.work__img, wired up
   automatically by the existing JS) at a fixed banner-like height instead
   of the card's aspect-ratio box. */
.case-study__hero.work__thumb{
  display:block; width:100%; margin:36px 0; border-radius:20px;
  border:1px solid var(--line); overflow:hidden; cursor:default;
}
.case-study__hero .work__view{ aspect-ratio:auto; height:400px; }

.case-study__grid{
  margin:0; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:18px;
}
.case-study__block{ padding:22px 24px; border:1px solid var(--line); border-radius:18px; background:var(--surface); }
.case-study__block h3{ font-family:var(--display); color:var(--fg); font-size:1rem; margin:0 0 10px; }
.case-study__block p{ margin:0; font-size:14px; line-height:1.7; color:var(--text); }
.case-study__quote{ max-width:680px; margin:48px auto 0; padding:0; text-align:center; }
.case-study__quote p{ font-family:var(--display); font-size:1.2rem; font-weight:500; color:var(--fg); line-height:1.5; margin:0 0 12px; }
.case-study__quote cite{ font-style:normal; font-size:13px; color:var(--text-dim); }
.case-study__actions{ display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-top:48px; }

@media (max-width: 900px){
  .case-study__grid{ grid-template-columns:1fr; }
}

/* Service page — feature grid + definition block. Glass-panel treatment:
   translucent + blurred surfaces, same rgba/backdrop-filter formula
   already used for .hero__trust and the header's solid-scroll state,
   just scaled up to card size, so it reads as this site's own look
   rather than a bolted-on effect. */
.svc-features{ max-width:1080px; margin:0 auto 64px; }
.svc-features__grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:18px; margin-top:8px; }
.svc-features__card{
  padding:28px 24px; border-radius:20px;
  background:rgba(255,255,255,.045); border:1px solid rgba(255,255,255,.1);
  -webkit-backdrop-filter:blur(14px); backdrop-filter:blur(14px);
  box-shadow:0 20px 50px -35px rgba(20,4,70,.7);
  transition:transform .35s var(--ease), border-color .3s ease, background .3s ease;
}
.svc-features__card:hover{ transform:translateY(-5px); border-color:rgba(169,123,255,.4); background:rgba(255,255,255,.075); }
.svc-features__icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:48px; height:48px; border-radius:14px;
  background:rgba(169,123,255,.16); border:1px solid rgba(169,123,255,.22);
  transition:transform .4s var(--ease), background .4s ease;
}
.svc-features__icon svg{ width:22px; height:22px; fill:none; stroke:var(--brand-soft); stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.svc-features__card:hover .svc-features__icon{ transform:translateY(-3px) rotate(-6deg); background:rgba(169,123,255,.32); }
.svc-features__card h3{ margin:20px 0 10px; font-family:var(--display); font-size:18px; font-weight:600; letter-spacing:-.01em; color:var(--fg); }
.svc-features__card p{ margin:0; font-size:14px; line-height:1.65; color:var(--text); }

.svc-define{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px, 4vw, 64px); align-items:center;
  max-width:1080px; margin:0 auto 64px; padding:clamp(28px, 3.5vw, 44px); border-radius:26px;
  background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.09);
  -webkit-backdrop-filter:blur(16px); backdrop-filter:blur(16px);
  box-shadow:0 30px 70px -45px rgba(20,4,70,.75);
}
.svc-define__body h2{ margin:0 0 18px; }
.svc-define__text{ margin:0 0 14px; font-size:15px; line-height:1.75; color:var(--text); }
.svc-define__text:last-child{ margin-bottom:0; }
.svc-define__img{ border-radius:18px; overflow:hidden; border:1px solid rgba(255,255,255,.12); aspect-ratio:4/3; transition:border-color .35s ease; }
.svc-define__img img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s var(--ease); }
.svc-define__img:hover{ border-color:rgba(169,123,255,.4); }
.svc-define__img:hover img{ transform:scale(1.05); }
.svc-define--no-image{ grid-template-columns:1fr; text-align:center; }
.svc-define--no-image .svc-define__body{ max-width:720px; margin:0 auto; }

/* Service page banner — same header markup as every other subpage
   (.section__head), just with a radial brand-colour glow behind the
   title, scoped to this page instead of touching .section__head globally. */
.svc-banner{ position:relative; overflow:hidden; }
.svc-banner::before{
  content:""; position:absolute; top:-320px; left:50%; width:1100px; height:640px;
  transform:translateX(-50%); pointer-events:none; z-index:0;
  background:radial-gradient(ellipse at center, var(--brand-dim) 0%, rgba(84,0,233,.12) 42%, transparent 72%);
}
/* Matches the 1080px cap every other block on this page uses
   (.svc-define/.svc-features/.svc-split) instead of the sitewide
   1320px default .section > * applies — without this the banner reads
   wider than every section below it. */
.svc-banner .section__head{ position:relative; z-index:1; max-width:1080px; margin-inline:auto; }
.svc-pills li{ transition:border-color .25s ease, background .25s ease, color .25s ease; }
.svc-pills li:hover{ border-color:rgba(169,123,255,.4); background:var(--brand-dim); color:var(--fg); }

/* Feature grid pinned to a firm 4-up row on wide screens (design intent),
   falling back to the existing auto-fit behaviour below that. */
.svc-features__grid--4{ grid-template-columns:repeat(4, 1fr); }
@media (max-width: 980px){
  .svc-features__grid--4{ grid-template-columns:repeat(2, 1fr); }
}
@media (max-width: 560px){
  .svc-features__grid--4{ grid-template-columns:1fr; }
}

/* "What's included" split section — copy + checklist, same glass-panel
   language as .svc-define/.svc-features rather than a flat card. */
.svc-split{
  display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(40px, 6vw, 80px); align-items:center;
  max-width:1080px; margin:0 auto 64px;
}
.svc-split__title{ margin:14px 0 18px; font-family:var(--display); font-size:clamp(1.7rem, 3vw, 2.3rem); font-weight:700; letter-spacing:-.02em; line-height:1.18; color:var(--fg); }
.svc-split__title .hl{ background:linear-gradient(90deg, var(--brand-soft), #d8c4ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.svc-split__lede{ margin:0 0 20px; font-size:15px; line-height:1.75; color:var(--text); }
.svc-split__kicker{ margin:0; font-weight:600; color:var(--fg); font-size:14.5px; }

.svc-checklist{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.svc-checklist li{
  display:flex; align-items:center; gap:15px; padding:15px 20px; border-radius:14px;
  background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.09);
  font-size:14.5px; color:var(--text);
  transition:border-color .28s ease, background .28s ease, transform .28s ease;
}
.svc-checklist li:hover{ border-color:rgba(169,123,255,.4); background:rgba(255,255,255,.07); transform:translateX(6px); color:var(--fg); }
.svc-checklist__dot{
  flex:none; width:32px; height:32px; display:grid; place-items:center; border-radius:9px;
  background:var(--brand); color:#fff; box-shadow:0 4px 14px rgba(84,0,233,.4);
  transition:transform .28s ease, box-shadow .28s ease;
}
.svc-checklist li:hover .svc-checklist__dot{ transform:scale(1.08) rotate(-6deg); box-shadow:0 6px 20px rgba(84,0,233,.65); }
.svc-checklist__dot svg{ width:15px; height:15px; }

.svc-back-link{ display:none; text-align:center; margin:0 0 var(--pad-y); }
.svc-back-link a{ color:var(--text-dim); font-size:14px; text-decoration:none; }
.svc-back-link a:hover{ color:var(--fg); text-decoration:underline; }

@media (max-width: 860px){
  .svc-define{ grid-template-columns:1fr; }
  .svc-define__img{ order:-1; }
  .svc-split{ grid-template-columns:1fr; gap:36px; }
}

/* ═════════════════════════ TEAM / ABOUT PAGE ═════════════════════════ */

.team-grid{ max-width:1080px; margin:0 auto; display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:24px; text-align:center; }
.team-card{ padding:28px 20px; border:1px solid var(--line); border-radius:20px; background:var(--surface); transition:transform .3s var(--ease); }
.team-card:hover{ transform:translateY(-4px); }
.team-card__photo{ display:block; width:96px; height:96px; margin:0 auto 16px; border-radius:50%; overflow:hidden; }
.team-card__photo img{ width:100%; height:100%; object-fit:cover; }
.team-card__photo--placeholder{
  display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg, var(--brand), var(--brand-soft));
  color:#fff; font-family:var(--display); font-size:28px; font-weight:700;
}
.team-card h3{ margin:0 0 2px; font-family:var(--display); font-size:16px; color:var(--fg); }
.team-card__role{ margin:0 0 10px; font-size:12.5px; color:var(--brand-soft); font-weight:600; }
.team-card__bio{ margin:0; font-size:13px; line-height:1.6; color:var(--text-dim); }

@media (max-width: 900px){
  .blog-post__more .blog-grid{ grid-template-columns:1fr; }
}

/* ═════════════════════════ INQUIRY ═════════════════════════ */

.inq{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(30px, 5vw, 72px); align-items:start; }
.inq__side{ position:sticky; top:130px; }
.inq__facts{ margin:36px 0 0; }
.inq__facts > div{ display:flex; justify-content:space-between; gap:20px; padding:18px 0; border-top:1px solid var(--line); }
.inq__facts dt{ font-family:var(--display); font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--text-dim); }
.inq__facts dd{ margin:0; font-size:14.5px; color:var(--fg); text-align:right; }
.inq__facts a{ color:var(--brand-soft); text-decoration:none; }
.inq__facts a:hover{ text-decoration:underline; }

.inq__social{ margin-top:30px; }
.inq__social-label{
  display:block; margin-bottom:14px;
  font-family:var(--display); font-size:12px; font-weight:600;
  letter-spacing:.12em; text-transform:uppercase; color:var(--text-dim);
}
.inq__social ul{ display:flex; gap:10px; margin:0; padding:0; list-style:none; }
.inq__social a{
  display:grid; place-items:center; width:42px; height:42px;
  border-radius:12px; border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.035); color:rgba(255,255,255,.72);
  transition:all .3s var(--ease);
}
.inq__social svg{ width:19px; height:19px; fill:currentColor; }
.inq__social a:hover{ background:var(--lav); border-color:transparent; color:#20194a; transform:translateY(-4px); }

/* Hidden per request — markup/JS reveal logic left untouched, hidden purely via CSS. */
.inq__social.r2.in{
  display: none !important;
}

.inq__form{
  display:grid; grid-template-columns:1fr 1fr; column-gap:14px; row-gap:28px;
  padding:clamp(24px, 3vw, 38px); border:1px solid var(--line); border-radius:26px;
}
.field{ position:relative; }
.field--wide{ grid-column:1 / -1; }

.field input, .field textarea, .select select{
  width:100%; padding:22px 16px 10px;
  border:1px solid var(--line); border-radius:13px;
  background:var(--surface-2); color:var(--fg);
  font-family:var(--body); font-size:15px;
  transition:border-color .3s ease, box-shadow .3s ease;
}
.field textarea{ resize:vertical; min-height:110px; line-height:1.55; }
.field input:focus, .field textarea:focus, .select select:focus{
  outline:none; border-color:var(--brand); box-shadow:0 0 0 4px rgba(84,0,233,.14);
}
.field label{
  position:absolute; left:17px; top:17px; font-size:15px;
  color:var(--text-dim); pointer-events:none; transform-origin:left top;
  transition:transform .25s var(--ease), color .25s ease;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label{
  transform:translateY(-9px) scale(.76); color:var(--brand);
}
.field input:invalid:not(:placeholder-shown), .field textarea:invalid:not(:placeholder-shown){ border-color:#e05a5a; }

.select{ position:relative; }
.select select{ padding:16px; appearance:none; }
.select select:invalid{ color:var(--text-dim); }
.select option{ background:var(--menu-bg); color:var(--fg); }
.select svg{
  position:absolute; right:18px; top:50%; transform:translateY(-50%);
  width:12px; fill:none; stroke:var(--text-dim); stroke-width:1.8;
  stroke-linecap:round; stroke-linejoin:round; pointer-events:none;
}

.chips{ border:0; margin:0; padding:6px 0 0; display:flex; flex-wrap:wrap; gap:8px; }
.chips legend{ padding:0 0 12px; font-size:13px; color:var(--text-dim); }
.chips label{ cursor:pointer; }
.chips input{ position:absolute; opacity:0; width:0; height:0; }
.chips span{
  display:inline-block; padding:9px 15px; border-radius:10px;
  border:1px solid var(--line); background:var(--surface-2);
  font-size:13.5px; color:var(--text); transition:all .28s var(--ease);
}
.chips label:hover span{ border-color:var(--brand); color:var(--fg); }
.chips input:checked + span{ background:var(--brand); border-color:transparent; color:#fff; transform:translateY(-2px); }
.chips input:focus-visible + span{ outline:2px solid var(--brand); outline-offset:3px; }

.cta--submit{ grid-column:1 / -1; margin-top:6px; width:100%; justify-content:center; }
.cta--submit .cta__label{ padding-left:0; }
.cta--submit .cta__arrow{ padding-right:0; padding-left:12px; }
.cta--submit .spinner{ display:none; }
.cta--submit.is-loading .cta__arrow{ display:none; }
.cta--submit.is-loading .spinner{
  display:inline-block; width:15px; height:15px; margin-left:12px; border-radius:50%;
  border:2px solid rgba(255,255,255,.4); border-top-color:#fff;
  animation:cta-spin .7s linear infinite;
}
@keyframes cta-spin{ to{ transform:rotate(360deg); } }
.inq__note{ grid-column:1 / -1; margin:2px 0 0; font-size:12.5px; color:var(--text-dim); }
.inq__ok, .pop__ok{
  grid-column:1 / -1; margin:0; padding:16px 18px; border-radius:13px;
  background:rgba(30,160,90,.12); border:1px solid rgba(30,160,90,.4);
  font-size:14px; color:#177a4b; display:none;
}
.inq__error, .pop__error{
  grid-column:1 / -1; margin:0; padding:14px 18px; border-radius:13px;
  background:rgba(224,90,90,.1); border:1px solid rgba(224,90,90,.4);
  font-size:14px; color:#c53d3d; display:none;
}

/* Inline field validation — sits absolutely below the
   field so it never reflows the surrounding form grid. */
.field.is-invalid input, .field.is-invalid textarea,
.select.is-invalid select{
  border-color:#e05a5a !important; box-shadow:0 0 0 4px rgba(224,90,90,.14);
}
.field__error{
  position:absolute; left:3px; top:100%; margin-top:5px; z-index:1;
  font-size:12px; line-height:1.3; color:#d43f3f; font-weight:500;
  opacity:0; transform:translateY(-4px); pointer-events:none;
  transition:opacity .22s ease, transform .22s ease;
}
.field__error.is-visible{ opacity:1; transform:translateY(0); }

/* ═════════════════════════ FOOTER ═════════════════════════ */

.footer{
  position:relative; z-index:1; isolation:isolate; color:#fff;
  padding:clamp(56px, 7vh, 84px) var(--pad-x) 28px;
  overflow:hidden;
}
.footer::before{
  content:""; position:absolute; top:0; left:0; right:0; height:1px;
  background:linear-gradient(90deg, transparent, rgba(230,229,247,.4) 48%, transparent);
}
.footer__glow{
  position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(42% 65% at 8% -10%, rgba(84,0,233,.28), transparent 70%),
    radial-gradient(34% 55% at 94% -4%, rgba(122,43,255,.18), transparent 72%);
}
.footer__top{ max-width:var(--max); margin-inline:auto; display:grid; grid-template-columns:1.1fr 1.6fr; gap:clamp(30px, 5vw, 70px); }
.footer__brand{ min-width:0; }
.footer__blurb{ margin:22px 0 26px; max-width:34ch; font-size:14.5px; line-height:1.65; color:rgba(255,255,255,.72); }

.socials{ display:flex; gap:10px; margin:0; padding:0; list-style:none; }
.socials a{
  display:grid; place-items:center; width:42px; height:42px;
  border-radius:12px; border:1px solid rgba(255,255,255,.09);
  background:rgba(255,255,255,.035); color:rgba(255,255,255,.72);
  text-decoration:none; transition:all .3s var(--ease);
}
.socials svg{ width:19px; height:19px; fill:currentColor; }
.socials a:hover{ background:var(--lav); border-color:transparent; color:#20194a; transform:translateY(-4px); box-shadow:0 12px 26px -12px rgba(122,43,255,.7); }

.footer__nav{ display:grid; grid-template-columns:repeat(3, 1fr); gap:26px; }
.footer__nav h4{ margin:0 0 16px; font-family:var(--display); font-size:11px; font-weight:600; letter-spacing:.24em; text-transform:uppercase; color:rgba(255,255,255,.5); }
.footer__nav a, .footer__nav span{
  display:block; padding:6px 0; font-size:14.5px; color:rgba(255,255,255,.72);
  text-decoration:none; transition:color .25s ease, transform .25s var(--ease);
}
.footer__nav a:hover{ color:#fff; transform:translateX(3px); }

.footer__cta-link{ display:inline-flex !important; align-items:center; gap:7px; color:var(--lav) !important; font-weight:600; padding:6px 0 14px !important; }
.footer__cta-link span{ display:inline-block; padding:0; transition:transform .3s var(--ease); }
.footer__cta-link:hover{ color:#fff !important; }
.footer__cta-link:hover span{ transform:translateX(4px); }

.footer__contact{ list-style:none; margin:2px 0 0; padding:0; display:flex; flex-direction:column; gap:12px; }
.footer__contact li{ display:flex; align-items:center; gap:11px; }
.footer__contact-ico{
  display:grid; place-items:center; flex:none; width:38px; height:38px;
  border-radius:11px; background:rgba(169,123,255,.16); border:1px solid rgba(169,123,255,.3);
  color:var(--brand-soft);
}
.footer__contact-ico svg{ width: 31px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5px;
    stroke-linecap: round;
    stroke-linejoin: round; }
.footer__contact a, .footer__contact span{ display:inline-block; padding:0; font-size:14px; color:rgba(255,255,255,.72); }
.footer__contact a:hover{ color:#fff; transform:none; }

.footer__bottom{
  max-width:var(--max); margin:clamp(44px,6vh,68px) auto 0; padding-top:24px;
  border-top:1px solid rgba(255,255,255,.09);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
  font-size:13px; color:rgba(255,255,255,.5);
}
.footer__bottom p{ margin:0; }
.footer__bottom-right{ display:flex; align-items:center; gap:22px; }
.footer__legal a{ color:inherit; text-decoration:none; margin-left:20px; }
.footer__legal a:first-child{ margin-left:0; }
.footer__legal a:hover{ color:#fff; }

.footer__top-btn{
  display:grid; place-items:center; flex:none; width:38px; height:38px;
  border-radius:50%; border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.04); color:rgba(255,255,255,.75);
  transition:all .3s var(--ease);
}
.footer__top-btn svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.footer__top-btn:hover{ background:var(--lav); border-color:transparent; color:#20194a; transform:translateY(-4px); box-shadow:0 12px 26px -12px rgba(122,43,255,.7); }

/* ══════════════════════════ POPUP ══════════════════════════ */

.pop{ position:fixed; inset:0; z-index:200; display:grid; place-items:center; padding:clamp(12px,3vw,28px); }
.pop[hidden]{ display:none; }
.pop__backdrop{
  position:absolute; inset:0; background:rgba(5,3,12,.74);
  opacity:0; transition:opacity .8s ease;
}
.pop.is-open .pop__backdrop{ opacity:1; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); }

.pop__box{
  position:relative; width:min(960px, 100%); max-height:min(92vh, 760px);
  overflow:auto; border-radius:clamp(20px, 2.4vw, 28px);
  display:grid; grid-template-columns:.92fr 1.08fr;
  background:#0e0a22; box-shadow:0 60px 120px -50px rgba(0,0,0,.95);
  opacity:0; transform:translateY(26px) scale(.97);
  transition:opacity .8s var(--ease), transform .8s var(--ease);
}
.pop.is-open .pop__box{ opacity:1; transform:none; }

.pop__x{
  position:absolute; top:14px; right:14px; z-index:5;
  width:38px; height:38px; border-radius:50%; cursor:pointer;
  display:grid; place-items:center;
  border:1px solid rgba(21,16,51,.16); background:rgba(255,255,255,.9); color:#151033;
  transition:transform .3s var(--ease), background .3s ease;
}
.pop__x svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.pop__x:hover{ transform:rotate(90deg); background:#fff; }

.pop__left{
  padding:clamp(28px, 3.4vw, 44px);
  background:linear-gradient(165deg, #24124f 0%, #0b0720 70%);
  display:flex; flex-direction:column;
}

.pop__left h2{
  margin:0; font-family:var(--display);
  font-size:clamp(22px, 2.4vw, 31px); font-weight:600;
  line-height:1.14; letter-spacing:-.03em; color:#fff;
}
.pop__left p{ margin:16px 0 0; font-size:14.5px; line-height:1.65; color:rgba(255,255,255,.72); }


.pop__trace{
  position:absolute; inset:0 auto 0 0; width:78%;
  color:rgba(201,168,255,.3); pointer-events:none;
  mask-image:linear-gradient(90deg, #000 20%, transparent 92%);
  -webkit-mask-image:linear-gradient(90deg, #000 20%, transparent 92%);
}
.pop__trace svg{ width:100%; height:100%; }
.pop__lead{ position:relative; z-index:2; }
.pop__eyebrow{
  display:inline-flex; align-items:center; gap:9px; margin:0 0 16px;
  padding:7px 15px 7px 11px; border-radius:999px;
  border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.07);
  font-family:var(--display); font-size:10.5px; font-weight:600;
  letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.86);
}
.pop__eyebrow i{ width:6px; height:6px; border-radius:50%; background:var(--brand-soft); box-shadow:0 0 10px var(--brand-soft); }
.pop__text{ margin:14px 0 0; font-size:14.5px; line-height:1.7; color:rgba(255,255,255,.72); }
.pop__points{ margin:22px 0 0; padding:0; list-style:none; display:grid; gap:11px; }
.pop__points li{
  position:relative; padding-left:26px;
  font-size:13.5px; line-height:1.5; color:rgba(255,255,255,.82);
}
.pop__points li::before{
  content:""; position:absolute; left:0; top:4px;
  width:15px; height:15px; border-radius:50%;
  background:var(--brand); box-shadow:0 0 0 3px rgba(84,0,233,.22);
}
.pop__points li::after{
  content:""; position:absolute; left:5px; top:8px;
  width:4px; height:7px; border:solid #fff; border-width:0 1.7px 1.7px 0;
  transform:rotate(43deg);
}

.pop__social{ position:relative; z-index:2; margin-top:auto; padding-top:30px; }
.pop__social-label{
  display:block; margin-bottom:14px;
  font-family:var(--display); font-size:10.5px; font-weight:600;
  letter-spacing:.22em; text-transform:uppercase; color:rgba(255,255,255,.5);
}
.pop__social ul{ display:flex; gap:10px; margin:0; padding:0; list-style:none; }
.pop__social a{
  display:grid; place-items:center; width:42px; height:42px;
  border-radius:12px; border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05); color:rgba(255,255,255,.8);
  transition:all .3s var(--ease);
}
.pop__social svg{ width:19px; height:19px; fill:currentColor; }
.pop__social a:hover{ background:var(--lav); color:#20194a; border-color:transparent; transform:translateY(-4px); }

.pop__form{ display:grid; gap:26px; align-content:start; padding:clamp(28px, 3.4vw, 44px); }
.pop__form .field input, .pop__form .field textarea{ background:#fff; }
.pop__form .cta{ margin-top:6px; width:100%; justify-content:center; }


/* ═══════════════════ STICKY WHATSAPP BUTTON ═══════════════════ */

.wa{
  position:fixed; z-index:150;
  right:clamp(14px, 2.2vw, 30px); bottom:clamp(14px, 2.2vw, 30px);
  width:58px; height:58px; text-decoration:none;
}
.wa__pulse{
  position:absolute; inset:0; border-radius:50%;
  background:#25d366; animation:waPulse 2.6s ease-out infinite;
}
@keyframes waPulse{
  0%{ transform:scale(1); opacity:.55; }
  70%{ transform:scale(2); opacity:0; }
  100%{ transform:scale(2); opacity:0; }
}
.wa__dot{
  position:relative; z-index:2;
  display:grid; place-items:center; width:100%; height:100%;
  border-radius:50%; background:#25d366; color:#fff;
  box-shadow:0 16px 32px -12px rgba(37,211,102,.8);
  transition:transform .35s var(--ease), background .3s ease;
}
.wa__dot svg{ width:30px; height:30px; fill:currentColor; }
.wa:hover .wa__dot{ transform:scale(1.07); background:#1fbe5a; }
/* appointment form heading */
.inq__formhead{ grid-column:1 / -1; margin-bottom:6px; }
.inq__formhead h3{
  margin:0; font-family:var(--display);
  font-size:clamp(20px, 2.1vw, 27px); font-weight:700;
  letter-spacing:-.018em; color:var(--fg);
}
.inq__formhead p{ margin:8px 0 0; font-size:13.5px; color:var(--text-dim); }


/* ═══════════════════ SUB-PAGE: BOOK A CALL ═══════════════════ */

/* pages with no pinned hero keep the dark canvas permanently */
body.page--dark{ --p:1; }

/* ─── banner ─── */
.banner{
  position:relative; z-index:1; overflow:hidden;
  display:grid; place-items:center; text-align:center;
  padding:calc(var(--header-h) + clamp(46px, 8vh, 92px)) var(--pad-x) clamp(46px, 7vh, 82px);
}
.banner__img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.banner__veil{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(6,8,20,.86) 0%, rgba(6,8,20,.66) 45%, rgba(6,8,20,.93) 100%),
    radial-gradient(60% 70% at 50% 45%, rgba(84,0,233,.32), transparent 72%);
}
.banner__inner{ position:relative; z-index:2; max-width:760px; }
.banner__eyebrow{
  display:inline-flex; align-items:center; gap:10px; margin:0 0 18px;
  padding:8px 17px 8px 13px; border-radius:999px;
  border:1px solid rgba(255,255,255,.2); background:rgba(255,255,255,.09);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  font-family:var(--display); font-size:11px; font-weight:600;
  letter-spacing:.2em; text-transform:uppercase; color:rgba(255,255,255,.9);
}
.banner__eyebrow span{
  width:7px; height:7px; border-radius:50%; background:#5eead4;
  box-shadow:0 0 10px 2px rgba(94,234,212,.7);
}
.banner__title{
  margin:0; font-family:var(--display);
  font-size:clamp(34px, 5.6vw, 64px); font-weight:800;
  letter-spacing:-.01em; line-height:1.05; color:#fff;
  text-shadow:0 6px 30px rgba(0,0,0,.6);
}
.banner__lede{
  margin:18px auto 0; max-width:56ch;
  font-size:clamp(14.5px, 1.1vw, 16.5px); line-height:1.7; color:rgba(255,255,255,.74);
}
.banner__crumb{
  display:flex; align-items:center; justify-content:center; gap:10px;
  margin:24px 0 0; font-size:13px; color:rgba(255,255,255,.55);
}
.banner__crumb a{ color:rgba(255,255,255,.85); text-decoration:none; }
.banner__crumb a:hover{ color:#fff; text-decoration:underline; }
.banner__crumb span{ color:var(--brand-soft); }

/* ─── scheduler layout ─── */
.book{
  display:grid; grid-template-columns:minmax(0, 380px) minmax(0, 1fr);
  gap:clamp(20px, 3vw, 40px); align-items:start;
  max-width:var(--max); margin-inline:auto;
}
.book__side{ position:sticky; top:calc(var(--header-h) + 20px); display:grid; gap:14px; }

.book__card{
  padding:28px 26px; border-radius:20px;
  border:1px solid var(--line); background:var(--surface);
}
.book__card h2{
  margin:0 0 20px; font-family:var(--display);
  font-size:19px; font-weight:700; letter-spacing:-.015em; color:var(--fg);
}
.book__steps{ margin:0; padding:0; list-style:none; display:grid; gap:18px; counter-reset:bs; }
.book__steps li{ position:relative; padding-left:42px; counter-increment:bs; }
.book__steps li::before{
  content:counter(bs, decimal-leading-zero);
  position:absolute; left:0; top:1px;
  font-family:var(--mono); font-size:12px; color:var(--brand-soft);
}
.book__steps b{ display:block; font-family:var(--display); font-size:15.5px; font-weight:600; color:var(--fg); }
.book__steps span{ display:block; margin-top:5px; font-size:13.5px; line-height:1.6; color:var(--text); }

.book__points{ margin:0; padding:0; list-style:none; display:grid; gap:2px; }
.book__points li{
  position:relative; padding:13px 16px 13px 42px;
  border-radius:12px; font-size:13.5px; color:var(--text);
  transition:background .3s ease;
}
.book__points li:hover{ background:var(--surface); }
.book__points li::before{
  content:""; position:absolute; left:16px; top:16px;
  width:14px; height:14px; border-radius:50%; background:var(--brand);
}
.book__points li::after{
  content:""; position:absolute; left:20.5px; top:19.5px;
  width:4px; height:7px; border:solid #fff; border-width:0 1.7px 1.7px 0;
  transform:rotate(43deg);
}

.book__alt{
  padding:22px 24px; border-radius:18px;
  border:1px solid var(--line); border-left:3px solid var(--brand);
  background:var(--surface);
}
.book__alt p{ margin:0 0 12px; font-family:var(--display); font-size:14px; font-weight:600; color:var(--fg); }
.book__alt a{
  display:block; padding:5px 0; font-size:13.5px;
  color:var(--brand-soft); text-decoration:none;
}
.book__alt a:hover{ text-decoration:underline; }

.book__main{
  padding:clamp(14px, 1.8vw, 22px);
  border-radius:24px; border:1px solid var(--line);
  background:var(--lav);
  box-shadow:0 40px 90px -50px rgba(20,4,70,.9);
}
.book__head{ padding:14px 14px 20px; text-align:center; }
.book__badge{
  display:inline-block; margin-bottom:12px;
  padding:6px 14px; border-radius:999px;
  background:rgba(84,0,233,.12); border:1px solid rgba(84,0,233,.3);
  font-family:var(--display); font-size:10.5px; font-weight:700;
  letter-spacing:.18em; text-transform:uppercase; color:var(--brand);
}
.book__head h2{
  margin:0; font-family:var(--display);
  font-size:clamp(20px, 2.2vw, 27px); font-weight:700;
  letter-spacing:-.018em; color:#151033;
}
.book__head p{ margin:10px auto 0; max-width:48ch; font-size:14px; line-height:1.6; color:rgba(21,16,51,.66); }

.calendly-inline-widget{ border-radius:16px; overflow:hidden; background:#fff; }
.book__noscript{ padding:40px; text-align:center; color:rgba(21,16,51,.7); }
.book__noscript a{ color:var(--brand); }

@media (max-width: 1024px){
  .book{ grid-template-columns:1fr; }
  .book__side{ position:static; }
}

.faq{ max-width:860px; margin:clamp(30px, 5vh, 54px) auto 0; display:grid; gap:10px; }
.faq--steps{
  max-width:1080px; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px;
}
.faq__item{
  border:1px solid var(--line); border-radius:16px;
  background:var(--surface); overflow:hidden;
  transition:border-color .35s ease, background .35s ease;
}
.faq__item[open]{ border-color:rgba(169,123,255,.45); background:var(--surface-2); }
.faq__item summary{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  padding:20px 22px; cursor:pointer; list-style:none;
  font-family:var(--display); font-size:16px; font-weight:600;
  letter-spacing:-.01em; color:var(--fg);
}
.faq__item summary{ list-style:none; }
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__item summary::marker{ content:""; } /* Firefox uses ::marker, not ::-webkit-details-marker — without this the native triangle showed up alongside the custom chevron */
.faq__item summary::after{
  content:""; flex:none; width:11px; height:11px;
  border-right:2px solid var(--brand-soft); border-bottom:2px solid var(--brand-soft);
  transform:rotate(45deg) translate(-2px,-2px);
  transition:transform .35s var(--ease);
}
.faq__item[open] summary::after{ transform:rotate(-135deg) translate(-3px,-3px); }
.faq__item p{ margin:0; padding:0 22px 22px; font-size:14.5px; line-height:1.7; color:var(--text); }
.faq__item a{ color:var(--brand-soft); }

/* Badged question — a small brand-tinted box (a "?" or a number) in front
   of the question text, same icon-badge language used everywhere else on
   the site (services, industries, footer contact icons). Opt in with
   .faq--badged on the wrapping .faq container. */
.faq--badged .faq__item summary{ gap:0; }
.faq__q{ display:flex; align-items:center; gap:16px; }
.faq__q-badge{
  flex:none; display:grid; place-items:center; width:30px; height:30px; font-style:normal;
  border-radius:9px; background:var(--brand-dim); color:var(--brand);
  font-family:var(--display); font-size:14px; font-weight:700;
  transition:background .3s ease, color .3s ease;
}
.faq__item[open] .faq__q-badge{ background:var(--brand); color:#fff; }

.faq__item--step{
  padding:24px 24px 26px;
  border:1px solid var(--line); border-left:3px solid var(--brand);
  border-radius:18px; background:var(--surface);
  overflow:visible;
}
.faq__item--step h3{
  margin:0 0 10px; font-family:var(--display); font-size:18px; font-weight:700;
  letter-spacing:-.012em; color:var(--fg);
}
.faq__item--step p{
  padding:0; font-size:14.5px; line-height:1.7; color:var(--text);
}

@media (max-width: 900px){
  .faq--steps{ grid-template-columns:1fr; }
}

/* ═════════════════════════ FAQ PAGE ═════════════════════════ */

.faq-page__layout{
  display:grid; grid-template-columns:1fr 340px; gap:32px; align-items:start;
  max-width:1180px; margin:0 auto;
}
.faq-page__group + .faq-page__group{ margin-top:34px; }
.faq-page__cat{
  margin:0 0 16px; font-family:var(--display); font-size:13px; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase; color:var(--brand-soft);
}
.faq-page__list .faq{ max-width:none; margin:0; }

/* A sticky "still have questions" card, reusing the same dark gradient +
   circuit-trace decoration as the popup/CTA bands elsewhere on the site. */
.faq-page__cta{
  position:sticky; top:calc(var(--header-h) + 20px);
  padding:32px 28px; border-radius:24px; overflow:hidden;
  background:linear-gradient(165deg, #24124f 0%, #0b0720 70%);
  box-shadow:0 30px 70px -40px rgba(20,4,70,.5);
}
.faq-page__cta-trace{
  position:absolute; inset:0; color:rgba(201,168,255,.28); pointer-events:none;
  mask-image:radial-gradient(120% 90% at 100% 0%, #000 30%, transparent 80%);
  -webkit-mask-image:radial-gradient(120% 90% at 100% 0%, #000 30%, transparent 80%);
}
.faq-page__cta-trace svg{ width:100%; height:100%; }
.faq-page__cta-body{ position:relative; z-index:1; }
.faq-page__cta-body h3{
  margin:0; font-family:var(--display); font-size:22px; font-weight:600;
  letter-spacing:-.02em; line-height:1.25; color:#fff;
}
.faq-page__cta-body p{ margin:12px 0 22px; font-size:14px; line-height:1.65; color:rgba(255,255,255,.68); }
.faq-page__cta-body .cta{ width:100%; justify-content:center; }

@media (max-width: 1024px){
  .faq-page__layout{ grid-template-columns:1fr; }
  .faq-page__cta{ position:static; }
}


/* ═══════════════ DEVICE & BROWSER HARDENING ═══════════════ */

/* iOS/Android address-bar-safe viewport units */
@supports (height: 100svh){ .hero{ min-height:84svh; } }

/* notch and gesture-bar insets */
.site-header{ padding-left:max(clamp(18px,4vw,60px), env(safe-area-inset-left)); padding-right:max(clamp(18px,4vw,60px), env(safe-area-inset-right)); }
.wa{ right:max(clamp(14px,2.2vw,30px), env(safe-area-inset-right)); bottom:max(clamp(14px,2.2vw,30px), env(safe-area-inset-bottom)); }
.footer{ padding-bottom:max(28px, env(safe-area-inset-bottom)); }

/* colour-mix is recent — give the tech tiles a plain fallback first */
.tech__tile{ background:rgba(84,0,233,.12); border-color:rgba(84,0,233,.3); }
@supports (background: color-mix(in srgb, red 10%, transparent)){
  .tech__tile{
    background:color-mix(in srgb, var(--c) 15%, transparent);
    border-color:color-mix(in srgb, var(--c) 38%, transparent);
  }
}

/* aspect-ratio fallback for older Safari */
@supports not (aspect-ratio: 1){
  .devloop{ height:auto; }
  .work__view{ height:0; padding-bottom:75%; }
  .work__thumb--tall .work__view{ padding-bottom:133%; }
}

/* every interactive target reaches the 44px minimum on touch */
@media (pointer: coarse){
  .nav__list a, .footer__nav a, .socials a, .tech__cat,
  .faq__item summary, .chips span, .banner__crumb a{ min-height:44px; }
  .socials a{ width:46px; height:46px; }
  .pop__x{ width:44px; height:44px; }
  .book__points li{ padding-top:15px; padding-bottom:15px; }
}

/* trackpad/touch momentum should not fight the sticky decks */
html{ -webkit-text-size-adjust:100%; }
img, video{ max-width:100%; }
input, select, textarea, button{ font:inherit; }
/* iOS zooms any field under 16px on focus */
@media (max-width: 640px){
  .field input, .field textarea, .select select{ font-size:16px; }
  a.ghost {
    border: 2px solid #5400e9a8;
    display: inline-flex;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    color: #fff !important;
    border-radius: 10px;
    font-size: 18px;
}
}

/* visible skip target for keyboard users landing on a long page */
.site-header a:focus-visible, .nav__list a:focus-visible{ outline-offset:4px; }

/* Windows high-contrast */
@media (forced-colors: active){
  .cta, .btn, .header-cta{ border:1px solid ButtonText; }
  .why__card, .svc__card, .work__thumb{ border:1px solid CanvasText; }
}


/* ═══════════════ SITE-WIDE ELEMENT MOTION ═══════════════ */

/* rows and list items lift in one after another */
.svc__card, .why__card, .ind__card, .work__item, .tech__item,
.why__pill, .faq__item, .book__card, .book__alt{
  transition-property:opacity, transform, border-color, background, box-shadow;
}

/* the footer columns arrive with the rest */
.footer__brand, .footer__nav > div{ will-change:opacity, transform; }

/* icons settle whenever their card is entered */
.svc__icon svg, .ind__icon svg, .why__ico svg{
  transition:transform .45s var(--ease), stroke .35s ease;
}

/* links pick up a shared underline sweep */
.footer__nav a, .book__alt a, .faq__item a, .inq__facts a{ position:relative; }

/* eyebrow dots breathe on every section */
.eyebrow i{ animation:eyebrowBeat 3.2s ease-in-out infinite; }
@keyframes eyebrowBeat{ 0%,100%{ opacity:1; } 50%{ opacity:.4; } }

/* section rules draw themselves in */
.rule{ transform-origin:left; transform:scaleX(0); transition:transform .8s var(--ease) .1s; }
.r2.in.rule, .in .rule, .rule.in{ transform:scaleX(1); }

/* ═══════════════ RESPONSIVE SWEEP ═══════════════ */

@media (max-width: 1240px){
  .devloop{ width:min(100%, 300px); }
}
@media (max-width: 1024px){
  .banner__title{ font-size:clamp(30px, 8vw, 46px); }
  .book__head{ padding:12px 8px 18px; }
}
@media (max-width: 900px){
  .marquee__set b{ font-size:13px; }
  .tcard__text{ font-size:16px; }
  .inq__facts > div{ flex-direction:column; gap:6px; }
  .inq__facts dd{ text-align:left; }
  .footer__bottom{ flex-direction:column; align-items:flex-start; }
  .footer__bottom-right{ width:100%; justify-content:space-between; }
  .footer__legal a{ margin:0 20px 0 0; }
}
@media (max-width: 640px){
  .section{ padding-left:18px; padding-right:18px; }
  .devloop{ width:min(100%, 240px); }
  .work__meta{ flex-direction:column; gap:8px; }
  .work__meta ul{ text-align:left; }
  .tcard__body{ padding:52px 20px 30px; }
  .tcard__tab{ left:20px; }
  .book__points li{ padding-left:38px; }
  .calendly-inline-widget{ min-width:0 !important; }
  .banner__crumb{ font-size:12px; }
  .marquee{ padding:14px 0; }
}
@media (max-width: 380px){
  .hero__rated{
  display:inline-flex; align-items:center; gap:11px;
  margin:0 0 clamp(20px, 2.8vh, 30px);
  padding:9px 18px 9px 14px; border-radius:999px;
  border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.05);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  color:var(--text-lo); text-decoration:none;
  font-family:var(--display); font-size:12.5px; font-weight:600;
  letter-spacing:.06em;
  opacity:0; animation:heroRise .8s var(--ease) .1s forwards;
  transition:border-color .3s ease, background .3s ease, transform .3s var(--ease);
}
.hero__rated:hover{ border-color:rgba(20,168,0,.55); background:rgba(20,168,0,.1); transform:translateY(-2px); }
.hero__rated-stars{ color:#ffc85c; font-size:12px; letter-spacing:.1em; }
.hero__rated-logo{ width:20px; height:20px; fill:#14a800; flex:none; }

.hero__h1{ font-size:1.7rem; }
  .cta__label{ font-size:15px; padding-left:18px; }
  .logo__name{ font-size:17px; }
}

/* ═══════════════════════════ A11Y ═══════════════════════════ */

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible{
  outline:2px solid var(--brand-soft); outline-offset:3px; border-radius:8px;
}

/* ════════════════════════ RESPONSIVE ════════════════════════ */

@media (max-width: 1240px){
  :root{ --header-h:92px; }

  .burger{ display:flex; }
  .logo{ z-index:70; }
  .header-cta--bar{ display:none; }
  .nav__cta{ display:block; }
  .nav{
    position:fixed; inset:0; z-index:50;
    display:grid; place-items:center;
    background:radial-gradient(90% 70% at 50% 0%, #1a0d3d 0%, rgba(7,5,15,.98) 62%);
    backdrop-filter:blur(22px); -webkit-backdrop-filter:blur(22px);
    opacity:0; visibility:hidden;
    transition:opacity .45s var(--ease), visibility .45s;
  }
  .nav.is-open{ opacity:1; visibility:visible; }
  .nav__list{ flex-direction:column; gap:4px; width:min(440px, 82vw); }
  .nav__list li{
    width:100%; text-align:center;
    opacity:0; transform:translateY(20px);
    transition:opacity .5s var(--ease), transform .5s var(--ease);
    transition-delay:calc(var(--k) * 55ms);
  }
  .nav.is-open .nav__list li{ opacity:1; transform:none; }
  .nav__list a{
    display:block; padding:16px 0; color:#fff;
    font-family:var(--display); font-size:clamp(24px, 5.4vw, 34px);
    font-weight:600; letter-spacing:-.02em; opacity:1;
  }
  .nav__list a::after{ display:none; }
  .nav__cta{ margin-top:20px; }
  .nav__cta .header-cta{ justify-content:center; width:100%; padding:18px 24px; border-radius:14px; font-size:17px; }

  .svc{ grid-template-columns:repeat(2, 1fr); }
  .tech{ grid-template-columns:1fr; }
  .tech__rail{ flex-direction:row; overflow-x:auto; padding-bottom:4px; scrollbar-width:none; }
  .tech__rail::-webkit-scrollbar{ display:none; }
  .tech__cat{ white-space:nowrap; flex:none; }
  .tech__grid{ grid-auto-rows:auto; }
  .ind{ grid-template-columns:1fr; }
  .ind__visual{ position:static; }
  .about, .inq{ grid-template-columns:1fr; }
  .about__intro, .inq__side{ position:static; }
}

@media (max-width: 900px){
  .work{ grid-template-columns:repeat(2, 1fr); }
  .work__col--drop, .work__col--mid{ margin-top:0; }
  .work__col--mid{ grid-column:1 / -1; grid-template-columns:repeat(2,1fr); }
  .tcard__body{ grid-template-columns:1fr; justify-items:center; text-align:center; }
  .tcard__person{ width:auto; }
  .tcard__rating{ justify-content:center; }
  .tcard__body-copy{ min-width:0; }
.tcard__quote{ text-align:center; }
  .footer__top{ grid-template-columns:1fr; }
  .pop__box{ grid-template-columns:1fr; }
  .pop__left{ padding-bottom:28px; }

  /* The scroll-pinned "one card at a time" effect reserves a tall runway
     (height:250-300vh) sized for desktop scroll speed. On phones/tablets
     that leaves a huge dead-scroll gap after the last card. Same fallback
     already used for prefers-reduced-motion: a plain stacked grid instead. */
  .stack{ height:auto; }
  .stack__pin{ position:static; height:auto; display:block; padding:0; }
  .stack__deck{ height:auto !important; display:grid; gap:22px; }
  .stack__card{ position:static; transform:none; opacity:1; }
  .stack__card::after, .stack__dots{ display:none; }
}

@media (max-width: 640px){
  :root{ --header-h:74px; }
  .logo__mark{ width:36px; height:36px; }
  .logo__name{ font-size:19px; }
  .cta{ width:100%; justify-content:center; }
  .cta__label{ padding-left:20px; }
  .ghost{ min-height:auto; }
  .svc, .ind__grid, .work, .footer__nav, .inq__form, .tech__grid{ grid-template-columns:1fr; }
  .why__pill{ width:100%; }
  .why__pill b{ white-space:normal; }
  .ctaband__trace{ width:44%; opacity:.6; }
  .wa{ width:52px; height:52px; }
  .work__col--mid{ grid-template-columns:1fr; }
  .ctaband__btns .btn, .ctaband__btns .cta{ width:100%; justify-content:center; }
  .field--wide, .cta--submit{ grid-column:1; }
  .magnetic{ transform:none !important; }

  /* Popup: keep just the "Free consultation" badge above the form so the
     whole popup fits in one screen with no scrolling on a phone. */
  .pop__lead h2, .pop__text, .pop__points, .pop__social{ display:none; }
  .pop__lead{ margin-bottom:4px; }
  .pop__left{ padding-bottom:20px; }
}

/* ══════════════════════ REDUCED MOTION ══════════════════════ */

@media (prefers-reduced-motion: reduce){
  :root{ --p:1; --mx:0; --my:0; }
  html{ scroll-behavior:auto; }
  .hero h1 .line > span, .eyebrow-line, .cta-row{ animation:none; opacity:1; transform:none; }
  .hero-video{ filter:none; }
  .caret,
  .tech__item, .work__badge svg, .marquee__track,
  .wa__pulse, .ctaband__trace use:last-child{ animation:none; }
  [data-speed], .magnetic{ transform:none; }
  .r2, .tech__item{ opacity:1; transform:none; }
  .hero__ln > span, .hero__sub, .hero__actions,
  .cube{ transform:none; opacity:1; }
  .cube__float{ animation:none !important; opacity:1; transform:rotate(-4deg); }
  .cube__tilt{ transform:none !important; }
  .hero__silk{ animation:none; opacity:.6; }
  .split .w > i{ transform:none; }
  .work__img, .work__progress i{ transition:none; }
  .stack{ height:auto; }
  .stack__pin{ position:static; height:auto; display:block; padding:0; }
  .stack__deck{ height:auto !important; display:grid; gap:22px; }
  .stack__card{ position:static; transform:none; opacity:1; }
  .stack__card::after, .stack__dots{ display:none; }
  .pop__box{ transition:none; }
}
