/* ==========================================================================
   CIPHER | للحلول الرقمية وتقنية المعلومات — Design System
   Colors are taken from the logo: deep navy, royal blue, sky cyan.
   ========================================================================== */

:root {
  /* Brand */
  --navy-950: #040c26;
  --navy-900: #071338;
  --navy-800: #0a1a4a;
  --navy-700: #12286b;
  --blue-600: #1f56d6;
  --blue-500: #2f6fe8;
  --blue-400: #4f97f3;
  --sky-300: #5cd9f7;
  --sky-200: #a9ecfb;

  /* Neutrals */
  --bg: #f5f8ff;
  --bg-2: #eaf1ff;
  --surface: #ffffff;
  --line: #d9e3f7;
  --text: #0a1a4a;
  --text-2: #3d4e78;
  --muted: #5d6c92;

  --grad-brand: linear-gradient(120deg, var(--blue-600) 0%, var(--blue-400) 55%, var(--sky-300) 100%);
  --grad-dark: radial-gradient(120% 120% at 80% 0%, #12286b 0%, #071338 55%, #040c26 100%);

  --radius-s: 10px;
  --radius: 18px;
  --radius-l: 28px;
  --shadow-s: 0 2px 10px rgba(10, 26, 74, .06);
  --shadow: 0 18px 50px -18px rgba(10, 26, 74, .25);
  --shadow-glow: 0 10px 40px -8px rgba(47, 111, 232, .55);

  --font-head: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);

  --container: 1200px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: visible; /* html already clips; a body scroller breaks Firefox Android dynamic toolbar */
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--sky-300); color: var(--navy-900); }

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

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 1000;
  background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 10px;
}
.skip-link:focus { top: 16px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 140px); position: relative; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  justify-self: start; width: fit-content;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 14px; font-weight: 500;
  color: var(--blue-600);
  padding: 7px 16px 7px 14px;
  background: rgba(47, 111, 232, .08);
  border: 1px solid rgba(47, 111, 232, .18);
  border-radius: 999px;
}
.eyebrow .px { width: 8px; height: 8px; border-radius: 2px; background: var(--grad-brand); box-shadow: 0 0 12px var(--sky-300); animation: pxBlink 2.4s infinite; }
@keyframes pxBlink { 50% { opacity: .35; transform: scale(.8); } }

.h-display { font-size: clamp(38px, 6.2vw, 78px); font-weight: 700; line-height: 1.15; }
.h-1 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 700; }
.h-2 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 700; }
.h-3 { font-size: clamp(20px, 2vw, 24px); font-weight: 600; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--text-2); max-width: 60ch; }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 70px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.center .eyebrow { justify-self: center; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: var(--navy-800);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--font-head); font-weight: 500; font-size: 16px;
  color: #fff; background: var(--bg-btn);
  border: 0; border-radius: 14px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .25s;
  
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad-brand);
  transform: translateY(101%); transition: transform .5s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: var(--shadow-glow); }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .35s var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(-4px); }
.btn-primary { --bg-btn: var(--blue-500); box-shadow: 0 8px 24px -10px rgba(47,111,232,.8); }
.btn-primary::before { background: linear-gradient(120deg, var(--navy-800), var(--blue-600)); }
.btn-ghost { --bg-btn: transparent; color: var(--text); border: 1.5px solid var(--line); background: rgba(255,255,255,.85); }
.btn-ghost:hover { color: #fff; border-color: transparent; }
.btn-light { --bg-btn: #fff; color: var(--navy-800); }
.btn-light:hover { color: #fff; }
.btn-wa { --bg-btn: #2f6fe8; }
.btn-wa::before { background: linear-gradient(120deg, #128c4a, #2f6fe8); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--header-h);
  transition: transform .5s var(--ease-out), background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.scrolled {
  background: rgba(245, 248, 255, .96);
  box-shadow: 0 1px 0 rgba(10,26,74,.07), 0 10px 30px -20px rgba(10,26,74,.3);
}
.header.hidden { transform: translateY(-100%); }
.header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 8px 16px; border-radius: 10px;
  font-family: var(--font-head); font-size: 15.5px; font-weight: 500; color: var(--text-2);
  transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; inset-inline: 16px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--grad-brand); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy-800); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }

.burger {
  display: none; width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid var(--line);
  background: rgba(255,255,255,.7); position: relative; z-index: 120;
}
.burger span { position: absolute; inset-inline: 13px; height: 2px; border-radius: 2px; background: var(--navy-800); transition: transform .4s var(--ease-out), opacity .3s, top .4s var(--ease-out); }
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
.menu-open .burger { border-color: rgba(255,255,255,.25); background: transparent; }
.menu-open .burger span { background: #fff; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; background: var(--grad-dark); color: #fff;
  display: grid; align-content: center; padding: 100px 28px 40px;
  clip-path: circle(0 at calc(100% - 44px) 40px); visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
[dir="rtl"] .mobile-menu { clip-path: circle(0 at 44px 40px); }
.menu-open .mobile-menu { clip-path: circle(150% at 44px 40px); visibility: visible; transition: clip-path .7s var(--ease-io); }
.mobile-menu nav { display: grid; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--font-head); font-size: clamp(30px, 9vw, 44px); font-weight: 600; padding: 6px 0;
  display: flex; align-items: center; gap: 16px; opacity: 0; transform: translateY(24px);
  transition: opacity .5s, transform .6s var(--ease-out);
}
.mobile-menu nav a small { font-family: var(--font-mono); font-size: 13px; color: var(--sky-300); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu nav a:nth-child(1) { transition-delay: .25s; }
.menu-open .mobile-menu nav a:nth-child(2) { transition-delay: .32s; }
.menu-open .mobile-menu nav a:nth-child(3) { transition-delay: .39s; }
.menu-open .mobile-menu nav a:nth-child(4) { transition-delay: .46s; }
.mobile-menu .btn { margin-top: 36px; justify-self: start; }
.menu-open { overflow: hidden; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-items: center; transition: clip-path .9s var(--ease-io);
  clip-path: inset(0 0 0 0);
}
.preloader.done { clip-path: inset(0 0 100% 0); }
.preloader .pl-inner { display: grid; justify-items: center; gap: 22px; }
.preloader svg { width: 140px; height: auto; }
.preloader .pl-word { font-family: var(--font-head); font-weight: 700; font-size: 34px; letter-spacing: .28em; color: var(--navy-800); direction: ltr; min-height: 1.3em; }
.preloader .pl-bar { width: 180px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.preloader .pl-bar i { display: block; height: 100%; width: 0; background: var(--grad-brand); animation: plBar 1.6s var(--ease-out) forwards; }
@keyframes plBar { to { width: 100%; } }
.no-preload .preloader { display: none; }

/* Animated mark (used in preloader & hero) */
.mark .hex { fill: none; stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.mark.draw .hex { stroke-dasharray: 400; stroke-dashoffset: 400; animation: drawHex 1.1s var(--ease-out) forwards; }
.mark.draw .hex.b { animation-delay: .25s; } .mark.draw .hex.c { animation-delay: .4s; }
@keyframes drawHex { to { stroke-dashoffset: 0; } }
.mark.draw .screen { transform-box: fill-box; transform-origin: center; transform: scale(.6); opacity: 0; animation: popIn .7s .45s var(--ease-out) forwards; }
.mark.draw .code rect { transform-box: fill-box; transform-origin: left; transform: scaleX(0); animation: grow .5s var(--ease-out) forwards; }
.mark.draw .code rect:nth-child(1){animation-delay:.8s}.mark.draw .code rect:nth-child(2){animation-delay:.88s}.mark.draw .code rect:nth-child(3){animation-delay:.96s}.mark.draw .code rect:nth-child(4){animation-delay:1.04s}.mark.draw .code rect:nth-child(5){animation-delay:1.12s}
.mark.draw .pixel { opacity: 0; animation: flyIn .7s var(--ease-out) forwards; }
.mark.draw .pixel:nth-of-type(1){animation-delay:1s}.mark.draw .pixel:nth-of-type(2){animation-delay:1.1s}.mark.draw .pixel:nth-of-type(3){animation-delay:1.2s}.mark.draw .pixel:nth-of-type(4){animation-delay:1.3s}
@keyframes popIn { to { transform: scale(1); opacity: 1; } }
@keyframes grow { to { transform: scaleX(1); } }
@keyframes flyIn { from { opacity: 0; transform: translate(30px, -10px) rotate(25deg); } to { opacity: 1; transform: none; } }
.mark .pixel { transform-box: fill-box; transform-origin: center; }
.mark.alive .pixel { animation: pixelFloat 4s ease-in-out infinite; }
.mark.alive .pixel:nth-of-type(2) { animation-delay: -1s; } .mark.alive .pixel:nth-of-type(3) { animation-delay: -2s; } .mark.alive .pixel:nth-of-type(4) { animation-delay: -3s; }
@keyframes pixelFloat { 50% { transform: translate(4px, -5px) rotate(8deg); } }
.mark .dot { animation: dotPulse 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes dotPulse { 50% { transform: scale(1.25); } }

/* ---------- Page transition ---------- */
.pt {
  position: fixed; inset: 0; z-index: 900; pointer-events: none;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.pt span { background: var(--navy-800); transform: scaleY(0); transform-origin: bottom; }
.pt span:nth-child(2n) { background: var(--navy-900); }
.pt .pt-logo { position: fixed; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .3s; }
.pt .pt-logo img { width: 84px; }
.pt.out span { animation: ptCover .55s var(--ease-io) forwards; }
.pt.out .pt-logo { opacity: 1; transition-delay: .35s; }
.pt.cover span { transform: scaleY(1); }
.pt.in span { transform: scaleY(1); transform-origin: top; animation: ptReveal .65s var(--ease-io) forwards; }
.pt span:nth-child(1){animation-delay:0s}.pt span:nth-child(2){animation-delay:.05s}.pt span:nth-child(3){animation-delay:.1s}.pt span:nth-child(4){animation-delay:.15s}.pt span:nth-child(5){animation-delay:.2s}
@keyframes ptCover { to { transform: scaleY(1); } }
@keyframes ptReveal { to { transform: scaleY(0); } }

/* ---------- Cursor & progress ---------- */
.cursor-ring, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s, width .35s var(--ease-out), height .35s var(--ease-out), background-color .3s, border-color .3s; }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(47,111,232,.55); }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--blue-500); }
.cursor-on .cursor-ring, .cursor-on .cursor-dot { opacity: 1; }
.cursor-hover .cursor-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(92,217,247,.12); border-color: rgba(92,217,247,.8); }
@media (pointer: coarse) { .cursor-ring, .cursor-dot { display: none; } }

.progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 101; transform-origin: right; transform: scaleX(0); background: var(--grad-brand); }

/* ---------- Reveal system ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; padding-top: calc(var(--header-h) + 30px); padding-bottom: 60px; display: grid; align-items: center; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 30%, rgba(92,217,247,.22), transparent 70%),
    radial-gradient(50% 60% at 90% 80%, rgba(47,111,232,.14), transparent 70%);
}
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 0; pointer-events: none; }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.hero-title .rotator { display: inline-block; transition: none; }

@keyframes caret { 50% { opacity: 0; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 18px; color: var(--muted); font-size: 14px; font-family: var(--font-mono); direction: ltr; }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags span::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--blue-400); }

.hero-visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 540px; justify-self: center; }
.hero-visual .orbit { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(47,111,232,.28); animation: spin 40s linear infinite; }
.hero-visual .orbit.o2 { inset: 18%; border-style: solid; border-color: rgba(92,217,247,.3); animation-duration: 28s; animation-direction: reverse; }
.hero-visual .orbit i { position: absolute; width: 14px; height: 14px; border-radius: 4px; background: var(--grad-brand); box-shadow: 0 0 18px rgba(92,217,247,.9); top: -7px; left: calc(50% - 7px); }
.hero-visual .orbit.o2 i { top: auto; bottom: -6px; width: 10px; height: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-mark { position: absolute; inset: 22%; }
.hero-mark svg { width: 100%; height: 100%; animation: floatY 6s ease-in-out infinite; filter: drop-shadow(0 24px 30px rgba(10,26,74,.22)); }
@keyframes floatY { 50% { transform: translateY(-14px); } }
.glow-blob { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle, rgba(92,217,247,.42), rgba(47,111,232,.12) 45%, transparent 68%); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .75; } }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.9); box-shadow: var(--shadow);
  font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--navy-800);
  animation: floatY 5s ease-in-out infinite;
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.float-chip .ic svg { width: 18px; height: 18px; }
.float-chip.c1 { top: 10%; inset-inline-end: 2%; animation-delay: -1s; }
.float-chip.c2 { bottom: 16%; inset-inline-end: -2%; animation-delay: -2.5s; }
.float-chip.c3 { top: 46%; inset-inline-start: -4%; animation-delay: -4s; }

.terminal {
  direction: ltr; text-align: left;
  background: linear-gradient(180deg, #0b1a4d, #061235); color: #cfe3ff;
  border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(4,12,38,.6), inset 0 1px 0 rgba(255,255,255,.08);
  border: 1px solid rgba(92,217,247,.18);
  font-family: var(--font-mono); font-size: 13px; line-height: 1.7; overflow: hidden;
}
.terminal .t-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.06); }
.terminal .t-bar i { width: 11px; height: 11px; border-radius: 50%; background: #5cd9f7; }
.terminal .t-bar i:nth-child(2) { background: #4f97f3; } .terminal .t-bar i:nth-child(3) { background: #2f6fe8; }
.terminal .t-bar b { margin-left: auto; font-weight: 400; font-size: 12px; color: #7f95c6; }
.terminal .t-body { padding: 14px 16px 16px; min-height: 150px; white-space: pre-wrap; }
.terminal .p { color: var(--sky-300); } .terminal .ok { color: #4ade80; } .terminal .dim { color: #7f95c6; } .terminal .kw { color: #8fb6ff; }
.terminal .ar { direction: rtl; unicode-bidi: isolate; font-family: var(--font-body); }
.terminal .cur { display: inline-block; width: 8px; height: 15px; background: var(--sky-300); vertical-align: -3px; animation: caret 1s steps(1) infinite; }
.hero-terminal { position: absolute; width: min(330px, 70%); bottom: -4%; inset-inline-start: -6%; z-index: 2; }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; display: grid; justify-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-family: var(--font-head); }
.scroll-hint .mouse { width: 24px; height: 38px; border: 2px solid var(--muted); border-radius: 14px; position: relative; opacity: .7; }
.scroll-hint .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--blue-500); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Marquee ---------- */
.marquee { padding-block: 26px; border-block: 1px solid var(--line); background: var(--surface); overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.marquee::before { right: 0; background: linear-gradient(to left, var(--surface), transparent); }
.marquee::after { left: 0; background: linear-gradient(to right, var(--surface), transparent); }
.marquee-row { display: flex; width: max-content; gap: 0; animation: marquee 38s linear infinite; }
.marquee-row + .marquee-row { margin-top: 14px; animation-direction: reverse; animation-duration: 44s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 14px; padding-inline: 26px; font-family: var(--font-head); font-size: clamp(18px, 2vw, 24px); font-weight: 600; color: var(--navy-800); white-space: nowrap; }
.marquee-item .sq { width: 10px; height: 10px; border-radius: 3px; background: var(--grad-brand); transform: rotate(45deg); }
.marquee-row.en .marquee-item { font-family: var(--font-mono); font-weight: 500; font-size: clamp(15px, 1.5vw, 18px); color: var(--muted); direction: ltr; }
.marquee-row.en .marquee-item .sq { background: none; border: 1.5px solid var(--blue-400); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Bento services ---------- */
.bento { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(220px, auto); gap: 18px; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(92,217,247,.18), transparent 45%);
}
.card:hover { border-color: rgba(47,111,232,.35); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card .num { font-family: var(--font-mono); font-size: 13px; color: var(--blue-500); direction: ltr; }
.card .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(47,111,232,.12), rgba(92,217,247,.18)); color: var(--blue-600); transition: transform .5s var(--ease-out), background .4s, color .4s; }
.card .icon svg { width: 28px; height: 28px; }
.card:hover .icon { transform: rotate(-8deg) scale(1.06); background: var(--grad-brand); color: #fff; }
.card p { color: var(--text-2); font-size: 15.5px; }
.card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 14.5px; font-weight: 500; color: var(--blue-600); }
.card .more svg { width: 18px; transition: transform .4s var(--ease-out); }
.card:hover .more svg { transform: translateX(-6px); }
.card-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }

.b-w6 { grid-column: span 6; } .b-w4 { grid-column: span 4; } .b-w8 { grid-column: span 8; } .b-w5 { grid-column: span 5; } .b-w7 { grid-column: span 7; } .b-w3 { grid-column: span 3; }
.b-h2 { grid-row: span 2; }
.card.feature { padding: 0; }
.card.feature .card-body { padding: 28px; display: grid; gap: 12px; position: relative; z-index: 1; }
.card.feature .card-media { position: relative; flex: 1; min-height: 220px; overflow: hidden; border-top: 1px solid var(--line); background: var(--bg-2); }
.card.feature .card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; transition: transform 1.2s var(--ease-out); }
.card.feature:hover .card-media img { transform: scale(1.06); }
.card.dark { background: var(--grad-dark); border-color: rgba(92,217,247,.18); color: #fff; }
.card.dark p { color: #b9c8ea; }
.card.dark .icon { background: rgba(92,217,247,.12); color: var(--sky-300); }
.card.dark .more { color: var(--sky-300); }
.card.dark .hexbg { position: absolute; inset: 0; z-index: -1; opacity: .35; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32L0 82V66l28 16 28-16v16L28 98z' fill='none' stroke='%235cd9f7' stroke-opacity='.25'/%3E%3C/svg%3E"); mask-image: linear-gradient(to bottom, #000, transparent); }

/* ---------- Statement (scroll-lit words) ---------- */
.statement { background: var(--grad-dark); color: #fff; overflow: hidden; }
.statement .container { position: relative; z-index: 1; }
.statement-text { font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 4.2vw, 56px); line-height: 1.45; max-width: 22ch; }
.statement-text .w { opacity: .14; transition: opacity .3s, color .3s; }
.statement-text .w.lit { opacity: 1; }
.statement-text .w.hl.lit { color: var(--sky-300); text-shadow: 0 0 30px rgba(92,217,247,.5); }
.statement .side { position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); width: min(380px, 40%); }
.statement .bg-code { position: absolute; inset: 0; opacity: .07; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: var(--sky-300); white-space: pre; overflow: hidden; direction: ltr; pointer-events: none; mask-image: radial-gradient(circle at 30% 50%, #000, transparent 70%); }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.why-sticky { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 22px; }
.why-list { display: grid; gap: 18px; }
.why-item { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); position: relative; overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s; }
.why-item:hover { transform: translateX(-8px); box-shadow: var(--shadow); }
.why-item .n { font-family: var(--font-head); font-weight: 700; font-size: 44px; line-height: 1; direction: ltr; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-item h3 { margin-bottom: 6px; }
.why-item p { color: var(--text-2); }
.why-item::after { content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-brand); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease-out); }
.why-item:hover::after { transform: scaleY(1); }

/* ---------- Process ---------- */
.process { background: var(--surface); border-block: 1px solid var(--line); }
.steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.steps-line { position: absolute; top: 34px; inset-inline: 8%; height: 2px; background: var(--line); }
.steps-line i { position: absolute; inset: 0; background: var(--grad-brand); transform-origin: right; transform: scaleX(var(--p, 0)); }
.steps-line b { position: absolute; top: -5px; width: 12px; height: 12px; border-radius: 3px; background: var(--sky-300); box-shadow: 0 0 16px var(--sky-300); right: calc(var(--p, 0) * 100%); margin-right: -6px; transform: rotate(45deg); }
.step { position: relative; display: grid; justify-items: center; text-align: center; gap: 12px; }
.step .dot { width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; background: var(--bg); border: 1.5px solid var(--line); color: var(--blue-600); position: relative; z-index: 1; transition: all .5s var(--ease-out); }
.step .dot svg { width: 28px; height: 28px; }
.step.on .dot { background: var(--grad-brand); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); transform: translateY(-4px) rotate(-6deg); }
.step h3 { font-size: 18px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.65; }
.step .sn { font-family: var(--font-mono); font-size: 12px; color: var(--blue-500); }

/* ---------- CTA ---------- */
.cta-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: 36px; background: var(--grad-dark); color: #fff; padding: clamp(48px, 8vw, 96px) clamp(28px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; }
.cta-panel canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.cta-panel p { color: #b9c8ea; margin-top: 14px; max-width: 50ch; }
.cta-panel .actions { display: flex; flex-direction: column; gap: 14px; align-items: stretch; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #b9c8ea; padding-top: 80px; position: relative; overflow: hidden; margin-top: clamp(80px, 10vw, 130px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer .brand img { height: 52px; }
.footer p { margin-top: 18px; font-size: 15px; max-width: 34ch; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer li + li { margin-top: 10px; }
.footer a { transition: color .25s; font-size: 15px; }
.footer a:hover { color: var(--sky-300); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); transition: all .3s; }
.socials a:hover { background: var(--grad-brand); color: #fff; border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }
.footer-word { font-family: var(--font-head); font-weight: 700; font-size: clamp(80px, 19vw, 260px); line-height: .8; letter-spacing: .06em; text-align: center; direction: ltr; color: transparent; -webkit-text-stroke: 1px rgba(92,217,247,.16); user-select: none; margin-bottom: -.12em; }

/* Floating WhatsApp */
.fab-wa { position: fixed; z-index: 90; bottom: 22px; inset-inline-start: 22px; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: #2f6fe8; box-shadow: 0 12px 30px -8px rgba(47,111,232,.7); transition: transform .3s var(--ease-out); }
.fab-wa:hover { transform: translateY(-4px) scale(1.05); }
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #2f6fe8; animation: ripple 3s infinite; will-change: transform, opacity; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding-top: calc(var(--header-h) + clamp(60px, 9vw, 110px)); padding-bottom: clamp(60px, 8vw, 100px); overflow: hidden; }
.page-hero .container { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: start; }
.page-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.page-hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--muted); font-family: var(--font-head); }
.crumbs a:hover { color: var(--blue-600); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Services page ---------- */
.svc-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.svc-nav { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 4px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.svc-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-family: var(--font-head); font-size: 14.5px; color: var(--text-2); transition: background .25s, color .25s; }
.svc-nav a small { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); width: 20px; }
.svc-nav a:hover { background: var(--bg-2); color: var(--navy-800); }
.svc-nav a.active { background: var(--navy-800); color: #fff; }
.svc-nav a.active small { color: var(--sky-300); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(50px, 6vw, 80px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 20px); }
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; perspective: 1000px; }
.svc-media .frame { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; transform-style: preserve-3d; transition: transform .2s ease-out; }
.svc-media .frame img { width: 100%; aspect-ratio: 6 / 7; object-fit: cover; object-position: top; }
.svc-media .frame .glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.35), transparent 40%); opacity: 0; transition: opacity .3s; }
.svc-media:hover .glare { opacity: 1; }
.svc-media .deco { position: absolute; width: 90px; height: 90px; border-radius: 22px; background: var(--grad-brand); opacity: .9; z-index: -1; top: -18px; inset-inline-end: -18px; transform: rotate(12deg); }
.svc-media .deco.d2 { width: 46px; height: 46px; border-radius: 12px; top: auto; bottom: 28px; inset-inline-end: auto; inset-inline-start: -22px; background: var(--navy-800); z-index: 1; animation: floatY 5s ease-in-out infinite; }
.svc-body { display: grid; gap: 18px; }
.svc-body .tag { font-family: var(--font-mono); font-size: 13px; color: var(--blue-500); direction: ltr; justify-self: start; }
.svc-body .tagline { font-family: var(--font-head); font-size: 19px; color: var(--blue-600); font-weight: 500; }
.svc-body p { color: var(--text-2); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feat li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; line-height: 1.55; transition: border-color .3s, transform .3s var(--ease-out); }
.feat li:hover { border-color: rgba(47,111,232,.4); transform: translateY(-2px); }
.feat li svg { width: 20px; height: 20px; flex: none; color: var(--blue-500); margin-top: 1px; }
.svc-body .btn { justify-self: start; }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.about-intro .text { display: grid; gap: 20px; }
.about-intro .text p { color: var(--text-2); }
.vmv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.vmv .card { min-height: 280px; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 28px 24px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; position: relative; overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value .icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.value .icon svg { width: 24px; height: 24px; }
.value p { color: var(--text-2); font-size: 15px; }
.value .big { position: absolute; inset-inline-end: -6px; bottom: -22px; font-family: var(--font-head); font-weight: 700; font-size: 96px; line-height: 1; color: rgba(47,111,232,.06); direction: ltr; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-s); display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: 15px; }
.field label .req { color: #d92d20; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(47,111,232,.14); }
.field .hint { font-size: 13.5px; color: var(--muted); }
.field .err { font-size: 13.5px; color: #b42318; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d92d20; }
.field.invalid .err { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14px; background: var(--bg); transition: all .25s; }
.chips input:checked + span { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.chips input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s; }
.c-card:hover { transform: translateX(-6px); box-shadow: var(--shadow); border-color: rgba(47,111,232,.35); }
.c-card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(47,111,232,.12), rgba(92,217,247,.2)); color: var(--blue-600); flex: none; }
.c-card .icon svg { width: 24px; height: 24px; }
.c-card b { display: block; font-family: var(--font-head); font-weight: 600; }
.c-card span { color: var(--muted); font-size: 14.5px; }
.c-card.wa .icon { background: #2f6fe8; color: #fff; }

.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq details[open] { border-color: rgba(47,111,232,.35); box-shadow: var(--shadow-s); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 24px; font-family: var(--font-head); font-weight: 500; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { font-family: var(--font-mono); font-size: 13px; color: var(--blue-500); }
.faq summary .pm { margin-inline-start: auto; width: 32px; height: 32px; border-radius: 10px; background: var(--bg-2); position: relative; flex: none; transition: background .3s, transform .4s var(--ease-out); }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--navy-800); border-radius: 2px; transition: transform .4s var(--ease-out), background .3s; }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] .pm { background: var(--navy-800); transform: rotate(180deg); }
.faq details[open] .pm::before, .faq details[open] .pm::after { background: #fff; }
.faq details[open] .pm::after { transform: rotate(0); }
.faq .ans { padding: 0 24px 22px 24px; padding-inline-start: 62px; color: var(--text-2); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 220%); z-index: 200; background: var(--navy-800); color: #fff; padding: 14px 22px; border-radius: 14px; box-shadow: var(--shadow); transition: transform .5s var(--ease-out); font-family: var(--font-head); }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero .container { grid-template-columns: 1fr; text-align: start; }
  .hero-visual { max-width: 440px; margin-top: 10px; }
  .hero-terminal { inset-inline-start: 0; }
  .b-w4, .b-w5, .b-w3 { grid-column: span 6; } .b-w7, .b-w8 { grid-column: span 12; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .statement .side { display: none; }
}
@media (max-width: 900px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .burger { display: block; }
  .why-grid, .svc-layout, .about-intro, .contact-grid, .cta-panel { grid-template-columns: 1fr; }
  .why-sticky { position: static; }
  .svc-nav { position: static; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .svc { grid-template-columns: 1fr; }
  .svc:nth-child(even) .svc-media { order: 0; }
  .svc-media { max-width: 460px; }
  .vmv { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 68px; }
  .brand img { height: 38px; }
  .header-cta .btn-primary { display: none; }
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: auto !important; grid-row: auto !important; }
  .steps { grid-template-columns: 1fr 1fr; }
  .feat, .row-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .float-chip.c3 { display: none; }
  .float-chip { font-size: 12.5px; padding: 8px 10px; }
  .float-chip .ic { width: 28px; height: 28px; }
  .hero-terminal { display: none; }
  .hero-visual { max-width: 330px; }
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 40px); }
  .scroll-hint { display: none; }
  .faq .ans { padding-inline-start: 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee-row { animation: none; }
  .statement-text .w { opacity: 1; }
  .preloader { display: none; }
}

/* Arrival cover (set by inline head script when navigating between pages) */
html.pt-cover .pt span { transform: scaleY(1); }

/* Decorative mark in inner page heroes */
.ph-mark { position: absolute; z-index: 0; inset-inline-end: max(4vw, calc((100vw - var(--container)) / 2)); top: 50%; width: clamp(180px, 22vw, 300px); transform: translateY(-40%); opacity: .95; pointer-events: none; }
.ph-mark .glow-blob { inset: 5%; }
.ph-mark svg { position: relative; animation: floatY 6s ease-in-out infinite; filter: drop-shadow(0 24px 30px rgba(10,26,74,.22)); }
@media (max-width: 900px) { .ph-mark { display: none; } }

/* ==========================================================================
   v2 — Waves, showcase bands, explorer, detail pages, portfolio
   ========================================================================== */

/* ---------- Animated waves ---------- */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(56px, 7vw, 110px); overflow: hidden; pointer-events: none; z-index: 2; color: var(--wave-fill, var(--bg)); }
.wave.top { top: -1px; bottom: auto; transform: scaleY(-1); }
.wave.up { bottom: calc(100% - 1px); }
.wave .l { position: absolute; top: 0; left: 0; width: 200%; max-width: none; height: 100%; animation: waveX 36s linear infinite; }
.wave.off .l { animation: none; }
.wave .l path { fill: currentColor; }
.wave .p1 { fill-opacity: .28; } .wave .p2 { fill-opacity: .5; }
.wave .pln { fill: none !important; stroke: rgba(79,151,243,.45); stroke-width: 2; vector-effect: non-scaling-stroke; }
@keyframes waveX { to { transform: translateX(-50%); } }
.hero::after { display: none; }

/* ---------- Dark bands ---------- */
.band-dark { position: relative; color: #fff; background:
  radial-gradient(50% 60% at 15% 50%, rgba(47,111,232,.28), transparent 70%),
  radial-gradient(40% 50% at 85% 30%, rgba(92,217,247,.22), transparent 70%),
  #071338; }
.band-dark .lead, .band-dark p { color: #b9c8ea; }
.band-dark .kicker { color: var(--sky-300); }
.eyebrow.on-dark { color: var(--sky-300); background: rgba(92,217,247,.1); border-color: rgba(92,217,247,.25); }
.btn-outline-light { --bg-btn: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.25); }
.btn-outline-light:hover { border-color: transparent; }
.section.soft { background: var(--surface); border-block: 1px solid var(--line); }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Showcase typography ---------- */
.big-num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(80px, 10vw, 140px); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(47,111,232,.22); margin-bottom: -10px; user-select: none; }
.band-dark .big-num { -webkit-text-stroke-color: rgba(92,217,247,.2); }
.kicker { display: block; font-family: var(--font-head); font-weight: 500; font-size: 15px; color: var(--blue-600); }
.svc-title { line-height: 1.2; }
.hl-list { display: grid; gap: 16px; margin: 4px 0 6px; }
.hl-list li { display: flex; gap: 14px; align-items: flex-start; }
.hl-list .ck { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-700), var(--blue-500)); color: #fff; box-shadow: 0 6px 14px -6px rgba(47,111,232,.7); }
.hl-list .ck svg { width: 16px; height: 16px; }
.hl-list b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.hl-list small { color: var(--muted); font-size: 14.5px; }
.band-dark .hl-list small { color: #9fb3e0; }

/* ---------- Floating chips around visuals ---------- */
.vis-chips { position: absolute; inset: 0; pointer-events: none; }
.fchip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 10px; border-radius: 999px; background: #fff; box-shadow: 0 14px 30px -14px rgba(10,26,74,.45), 0 0 0 1px rgba(10,26,74,.05); font-family: var(--font-head); font-size: 13.5px; color: var(--navy-800); animation: floatY 7s ease-in-out infinite; white-space: nowrap; }
.fchip svg { width: 18px; height: 18px; color: var(--blue-500); }
.fchip.fc0 { top: -4%; inset-inline-end: 6%; }
.fchip.fc1 { bottom: 4%; inset-inline-start: -2%; animation-delay: -2.4s; }
.fchip.fc2 { top: 42%; inset-inline-start: -6%; animation-delay: -4.6s; }
.band-dark .fchip { background: rgba(15,28,72,.85); color: #fff; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6), inset 0 0 0 1px rgba(92,217,247,.2); }
.band-dark .fchip svg { color: var(--sky-300); }

/* ---------- Services showcase bands ---------- */
.svc-band { position: relative; padding-block: clamp(90px, 11vw, 150px); overflow: hidden; scroll-margin-top: 40px; }
.svc-band:not(.band-dark) { background-image: linear-gradient(rgba(47,111,232,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(47,111,232,.04) 1px, transparent 1px); background-size: 46px 46px; }
.svc-row { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.svc-row.rev .svc-visual { order: -1; }
.svc-text { display: grid; gap: 18px; justify-items: start; }
.svc-visual { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.svc-visual::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(92,217,247,.26), transparent 62%); z-index: -1; }
.svc-quick { position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; display: flex; gap: 8px; overflow-x: auto; padding: 10px; margin-top: 30px; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 16px; scrollbar-width: none; }
.svc-quick::-webkit-scrollbar { display: none; }
.svc-quick a { flex: none; display: inline-flex; gap: 8px; align-items: center; padding: 8px 14px; border-radius: 10px; font-family: var(--font-head); font-size: 14px; color: var(--text-2); transition: background .25s, color .25s; }
.svc-quick a span { font: 500 12.5px var(--font-mono); color: var(--blue-500); }
.svc-quick a:hover { background: var(--bg-2); color: var(--navy-800); }

/* ---------- Home: service explorer ---------- */
.explorer { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: stretch; }
.ex-tabs { display: grid; gap: 6px; align-content: start; }
.ex-tab { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 1px solid transparent; border-radius: 14px; background: transparent; text-align: start; color: var(--text-2); font-family: var(--font-head); font-size: 15.5px; overflow: hidden; transition: background .3s, color .3s, border-color .3s; }
.ex-tab .n { font: 500 12.5px var(--font-mono); color: var(--muted); }
.ex-tab:hover { background: var(--surface); color: var(--navy-800); }
.ex-tab.active { background: var(--surface); border-color: var(--line); color: var(--navy-800); box-shadow: var(--shadow-s); }
.ex-tab.active .n { color: var(--blue-500); }
.ex-tab .bar { position: absolute; inset-inline: 16px; bottom: 6px; height: 2px; border-radius: 2px; background: transparent; overflow: hidden; }
.ex-tab .bar b { display: block; height: 100%; width: 100%; background: var(--grad-brand); transform: scaleX(0); transform-origin: right; }
.ex-tab.run .bar b { animation: exBar var(--dur, 7s) linear forwards; }
@keyframes exBar { to { transform: scaleX(1); } }
.ex-stage { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: center; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-s); min-height: 520px; overflow: hidden; }
.ex-stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(47,111,232,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(47,111,232,.045) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(circle at 70% 50%, #000, transparent 75%); pointer-events: none; }
.ex-vis { position: relative; order: 2; opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .5s, transform .7s var(--ease-out); }
.ex-info { position: relative; display: grid; gap: 16px; justify-items: start; opacity: 0; transform: translateY(16px); transition: opacity .5s .08s, transform .7s .08s var(--ease-out); }
.ex-vis.in, .ex-info.in { opacity: 1; transform: none; }
.ex-info p { color: var(--text-2); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 13px; background: var(--bg-2); color: var(--navy-700); border: 1px solid var(--line); white-space: nowrap; }
.tag.soft { background: rgba(47,111,232,.07); border-color: rgba(47,111,232,.15); color: var(--blue-600); }
.tag.mono { font-family: var(--font-mono); font-size: 12.5px; direction: ltr; }
.tag.dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #dbe6ff; }
a.tag:hover { background: var(--blue-500); color: #fff; border-color: transparent; }

/* ---------- Project cards ---------- */
.p-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.p-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.p-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s, opacity .4s; }
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(47,111,232,.3); }
.p-card.hide { display: none; }
.p-cover { position: relative; display: block; aspect-ratio: 16 / 10.5; overflow: hidden; border-bottom: 1px solid var(--line); }
.p-card:hover .cover-main { transform: translateY(-4%) scale(1.03); }
.p-card:hover .cover-side { transform: translateY(-8%); }
.sample { position: absolute; top: 14px; inset-inline-start: 14px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-family: var(--font-head); background: rgba(10,26,74,.88); color: #fff; }
.sample-inline { color: var(--muted); font-weight: 400; }
.p-body { padding: 22px 24px 24px; display: grid; gap: 12px; flex: 1; align-content: start; }
.p-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.p-cat { display: inline-flex; align-items: center; gap: 6px; color: var(--blue-600); font-family: var(--font-head); font-weight: 500; }
.p-cat svg { width: 16px; height: 16px; }
.p-card h3 a:hover { color: var(--blue-600); }
.p-card p { color: var(--text-2); font-size: 15.5px; }
.p-card .tags .tag { font-size: 12px; padding: 4px 10px; }
.p-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding-top: 14px; border-top: 1px dashed var(--line); }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 500; font-size: 14.5px; color: var(--blue-600); }
.link-more svg { width: 18px; transition: transform .4s var(--ease-out); }
a:hover > .link-more svg, .link-more:hover svg { transform: translateX(-5px); }
.link-ext { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); padding: 6px 10px; border-radius: 10px; transition: background .25s, color .25s; }
.link-ext svg { width: 16px; height: 16px; }
.link-ext:hover { background: var(--bg-2); color: var(--navy-800); }

/* filter chips */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.f-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-family: var(--font-head); font-size: 14.5px; color: var(--text-2); transition: all .3s var(--ease-out); }
.f-chip small { font: 500 12.5px var(--font-mono); padding: 2px 7px; border-radius: 999px; background: var(--bg-2); color: var(--muted); }
.f-chip:hover { border-color: rgba(47,111,232,.4); color: var(--navy-800); }
.f-chip.active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.f-chip.active small { background: rgba(255,255,255,.15); color: var(--sky-300); }

/* ---------- Detail hero (service / project) ---------- */
.detail-hero { position: relative; padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); padding-bottom: clamp(110px, 12vw, 170px); overflow: hidden; }
.detail-hero > canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.detail-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(50% 50% at 20% 40%, rgba(92,217,247,.2), transparent 70%); }
.detail-hero .container { position: relative; z-index: 3; }
.dh-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.dh-text { display: grid; gap: 18px; justify-items: start; }
.dh-visual { position: relative; width: 100%; max-width: 580px; justify-self: center; }
.sub-nav { position: sticky; top: 0; z-index: 30; background: rgba(245,248,255,.97); border-bottom: 1px solid var(--line); transition: top .5s var(--ease-out); }
.header:not(.hidden) ~ main .sub-nav { top: var(--header-h); }
.sub-nav .container { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.sub-nav a { flex: none; padding: 8px 16px; border-radius: 10px; font-family: var(--font-head); font-size: 14.5px; color: var(--text-2); transition: background .25s, color .25s; }
.sub-nav a:hover { background: var(--surface); color: var(--navy-800); }

.feat-grid, .rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.f-card { min-height: 230px; }
.rel-card { min-height: 250px; }
.deliver { padding-block: clamp(120px, 13vw, 180px); overflow: hidden; }
.deliver .container { position: relative; z-index: 3; }
.deliver-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.deliver-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deliver-list li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); font-family: var(--font-head); font-size: 15.5px; transition: background .3s, transform .4s var(--ease-out); }
.deliver-list li:hover { background: rgba(92,217,247,.08); transform: translateY(-3px); }
.deliver-list li span { width: 30px; height: 30px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.deliver-list li span svg { width: 16px; height: 16px; }
.deliver-list.light li { background: var(--surface); border-color: var(--line); color: var(--navy-800); }
.deliver-side { display: grid; gap: 16px; }
.glass { padding: 22px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: grid; gap: 14px; }
.glass h3 { display: flex; align-items: center; gap: 10px; color: #fff; }
.glass h3 svg { width: 22px; height: 22px; color: var(--sky-300); }
.glass.light { background: var(--surface); border-color: var(--line); }
.glass.light h3 { color: var(--navy-800); } .glass.light h3 svg { color: var(--blue-500); }
.steps.steps-4 { grid-template-columns: repeat(4, 1fr); }
.steps.steps-4 .steps-line { inset-inline: 12%; }
.step .dot span { font: 600 18px var(--font-mono); }
.pn-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.pn { display: grid; gap: 4px; padding: 22px 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, box-shadow .3s, transform .4s var(--ease-out); }
.pn:hover { border-color: rgba(47,111,232,.35); box-shadow: var(--shadow); transform: translateY(-3px); }
.pn small { color: var(--muted); font-size: 13.5px; } .pn b { font-family: var(--font-head); font-size: 18px; }
.pn.next { text-align: end; }

/* ---------- Project detail ---------- */
.ph-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-top: 18px; }
.ph-head .lead { max-width: 62ch; }
.meta-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 34px 0 40px; }
.meta-grid > div { padding: 16px 18px; border-radius: 16px; background: rgba(255,255,255,.94); border: 1px solid var(--line); }
.meta-grid dt { font-size: 13px; color: var(--muted); }
.meta-grid dd { margin: 4px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.meta-grid dd.tags { gap: 6px; } .meta-grid dd .tag { font-size: 12px; padding: 4px 10px; }
.proj-cover { aspect-ratio: 16 / 8; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.proj-cover .cover-main { left: 10%; width: 66%; top: 10%; }
.proj-cover .cover-side { width: 16%; right: 8%; bottom: -6%; }
.cs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cs-card { position: relative; padding: clamp(26px, 3.5vw, 40px); border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 14px; overflow: hidden; }
.cs-card p { color: var(--text-2); }
.cs-card.sol { background: var(--grad-dark); border-color: transparent; color: #fff; }
.cs-card.sol p { color: #c4d3f2; }
.cs-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(47,111,232,.1); color: var(--blue-600); }
.cs-card.sol .cs-ic { background: rgba(92,217,247,.14); color: var(--sky-300); }
.cs-ic svg { width: 26px; height: 26px; }
.gallery { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.g-item { margin: 0; position: relative; padding: 26px 26px 54px; border-radius: 24px; background: linear-gradient(160deg, var(--bg-2), #fff); border: 1px solid var(--line); overflow: hidden; display: grid; align-content: center; }
.g-item.wide { grid-row: span 2; }
.g-item.phones { min-height: 300px; }
.g-item.phones .cover-phones { position: relative; inset: auto; height: 100%; }
.g-item.phones .m-phone { width: 30%; max-width: 150px; }
.g-item img { width: 100%; border-radius: 12px; }
.g-item figcaption { position: absolute; bottom: 16px; inset-inline-start: 22px; font-family: var(--font-head); font-size: 14px; color: var(--muted); }
.feat-tech { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.feat-tech .deliver-list { grid-template-columns: 1fr; }
.url-box { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--bg-2); font-family: var(--font-mono); font-size: 13.5px; color: var(--blue-600); word-break: break-all; }
.url-box svg { width: 16px; height: 16px; flex: none; }
.next-proj { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding: clamp(26px, 4vw, 44px); border-radius: 32px; background: var(--grad-dark); color: #fff; overflow: hidden; transition: transform .5s var(--ease-out); }
.next-proj:hover { transform: translateY(-4px); }
.next-proj small { color: #9fb3e0; } .next-proj b { display: block; font-family: var(--font-head); font-size: clamp(26px, 3vw, 40px); margin: 6px 0 16px; }
.next-proj .link-more { color: var(--sky-300); }
.np-cover { aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; }

/* home featured + footer wave */
.footer { overflow: visible; }
.footer .footer-word { overflow: hidden; }
.cta-wrap-pad { padding-bottom: clamp(40px, 5vw, 70px); }
.page-hero { padding-bottom: clamp(110px, 12vw, 160px); }
.page-hero::after { display: none; }

@media (max-width: 1080px) {
  .explorer { grid-template-columns: 1fr; }
  .ex-tabs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; }
  .ex-tabs::-webkit-scrollbar { display: none; }
  .ex-tab { flex: none; width: auto; padding: 10px 14px; background: var(--surface); border-color: var(--line); }
  .ex-stage { grid-template-columns: 1fr; min-height: 0; }
  .ex-vis { order: 0; max-width: 480px; justify-self: center; width: 100%; }
  .p-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-grid, .rel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .meta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .svc-row, .dh-grid, .deliver-grid, .cs-grid, .feat-tech, .next-proj, .ph-head { grid-template-columns: 1fr; }
  .svc-row.rev .svc-visual { order: 0; }
  .svc-visual, .dh-visual { max-width: 460px; }
  .gallery { grid-template-columns: 1fr; }
  .steps.steps-4 { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}
@media (max-width: 640px) {
  .p-grid, .p-grid.two, .feat-grid, .rel-grid, .deliver-list, .pn-nav { grid-template-columns: 1fr; }
  .fchip { font-size: 12px; padding: 7px 11px 7px 8px; }
  .fchip.fc2 { display: none; }
  .big-num { font-size: 72px; }
  .meta-grid { grid-template-columns: 1fr 1fr; }
  .proj-cover { aspect-ratio: 4 / 3; }
  .pn.next { text-align: start; }
}
@media (prefers-reduced-motion: reduce) { .wave .l { animation: none; } }
.dark-cards .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); color: #fff; }
.dark-cards .card p { color: #b9c8ea; }
.dark-cards .card .icon { background: rgba(92,217,247,.12); color: var(--sky-300); }
.band-dark.section { overflow: hidden; padding-block: clamp(120px, 13vw, 180px); }
.statement .container { z-index: 3; }


/* ==========================================================================
   v3 — smooth scroll + soft text reveal
   ========================================================================== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

/* word-by-word reveal for headings (replaces glyph scramble) */
.js .split .wd { display: inline-block; opacity: 0; transform: translate3d(0, .42em, 0); filter: blur(5px);
  transition: opacity .8s var(--ease-out), transform 1s var(--ease-out), filter .8s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms + var(--d, 0s)); }
.js .split.in .wd { opacity: 1; transform: none; filter: blur(0); }
.split .wd-block { display: inline-block; }
/* once settled, drop the filter layer so text stays crisp */
.js .split.in.done .wd { filter: none; transition: none; }

/* hero rotating word */
.rotator { }
.rotator.rot-out { animation: rotOut .38s var(--ease-io) forwards; }
.rotator.rot-in { animation: rotIn .7s var(--ease-out) both; }
@keyframes rotOut { to { opacity: 0; transform: translateY(-.25em); filter: blur(4px); } }
@keyframes rotIn { from { opacity: 0; transform: translateY(.35em); filter: blur(4px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* preloader word: letters fade in */
.preloader .pl-word { animation: plWord 1s .5s var(--ease-out) both; }
@keyframes plWord { from { opacity: 0; letter-spacing: .6em; filter: blur(6px); } to { opacity: 1; letter-spacing: .28em; filter: blur(0); } }
@media (prefers-reduced-motion: reduce) { .js .split .wd { opacity: 1; transform: none; filter: none; } }


/* large screens: wider container, slightly larger reading size */
@media (min-width: 1600px) {
  :root { --container: 1340px; }
  body { font-size: 18px; }
  .lead { font-size: 21px; }
}
@media (max-width: 640px) {
  .fab-wa { width: 50px; height: 50px; border-radius: 15px; bottom: 14px; inset-inline-start: 14px; }
  .fab-wa svg { width: 24px; height: 24px; }
  .h-display { font-size: clamp(32px, 9.6vw, 44px); }
  .h-1 { font-size: clamp(26px, 7.6vw, 34px); }
}

/* ==========================================================================
   v4 — Home services explorer (3D stage + list + detail card)
   ========================================================================== */
.svx-sec { overflow: hidden; }
.svx { position: relative; display: grid; grid-template-columns: 270px minmax(0, 1fr) minmax(0, 1.3fr);
  grid-template-areas: "head head head" "list card stage" "list btns feats"; column-gap: 28px; row-gap: 22px; align-items: start; }
.svx-head { max-width: 820px; }
.svx-hint { display: none; grid-area: hint; }
.svx-head { grid-area: head; display: grid; gap: 16px; justify-items: start; padding-bottom: 14px; }
.svx-head .eyebrow svg { width: 17px; height: 17px; }
.svx-head .eyebrow { padding: 8px 16px; font-size: 15px; }
.accent-ul { position: relative; color: var(--blue-500); white-space: nowrap; }
.accent-ul::after { content: ""; position: absolute; inset-inline: -2% 4%; bottom: -.28em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 12 C60 2 140 2 198 9' fill='none' stroke='%235cd9f7' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.split .accent-ul .wd { color: var(--blue-500); }

/* list */
.svx-list { grid-area: list; position: relative; display: flex; flex-direction: column; gap: 8px; }
.svx-glider { position: absolute; top: 0; right: 0; left: 0; z-index: 0; border-radius: 16px; background: linear-gradient(110deg, var(--blue-600), var(--blue-500) 60%, #4b9bf0);
  box-shadow: 0 14px 30px -14px rgba(31,86,214,.75); transition: transform .55s var(--ease-out), height .55s var(--ease-out), width .55s var(--ease-out); pointer-events: none; }
.svx-item { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 10px 14px; border-radius: 16px;
  background: rgba(255,255,255,.75); border: 1px solid var(--line); text-align: start; font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--navy-800);
  transition: color .35s, background-color .35s, border-color .35s, transform .35s var(--ease-out); }
.svx-item:hover { border-color: rgba(47,111,232,.35); transform: translateX(-3px); }
.svx-item .ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--blue-500); background: rgba(47,111,232,.08); transition: background .35s, color .35s; }
.svx-item .ic svg { width: 20px; height: 20px; }
.svx-item .tx { flex: 1; line-height: 1.4; }
.svx-item.active { background: transparent; border-color: transparent; color: #fff; transform: none; }
.svx-item.active .ic { background: rgba(255,255,255,.18); color: #fff; }
.svx-item .pr { position: absolute; inset-inline: 16px; bottom: 6px; height: 2px; border-radius: 2px; overflow: hidden; opacity: 0; }
.svx-item .pr b { display: block; height: 100%; background: rgba(255,255,255,.85); transform: scaleX(0); transform-origin: right; }
.svx-item.run .pr { opacity: 1; }
.svx-item.run .pr b { animation: exBar 8s linear forwards; }

/* card */
.svx-card { grid-area: card; position: relative; display: grid; gap: 16px; justify-items: start; padding: clamp(22px, 2.4vw, 32px); border-radius: 26px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px -34px rgba(10,26,74,.35); min-height: 380px; align-content: start;
  transition: opacity .32s, transform .45s var(--ease-out); }
.svx-card .pill { padding: 6px 14px; border-radius: 999px; font-family: var(--font-head); font-size: 13.5px; color: var(--blue-600); background: rgba(47,111,232,.08); border: 1px solid rgba(47,111,232,.16); }
.svx-card-h { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; }
.svx-card h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.25; }
.svx-card p { color: var(--text-2); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.svx-mini { display: grid; gap: 8px; }
.svx-mini li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--navy-800); }
.svx-mini svg { width: 18px; height: 18px; color: var(--blue-500); flex: none; }
.svx-iso { width: 84px; height: 84px; flex: none; overflow: visible; filter: drop-shadow(0 14px 16px rgba(31,86,214,.28)); }
.svx-iso .tp { fill: var(--blue-400); } .svx-iso .lf { fill: var(--blue-600); } .svx-iso .rt { fill: #2563d9; }
.svx-iso .lv0 .tp { fill: #a9d4fb; } .svx-iso .lv0 .lf { fill: #7fb6f2; } .svx-iso .lv0 .rt { fill: #8cc2f6; }
.svx-iso .lv1 .tp { fill: #4f97f3; } .svx-iso .lv1 .lf { fill: #2f6fe8; } .svx-iso .lv1 .rt { fill: #3c80ee; }
.svx-iso .lv2 .tp { fill: #5cd9f7; } .svx-iso .lv2 .lf { fill: #1f56d6; } .svx-iso .lv2 .rt { fill: #2f6fe8; }
.svx-iso g { animation: isoIn .7s var(--ease-out) both; }
.svx-iso .lv1 { animation-delay: .08s; } .svx-iso .lv2 { animation-delay: .16s; }
@keyframes isoIn { from { opacity: 0; transform: translateY(-14px); } }

/* buttons */
.svx-btns { grid-area: btns; display: flex; flex-wrap: wrap; gap: 12px; transition: opacity .32s; }
.btn-navy { --bg-btn: var(--navy-800); }
.svx-btns .btn { min-height: 54px; padding: 0 26px; border-radius: 16px; }
.svx-btns .btn-ghost svg { width: 19px; height: 19px; }

/* 3D stage */
.svx-stage { grid-area: stage; position: relative; align-self: start; aspect-ratio: 1 / 1.02; perspective: 1600px; --rx: 0deg; --ry: 0deg; }
.svx-plate { position: absolute; inset: 4% 14% 34% 2%; border-radius: 40px; background: linear-gradient(135deg, #3d7ff0, #7cc3f8 70%, #cfeefd);
  transform: rotateX(calc(10deg + var(--rx))) rotateY(calc(-14deg + var(--ry))) rotateZ(4deg) translateZ(-60px); transition: transform .8s var(--ease-out); opacity: .9; overflow: hidden; }
.svx-plate svg { position: absolute; inset: 20% 6% 10% 30%; width: 64%; height: 70%; }
.svx-plate path { fill: none; stroke: rgba(255,255,255,.85); stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(255,255,255,.8)); }
.svx-screen { position: absolute; top: 15%; inset-inline: 0 3%; padding: 10px; border-radius: 30px; background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 50px 80px -40px rgba(10,26,74,.45), 0 0 0 1px rgba(10,26,74,.05), inset 0 1px 0 #fff;
  transform: rotateX(calc(8deg + var(--rx))) rotateY(calc(-16deg + var(--ry))) rotateZ(3deg); transform-origin: 60% 50%;
  transition: transform .8s var(--ease-out), opacity .32s; }
.svx-screen .vis-wrap { width: 100%; }
.svx-tile { position: absolute; display: grid; place-items: center; border-radius: 26px; z-index: 3; animation: floatY 7s ease-in-out infinite; transition: opacity .3s; }
.svx-tile svg { width: 46%; height: 46%; }
.svx-tile.t1 { width: 96px; height: 96px; top: 4%; inset-inline-end: 2%; background: linear-gradient(145deg, #4f97f3, #1f56d6); color: #fff; box-shadow: 0 20px 36px -14px rgba(31,86,214,.7), inset 0 1px 0 rgba(255,255,255,.4); }
.svx-tile.t2 { width: 108px; height: 96px; top: 66%; inset-inline-end: -2%; background: rgba(255,255,255,.92); color: var(--blue-500); border: 1px solid #fff; box-shadow: 0 24px 40px -20px rgba(10,26,74,.35); animation-delay: -3s; }
.svx-chips .fchip { z-index: 4; font-size: 15px; font-weight: 600; padding: 10px 16px 10px 12px; box-shadow: 0 18px 36px -16px rgba(10,26,74,.4), 0 0 0 1px rgba(10,26,74,.05); }
.svx-chips .fchip.fc0 { top: 16%; inset-inline-end: 10%; inset-inline-start: auto; }
.svx-chips .fchip.fc1 { top: 50%; inset-inline-start: -2%; inset-inline-end: auto; bottom: auto; }
.svx-chips .fchip.fc2 { top: 74%; inset-inline-start: 26%; bottom: auto; display: inline-flex; }

/* swap transition */
.svx.swap .svx-card { opacity: 0; transform: translateY(10px); }
.svx.swap .svx-btns, .svx.swap .svx-chips, .svx.swap .svx-tile.t1 { opacity: 0; }
.svx.swap .svx-screen { opacity: 0; transform: rotateX(14deg) rotateY(-26deg) rotateZ(5deg) translateY(16px); }
.svx-chips { transition: opacity .3s; }

/* strengths */
.svx-feats { grid-area: feats; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; padding-top: 6px; }
.svx-feats li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 15.5px; color: var(--navy-800); line-height: 1.4; padding-inline: 10px; }
.svx-feats li + li { border-inline-start: 1px solid var(--line); }
.svx-feats svg { width: 30px; height: 30px; color: var(--blue-500); }

@media (max-width: 1180px) {
  .svx { grid-template-columns: 260px minmax(0, 1fr); grid-template-areas: "head head" "list card" "list btns" "stage stage" "feats feats"; }
  .svx-stage { max-width: 620px; width: 100%; justify-self: center; }
}
@media (max-width: 760px) {
  .svx { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "list" "hint" "card" "btns" "stage" "feats"; row-gap: 16px; }
  .svx-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: -20px; padding-inline: 20px; scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(to left, #000 0, #000 78%, transparent); mask-image: linear-gradient(to left, #000 0, #000 78%, transparent); }
  .svx-item { scroll-snap-align: center; }
  .svx-hint { display: flex; align-items: center; gap: 10px; margin-top: -6px; color: var(--muted); font-family: var(--font-head); font-size: 13px; }
  .svx-hint .sw { display: inline-grid; color: var(--blue-500); animation: swipeHint 1.8s ease-in-out infinite; }
  .svx-hint .sw svg { width: 18px; height: 18px; }
  .svx-hint .trk { flex: 1; height: 4px; border-radius: 4px; background: rgba(47,111,232,.12); overflow: hidden; direction: rtl; }
  .svx-hint .trk i { display: block; height: 100%; width: 30%; border-radius: 4px; background: var(--grad-brand); transition: transform .15s linear; }
  .svx-hint.used small, .svx-hint.used .sw { display: none; }
  @keyframes swipeHint { 0%, 100% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(-8px); opacity: .6; } }
  .svx-list::-webkit-scrollbar { display: none; }
  .svx-glider { right: auto; left: 0; top: 0; }
  .svx-item { flex: none; width: auto; min-height: 48px; padding: 8px 14px 8px 10px; font-size: 14px; }
  .svx-item:hover { transform: none; }
  .svx-item .ic { width: 30px; height: 30px; }

  .svx-tile.t1 { width: 64px; height: 64px; border-radius: 18px; }
  .svx-tile.t2 { width: 70px; height: 62px; border-radius: 18px; }
  .svx-chips .fchip { font-size: 12.5px; padding: 7px 11px 7px 8px; }
  .svx-chips .fchip.fc2 { display: none; }
  .svx-card { min-height: 0; }
  .svx-iso { width: 64px; height: 64px; }
  .svx-btns .btn { flex: 1 1 100%; }
  .svx-feats li { font-size: 14px; }
  .svx-feats svg { width: 26px; height: 26px; }
}

/* ==========================================================================
   v5 — Floating pill navigation, bottom tab bar, unified headings
   ========================================================================== */
:root { --header-h: 92px; }
.header, .header.scrolled { background: transparent; box-shadow: none; height: var(--header-h); }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 100%; }
.hdr::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: linear-gradient(90deg, transparent, rgba(47,111,232,.14) 20%, rgba(47,111,232,.14) 80%, transparent); z-index: -1; pointer-events: none; }
.brand-pill { display: flex; align-items: center; height: 60px; padding: 0 18px; border-radius: 20px; background: rgba(255,255,255,.96); border: 1px solid rgba(10,26,74,.06); box-shadow: 0 10px 30px -18px rgba(10,26,74,.35); transition: box-shadow .3s; }
.brand-pill img { height: 40px; width: auto; }
.nav-pill { position: relative; display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.96); border: 1px solid rgba(10,26,74,.06); box-shadow: 0 10px 30px -18px rgba(10,26,74,.35); transition: box-shadow .3s; }
.nav-pill .nv { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 999px; font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--text-2); transition: color .25s, background-color .25s; }
.nav-pill .nv svg { width: 18px; height: 18px; color: var(--muted); transition: color .25s; }
.nav-pill .nv:hover { color: var(--navy-800); background: var(--bg-2); }
.nav-pill .nv:hover svg { color: var(--blue-500); }
.nav-pill .nv.on { color: var(--navy-800); background: var(--bg-2); box-shadow: inset 0 0 0 1px rgba(47,111,232,.16); font-weight: 600; }
.nav-pill .nv.on svg { color: var(--blue-500); }
.nav-pill .nv.on::before { content: ""; position: absolute; top: -7px; left: 50%; width: 26px; height: 3px; margin-left: -13px; border-radius: 0 0 3px 3px; background: var(--blue-500); }
.hdr-cta { min-height: 52px; padding: 0 22px; border-radius: 999px; }
.header.scrolled .brand-pill, .header.scrolled .nav-pill { box-shadow: 0 14px 36px -16px rgba(10,26,74,.4); }
.nav, .burger, .mobile-menu { display: none !important; }
@media (max-width: 1100px) { .nav-pill .nv { padding: 0 12px; } .nav-pill .nv svg { display: none; } }

/* bottom tab bar (mobile) */
.bnav { display: none; }
@media (max-width: 900px) {
  :root { --header-h: 78px; }
  .hdr { justify-content: center; }
  .hdr::before { inset-inline: 20px; }
  .nav-pill, .hdr-cta { display: none; }
  .brand-pill { height: 54px; padding: 0 20px; }
  .brand-pill img { height: 36px; }
  .header.hidden { transform: translateY(-110%); }
  .bnav { position: fixed; z-index: 120; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 2px; padding: 7px; border-radius: 26px;
    background: linear-gradient(120deg, var(--navy-800), #173a9a); box-shadow: 0 18px 40px -14px rgba(7,19,56,.65), inset 0 1px 0 rgba(255,255,255,.12); }
  .bnav .bn { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 7px; height: 52px; border-radius: 20px; color: rgba(255,255,255,.72); font-family: var(--font-head); font-size: 13px; font-weight: 600; transition: flex-grow .45s var(--ease-out), background-color .3s, color .3s; }
  .bnav .bn svg { width: 22px; height: 22px; flex: none; }
  .bnav .bn span { display: none; white-space: nowrap; }
  .bnav .bn.on { flex-grow: 2.4; background: rgba(255,255,255,.16); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
  .bnav .bn.on span { display: inline; }
  .bnav .bn:active { transform: scale(.96); }
  body { padding-bottom: 86px; }
  .fab-wa { bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) { .bnav .bn.on span { font-size: 12px; } .bnav .bn svg { width: 20px; height: 20px; } }

/* ---------- Unified heading system ---------- */
.eyebrow svg { width: 16px; height: 16px; flex: none; color: var(--blue-500); }
.eyebrow.on-dark svg { color: var(--sky-300); }
.eyebrow .px { display: none; }
.accent-ul { color: var(--blue-500); white-space: normal; padding-bottom: .16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath d='M2 12 C60 2 140 2 198 9' fill='none' stroke='%235cd9f7' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 50% 100% / 100% .3em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.accent-ul::after { display: none !important; }
.band-dark .accent-ul, .cta-panel .accent-ul, .cs-card.sol .accent-ul { color: var(--sky-300); }
.split .accent-ul .wd { color: inherit; }
.split .wd-block { padding-block: .12em; margin-block: -.12em; }
.grad-text { padding-block: .08em; }

/* type scale */
.hero-title.h-display { font-size: clamp(34px, 5.2vw, 70px); line-height: 1.22; }
.h-page { font-size: clamp(32px, 4.4vw, 60px); font-weight: 700; line-height: 1.22; }
.h-display { font-size: clamp(32px, 4.8vw, 64px); line-height: 1.22; }
.h-1 { font-size: clamp(26px, 3.3vw, 46px); line-height: 1.3; }
.h-2 { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.35; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }

/* page hero: text + artwork side by side (never overlapping) */
.page-hero .ph-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 26vw, 340px); gap: clamp(24px, 4vw, 60px); align-items: center; justify-items: stretch; }
.ph-text { display: grid; gap: 20px; justify-items: start; }
.ph-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.ph-art svg.mark { width: 66%; height: auto; position: relative; z-index: 1; animation: floatY 6s ease-in-out infinite; filter: drop-shadow(0 24px 30px rgba(10,26,74,.2)); }
.ph-art .glow-blob { inset: 8%; }
.ph-art .orbit { position: absolute; inset: 4%; border-radius: 50%; border: 1px dashed rgba(47,111,232,.25); animation: spin 50s linear infinite; }
.ph-art .orbit i { position: absolute; width: 12px; height: 12px; border-radius: 4px; background: var(--grad-brand); top: -6px; left: calc(50% - 6px); }
.ph-mark { display: none !important; }
@media (max-width: 900px) { .page-hero .ph-grid { grid-template-columns: 1fr; } .ph-art { display: none; } }

/* ==========================================================================
   v5 — Browser frame, Works page, Project detail
   ========================================================================== */
.btn-visit { --bg-btn: var(--pc, var(--blue-500)); color: #fff; box-shadow: 0 10px 24px -12px var(--pc, var(--blue-500)); }
.btn-visit::before { background: linear-gradient(120deg, var(--navy-800), var(--pc, var(--blue-500))); }
.btn-visit svg { width: 18px; height: 18px; }

/* browser frame */
.bframe { position: relative; padding: 0 0 6% 0; isolation: isolate; }
.bf-glow { position: absolute; inset: 10% 6% 0; z-index: -1; border-radius: 40px; background: radial-gradient(60% 60% at 50% 50%, color-mix(in srgb, var(--pc) 30%, transparent), transparent 70%); }
.bf-win { position: relative; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(10,26,74,.08); box-shadow: 0 30px 60px -30px rgba(10,26,74,.4); transition: transform .7s var(--ease-out), box-shadow .5s; }
.bf-bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f3f6fc; border-bottom: 1px solid #e6ecf7; direction: ltr; }
.bf-bar .dots { display: flex; gap: 5px; } .bf-bar .dots i { width: 9px; height: 9px; border-radius: 50%; background: #5cd9f7; } .bf-bar .dots i:nth-child(2) { background: #4f97f3; } .bf-bar .dots i:nth-child(3) { background: #2f6fe8; }
.bf-url { flex: 1; display: flex; align-items: center; gap: 6px; min-width: 0; height: 26px; padding: 0 10px; border-radius: 8px; background: #fff; border: 1px solid #e3e9f5; font: 500 12px var(--font-mono); color: var(--text-2); }
.bf-url svg { width: 12px; height: 12px; color: #1f56d6; flex: none; } .bf-url b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bf-act { color: var(--muted); display: grid; } .bf-act svg { width: 15px; height: 15px; }
.bf-body { position: relative; aspect-ratio: 16 / 9.6; background: linear-gradient(160deg, #f8faff, #eef3fd); overflow: hidden; }
.bf-body > img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.bf-body .m-browser.bare { border-radius: 0; box-shadow: none; height: 100%; }
.bf-body .m-browser.bare .m-body { aspect-ratio: auto; height: 100%; }
.bf-phone { position: absolute; width: 19%; inset-inline-start: -3%; bottom: 0; z-index: 2; transition: transform .7s var(--ease-out); }
.bf-phone .m-phone { box-shadow: 0 24px 40px -16px rgba(10,26,74,.55); }

/* ---------- Works page ---------- */
.wfilter { position: sticky; top: calc(var(--header-h) + 6px); z-index: 25; display: flex; justify-content: center; margin: 0 auto clamp(30px, 4vw, 56px); }
.wf-track { position: relative; display: flex; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.97); border: 1px solid rgba(10,26,74,.07); box-shadow: 0 14px 34px -20px rgba(10,26,74,.4); }
.wf-track::-webkit-scrollbar { display: none; }
.wf-glider { position: absolute; top: 6px; bottom: 6px; left: 0; border-radius: 999px; background: var(--navy-800); box-shadow: 0 8px 18px -8px rgba(10,26,74,.6); transition: transform .5s var(--ease-out), width .5s var(--ease-out); z-index: 0; }
.wf-btn { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-family: var(--font-head); font-size: 14.5px; font-weight: 500; color: var(--text-2); white-space: nowrap; transition: color .3s; }
.wf-btn svg { width: 17px; height: 17px; color: var(--blue-500); transition: color .3s; }
.wf-btn em { font: 600 11.5px/1 var(--font-mono); font-style: normal; min-width: 22px; padding: 4px 6px; border-radius: 999px; background: var(--bg-2); color: var(--muted); transition: background .3s, color .3s; }
.wf-btn:hover { color: var(--navy-800); }
.wf-btn.on { color: #fff; } .wf-btn.on svg { color: var(--sky-300); } .wf-btn.on em { background: rgba(255,255,255,.16); color: #fff; }

.wlist { display: grid; gap: clamp(56px, 7vw, 100px); }
.wrow { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.wrow + .wrow::before { content: ""; position: absolute; top: calc(clamp(56px, 7vw, 100px) / -2); left: 15%; right: 15%; border-top: 1px dashed rgba(47,111,232,.18); }
.wrow:not(.rev) .wrow-media { order: 2; }
.wrow[hidden] { display: none; }
.wrow.pop { animation: wPop .6s var(--ease-out) both; }
@keyframes wPop { from { opacity: 0; transform: translateY(18px); } }
.wrow-media { display: block; }
.wrow-media:hover .bf-win { transform: translateY(-6px); box-shadow: 0 40px 70px -30px rgba(10,26,74,.45); }
.wrow-media:hover .bf-phone { transform: translateY(-12px); }
.wrow-text { position: relative; display: grid; gap: 14px; justify-items: start; }
.wnum { position: absolute; top: -.55em; inset-inline-end: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(70px, 8vw, 120px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(47,111,232,.14); z-index: -1; user-select: none; }
.wmeta { display: flex; flex-wrap: wrap; gap: 8px; }
.wchip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; color: var(--text-2); font-family: var(--font-head); }
.wchip svg { width: 14px; height: 14px; color: var(--muted); }
.wchip.pc { color: var(--pc); background: color-mix(in srgb, var(--pc) 8%, #fff); border-color: color-mix(in srgb, var(--pc) 22%, #fff); font-weight: 600; }
.wchip.pc svg { color: var(--pc); }
.wchip.demo { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.wtitle { font-size: clamp(24px, 2.4vw, 34px); font-weight: 700; line-height: 1.3; }
.wtitle a:hover { color: var(--blue-600); }
.wdesc { color: var(--text-2); font-size: 16.5px; max-width: 54ch; }
.wfeat { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; }
.wfeat li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; color: var(--navy-800); }
.wfeat svg { width: 17px; height: 17px; flex: none; color: var(--blue-500); }
.wtech { display: flex; flex-wrap: wrap; gap: 6px; direction: ltr; justify-content: flex-end; }
.wrow-text .wtech { justify-content: flex-start; direction: rtl; }
.wtech span { font: 500 12px var(--font-mono); padding: 4px 10px; border-radius: 8px; background: var(--bg-2); color: var(--navy-700); direction: ltr; }
.wbtns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.wbtns .btn { min-height: 48px; padding: 0 20px; font-size: 15px; border-radius: 14px; }
.wempty { text-align: center; color: var(--muted); padding: 40px 0; }

/* home featured cards now use the browser frame */
.p-cover .bframe { padding: 6% 7% 0; }
.p-cover { background: linear-gradient(160deg, var(--bg-2), #fff); }
.p-cover .bf-phone { width: 20%; inset-inline-start: 3%; bottom: -10%; }

/* ---------- Project detail ---------- */
.pd-hero { position: relative; padding-top: calc(var(--header-h) + clamp(28px, 4vw, 56px)); padding-bottom: clamp(110px, 12vw, 160px); overflow: hidden; }
.pd-hero > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.pd-hero .container { position: relative; z-index: 3; }
.pd-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 70px); align-items: center; margin-top: 22px; }
.pd-text { display: grid; gap: 18px; justify-items: start; }
.pd-meta { display: grid; gap: 0; width: 100%; margin: 4px 0; border-top: 1px solid var(--line); }
.pd-meta > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.pd-meta dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; }
.pd-meta dt svg { width: 17px; height: 17px; color: var(--blue-500); }
.pd-meta dd { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 15px; text-align: end; }
.pd-meta dd a { color: var(--blue-600); } .pd-meta dd a:hover { text-decoration: underline; }
.pd-media .bframe { padding-bottom: 8%; }
.story { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: stretch; }
.st-card { position: relative; display: grid; gap: 12px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 50px -34px rgba(10,26,74,.35); }
.st-card h3 { font-size: 22px; } .st-card p { color: var(--text-2); }
.st-n { position: absolute; top: 20px; inset-inline-end: 24px; font: 700 40px var(--font-head); color: transparent; -webkit-text-stroke: 1.2px rgba(47,111,232,.2); }
.st-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(47,111,232,.1); color: var(--blue-600); }
.st-ic svg { width: 26px; height: 26px; }
.st-card.sol { background: var(--grad-dark); border-color: transparent; color: #fff; }
.st-card.sol p { color: #c4d3f2; } .st-card.sol .st-ic { background: rgba(92,217,247,.14); color: var(--sky-300); } .st-card.sol .st-n { -webkit-text-stroke-color: rgba(92,217,247,.25); }
.st-link { display: grid; place-items: center; }
.st-link span { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--blue-500); box-shadow: var(--shadow-s); }
.st-link svg { width: 22px; height: 22px; }
.gal { display: grid; gap: 18px; max-width: 980px; margin-inline: auto; }
.gal-stage { position: relative; padding: clamp(18px, 4vw, 48px); border-radius: 30px; background: radial-gradient(70% 80% at 50% 0%, color-mix(in srgb, var(--qc) 30%, transparent), transparent 70%), linear-gradient(160deg, color-mix(in srgb, var(--pc) 14%, #fff), #fff); border: 1px solid var(--line); }
.gal-view { transition: opacity .22s, transform .3s var(--ease-out); min-height: 200px; display: grid; align-items: center; }
.gal-view.out { opacity: 0; transform: scale(.98); }
.gal-view .cover-phones { position: relative; inset: auto; display: flex; justify-content: center; gap: 6%; padding: 2% 0; }
.gal-view .cover-phones .m-phone { width: 24%; max-width: 200px; }
.gal-view img { width: 100%; border-radius: 14px; box-shadow: var(--shadow); }
.gal-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.gal-th { display: grid; gap: 8px; padding: 10px; border-radius: 16px; background: #fff; border: 1.5px solid var(--line); font-family: var(--font-head); font-size: 14px; color: var(--text-2); transition: border-color .3s, box-shadow .3s, transform .3s; text-align: center; }
.gal-th .th-prev { height: 74px; overflow: hidden; border-radius: 10px; background: var(--bg-2); pointer-events: none; display: block; }
.gal-th .th-prev > * { transform: scale(.42); transform-origin: top center; width: 238%; margin-inline: -69%; }
.gal-th .th-prev img { transform: none; width: 100%; margin: 0; height: 100%; object-fit: cover; }
.gal-th:hover { transform: translateY(-2px); }
.gal-th.on { border-color: var(--blue-500); color: var(--navy-800); box-shadow: 0 10px 24px -14px rgba(47,111,232,.6); }
.pd-feat { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.pf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pf { position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-family: var(--font-head); font-size: 15px; overflow: hidden; }
.pf > span { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.pf > span svg { width: 16px; height: 16px; }
.pf em { position: absolute; inset-inline-end: 12px; bottom: 6px; font: 700 26px var(--font-head); font-style: normal; color: rgba(47,111,232,.08); }
.pd-aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -34px rgba(10,26,74,.35); }
.pd-aside h3 { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.pd-aside h3 svg { width: 18px; height: 18px; color: var(--blue-500); }
.pd-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pn-card { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; padding: 14px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s; }
.pn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(47,111,232,.3); }
.pn-card small { color: var(--muted); font-size: 13px; } .pn-card b { display: block; font-family: var(--font-head); font-size: 17px; margin-top: 2px; }
.pn-card .bframe { padding: 0; } .pn-card .bf-glow { display: none; } .pn-card .bf-bar { padding: 5px 7px; } .pn-card .bf-url { height: 14px; font-size: 0; } .pn-card .bf-act { display: none; }
.pn-card.nx { direction: ltr; } .pn-card.nx > div:last-child { direction: rtl; text-align: end; }

@media (max-width: 980px) {
  .wrow { grid-template-columns: 1fr; }
  .wrow:not(.rev) .wrow-media, .wrow .wrow-media { order: 0; }
  .wrow-media { max-width: 640px; }
  .pd-grid, .pd-feat { grid-template-columns: 1fr; }
  .pd-aside { position: static; }
  .story { grid-template-columns: 1fr; }
  .st-link span svg { transform: rotate(-90deg); }
}
@media (max-width: 640px) {
  .wfilter { top: calc(var(--header-h) - 4px); margin-inline: -20px; padding-inline: 12px; }
  .wf-btn { height: 40px; padding: 0 13px; font-size: 13.5px; }
  .wfeat, .pf-grid, .pd-nav { grid-template-columns: 1fr; }
  .wbtns .btn { flex: 1 1 auto; }
  .bf-url { font-size: 10.5px; }
  .pn-card { grid-template-columns: 110px 1fr; }
  .pd-meta > div { flex-wrap: wrap; }
}
.gal-th .th-prev { position: relative; isolation: isolate; }
.gal-th .cover-phones { position: relative; inset: auto; display: flex; justify-content: center; gap: 8%; }
.gal-th .cover-phones .m-phone { width: 22%; }
.pn-card .bf-url b, .pn-card .bf-url svg { display: none; }
@media (max-width: 640px) { .bf-phone { width: 22%; inset-inline-start: 1%; } .wnum { font-size: 64px; top: -.4em; } }

/* ==========================================================================
   v6 — Type, spacing, header states, mobile brand bar, crumbs
   ========================================================================== */
:root { --font-head: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif; }
h1, h2, h3, .h-page, .h-display, .h-1, .h-2 { font-weight: 700; letter-spacing: -.005em; }
.h-display, .h-page, .hero-title.h-display { font-weight: 800; }
.hero-title.h-display { font-size: clamp(32px, 4.6vw, 62px); line-height: 1.28; }
.h-page { font-size: clamp(30px, 3.9vw, 54px); line-height: 1.28; }
.h-display { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.28; }
.h-1 { font-size: clamp(25px, 2.9vw, 40px); line-height: 1.38; }
.h-2 { font-size: clamp(21px, 2.1vw, 29px); line-height: 1.4; }
.h-3 { font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; }
.lead { font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.85; }
.eyebrow { font-weight: 500; font-size: 14px; }
.btn { font-weight: 600; font-size: 15px; }
.wtitle { font-size: clamp(22px, 2.1vw, 30px); }
.svx-card h3 { font-size: clamp(22px, 2.1vw, 28px); }

/* whitespace */
.section { padding-block: clamp(60px, 7.5vw, 104px); }
.svc-band { padding-block: clamp(70px, 8vw, 116px); }
.band-dark.section, .deliver { padding-block: clamp(96px, 10vw, 140px); }
.page-hero { padding-top: calc(var(--header-h) + clamp(22px, 3.5vw, 52px)); padding-bottom: clamp(84px, 9vw, 120px); }
.detail-hero, .pd-hero { padding-bottom: clamp(88px, 9vw, 124px); }
.section-head { margin-bottom: clamp(30px, 4vw, 52px); gap: 14px; }
.wave { height: clamp(46px, 5.4vw, 84px); }
.footer { margin-top: clamp(60px, 7vw, 96px); }
.cta-wrap-pad { padding-bottom: clamp(20px, 3vw, 40px); }

/* header: always visible; soft fade band once scrolled */
.header, .header.hidden { transform: none !important; }
.header::before { content: ""; position: absolute; inset: 0 0 -22px; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: linear-gradient(to bottom, rgba(245,248,255,.97) 0%, rgba(245,248,255,.9) 62%, rgba(245,248,255,0) 100%); }
.header.scrolled::before { opacity: 1; }

/* mobile brand bar */
.mhdr { display: none; }
@media (max-width: 900px) {
  .hdr { display: none; }
  .header::before { display: none; }
  .mhdr { position: absolute; inset: 10px 12px auto; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 8px 0 10px; border-radius: 20px;
    background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6);
    border: 1px solid rgba(255,255,255,.85); box-shadow: 0 12px 30px -18px rgba(10,26,74,.4); }
  .mbrand { display: flex; align-items: center; gap: 10px; min-width: 0; }
  .mbrand img { width: 40px; height: 40px; object-fit: contain; flex: none; }
  .mbrand span { display: grid; line-height: 1.15; min-width: 0; }
  .mbrand b { font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: .06em; color: var(--navy-800); text-align: start; }
  .mbrand small { font-size: 11.5px; color: var(--blue-600); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mwa { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: #2f6fe8; color: #fff; box-shadow: 0 8px 18px -8px rgba(47,111,232,.8); }
  .mwa svg { width: 22px; height: 22px; }
  .fab-wa { display: none; }
}

/* breadcrumbs with icons */
.crumbs { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid var(--line); font-size: 13.5px; }
.crumbs a, .crumbs .cur { display: inline-flex; align-items: center; gap: 6px; }
.crumbs svg { width: 15px; height: 15px; flex: none; }
.crumbs a svg { color: var(--muted); } .crumbs a:hover svg { color: var(--blue-500); }
.crumbs .cur { color: var(--navy-800); font-weight: 600; font-family: var(--font-head); }
.crumbs .cur svg { color: var(--blue-500); }
.crumbs .sep { display: inline-grid; color: #b8c4de; } .crumbs .sep svg { width: 13px; height: 13px; }

/* ---------- Page hero artworks ---------- */
.ph-art { aspect-ratio: 1; }
.art { position: absolute; inset: 0; }
.art::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(92,217,247,.32), rgba(47,111,232,.08) 55%, transparent 70%); }

/* services: orbit hub */
.art-orbit .ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(47,111,232,.28); animation: spin 40s linear infinite; }
.art-orbit .r1 { inset: 22%; animation-duration: 26s; animation-direction: reverse; }
.art-orbit .r2 { inset: 4%; }
.art-orbit .oi { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--blue-600);
  box-shadow: 0 12px 24px -12px rgba(10,26,74,.45), 0 0 0 1px rgba(10,26,74,.06);
  transform: rotate(var(--a)) translateY(calc(var(--R) * -1)) rotate(calc(var(--a) * -1)); }
.art-orbit .r2 .oi { --R: calc(var(--sz, 300px) * .46 - 4px); }
.art-orbit .r1 .oi { --R: calc(var(--sz, 300px) * .28); width: 40px; height: 40px; margin: -20px; background: linear-gradient(145deg, #4f97f3, #1f56d6); color: #fff; }
.art-orbit .oi svg { width: 50%; height: 50%; animation: spin 40s linear infinite reverse; }
.art-orbit .r1 .oi svg { animation: spin 26s linear infinite; }
.art-orbit .hub { position: absolute; inset: 38%; border-radius: 50%; display: grid; place-items: center; background: var(--grad-dark); color: var(--sky-300); box-shadow: 0 20px 40px -14px rgba(31,86,214,.7), inset 0 0 0 2px rgba(92,217,247,.3); z-index: 2; }
.art-orbit .hub span { display: grid; width: 46%; animation: spin 12s linear infinite; } .art-orbit .hub svg { width: 100%; height: auto; }
.art-orbit .halo { position: absolute; inset: 34%; border-radius: 50%; border: 2px solid var(--sky-300); opacity: 0; animation: vRing 3.4s ease-out infinite; }
.ph-art { container-type: inline-size; }
@container (min-width: 1px) { .art-orbit { --sz: 100cqw; } }

/* work: fanned browser stack */
.art-stack .win { position: absolute; width: 82%; left: 9%; top: 24%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 26px 50px -24px rgba(10,26,74,.5), 0 0 0 1px rgba(10,26,74,.06); animation: stackCycle 9s var(--ease-io) infinite; }
.art-stack .w0 { animation-delay: 0s; } .art-stack .w1 { animation-delay: -3s; } .art-stack .w2 { animation-delay: -6s; }
@keyframes stackCycle {
  0%, 28% { transform: translate(0, 0) rotate(0deg); z-index: 3; opacity: 1; }
  33%, 61% { transform: translate(-14%, -18%) rotate(-7deg) scale(.9); z-index: 1; opacity: .75; }
  66%, 94% { transform: translate(14%, -9%) rotate(6deg) scale(.95); z-index: 2; opacity: .9; }
  100% { transform: translate(0, 0) rotate(0deg); z-index: 3; opacity: 1; } }
.art-stack .wb { display: flex; gap: 4px; align-items: center; padding: 7px 9px; background: #f1f5fd; }
.art-stack .wb i { width: 6px; height: 6px; border-radius: 50%; background: #5cd9f7; } .art-stack .wb i:nth-child(2) { background: #4f97f3; } .art-stack .wb i:nth-child(3) { background: #2f6fe8; }
.art-stack .wb span { flex: 1; height: 7px; margin-inline-start: 8px; border-radius: 4px; background: #e2e9f7; }
.art-stack .wh { margin: 9px; height: 62px; border-radius: 9px; background: linear-gradient(135deg, var(--p), var(--q)); padding: 12px; display: grid; align-content: center; gap: 5px; }
.art-stack .wh em { height: 6px; width: 60%; border-radius: 3px; background: rgba(255,255,255,.9); } .art-stack .wh em.s { width: 40%; background: rgba(255,255,255,.55); }
.art-stack .wh b { width: 34px; height: 9px; border-radius: 5px; background: #fff; }
.art-stack .wg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 9px 10px; } .art-stack .wg i { height: 28px; border-radius: 6px; background: #f1f5fd; }
.badge-live { position: absolute; bottom: 14%; inset-inline-start: 2%; z-index: 5; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #fff; font-family: var(--font-head); font-size: 13px; font-weight: 600; color: #1f56d6; box-shadow: 0 12px 26px -12px rgba(10,26,74,.4); animation: floatY 5s ease-in-out infinite; }
.badge-live svg { width: 16px; height: 16px; }

/* about: hex triad */
.art-hex .lnk { position: absolute; inset: 0; width: 100%; height: 100%; }
.art-hex .lnk path { fill: none; stroke: rgba(47,111,232,.35); stroke-width: 2; stroke-dasharray: 6 8; animation: vDash 3s linear infinite; }
.art-hex .hx { position: absolute; width: 34%; aspect-ratio: 1 / 1.1; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); display: grid; place-items: center; align-content: center; gap: 4px;
  background: linear-gradient(160deg, #fff, #e8f1ff); color: var(--blue-600); animation: hexPulse 6s ease-in-out infinite; }
.art-hex .hx::after { content: ""; position: absolute; inset: 0; clip-path: inherit; box-shadow: inset 0 0 0 2px rgba(47,111,232,.25); }
.art-hex .hx span { display: grid; } .art-hex .hx svg { width: 34px; height: 34px; }
.art-hex .hx b { font-family: var(--font-head); font-size: 15px; color: var(--navy-800); }
.art-hex .h0 { top: 9%; left: 33%; } .art-hex .h1 { top: 50%; left: 11%; animation-delay: 2s; } .art-hex .h2 { top: 50%; left: 55%; animation-delay: 4s; }
@keyframes hexPulse { 0%, 30%, 100% { background: linear-gradient(160deg, #fff, #e8f1ff); color: var(--blue-600); transform: scale(1); } 10%, 22% { background: linear-gradient(160deg, #4f97f3, #1f56d6); color: #fff; transform: scale(1.06); } }
.art-hex .hx b { transition: color .3s; }
.art-hex .core { position: absolute; top: 47%; left: 47%; width: 6%; aspect-ratio: 1; border-radius: 50%; background: var(--sky-300); box-shadow: 0 0 0 6px rgba(92,217,247,.25), 0 0 22px var(--sky-300); animation: breathe 3s ease-in-out infinite; }

/* contact: chat */
.art-chat .phone { position: absolute; inset: 8% 16% 6% 16%; border-radius: 30px; padding: 12px; background: #fff; box-shadow: 0 30px 60px -28px rgba(10,26,74,.5), 0 0 0 7px #0b1230; display: grid; align-content: start; gap: 8px; overflow: hidden; }
.art-chat .ph-top { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.art-chat .ph-top span { grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #2f6fe8; color: #fff; } .art-chat .ph-top svg { width: 17px; height: 17px; }
.art-chat .ph-top b { font: 700 13px var(--font-head); letter-spacing: .05em; } .art-chat .ph-top small { font-size: 10.5px; color: #1f56d6; }
.art-chat .b { margin: 0; max-width: 82%; padding: 7px 11px; border-radius: 14px; font-size: 12px; line-height: 1.5; opacity: 0; animation: vMsg 10s var(--ease-out) infinite; animation-delay: calc(var(--i) * 1.3s + .3s); }
.art-chat .b.in { justify-self: start; background: var(--bg-2); color: var(--navy-800); border-bottom-right-radius: 4px; }
.art-chat .b.out { justify-self: end; background: var(--blue-500); color: #fff; border-bottom-left-radius: 4px; }
.art-chat .typing { margin: 0; justify-self: end; display: flex; gap: 4px; padding: 10px 12px; border-radius: 14px; background: var(--blue-500); opacity: 0; animation: vMsg 10s infinite; animation-delay: calc(var(--i) * 1.3s + .3s); }
.art-chat .typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pxBlink 1s infinite; } .art-chat .typing i:nth-child(2) { animation-delay: .2s; } .art-chat .typing i:nth-child(3) { animation-delay: .4s; }
.art-chat .plane { position: absolute; top: 6%; inset-inline-start: 2%; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: 0 14px 26px -10px rgba(31,86,214,.7); animation: planeFly 6s ease-in-out infinite; z-index: 3; }
.art-chat .plane svg { width: 24px; height: 24px; }
@keyframes planeFly { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-14px, -10px) rotate(-8deg); } }
.art-chat .env { position: absolute; bottom: 10%; inset-inline-end: 2%; width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: #fff; color: var(--blue-500); box-shadow: 0 14px 26px -12px rgba(10,26,74,.4); animation: floatY 5s ease-in-out infinite -2s; z-index: 3; }
.art-chat .env svg { width: 24px; height: 24px; }

/* 404 */
.art-404 { display: grid; place-items: center; }
.art-404 .g { position: relative; font: 800 clamp(70px, 9vw, 120px) var(--font-head); color: var(--navy-800); direction: ltr; }
.art-404 .g::before, .art-404 .g::after { content: attr(data-t); position: absolute; inset: 0; }
.art-404 .g::before { color: var(--sky-300); animation: glitch 2.6s steps(2) infinite; clip-path: inset(0 0 55% 0); }
.art-404 .g::after { color: var(--blue-500); animation: glitch 2.6s steps(2) infinite reverse; clip-path: inset(55% 0 0 0); }
@keyframes glitch { 0%, 80%, 100% { transform: none; } 84% { transform: translate(-4px, 1px); } 90% { transform: translate(4px, -1px); } }
.art-404 .crack { position: absolute; bottom: 18%; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; animation: floatY 5s ease-in-out infinite; } .art-404 .crack svg { width: 26px; }

/* services quick nav */
.sq-wrap { position: sticky; top: calc(var(--header-h) + 6px); z-index: 20; width: 100%; margin-top: 26px; }
.sq-wrap .svc-quick { position: static; margin: 0; padding: 8px; padding-inline-end: 64px; border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: 0 14px 34px -22px rgba(10,26,74,.35); }
.sq-wrap::after { content: ""; position: absolute; top: 1px; bottom: 1px; inset-inline-end: 1px; width: 130px; border-radius: 0 18px 18px 0; pointer-events: none; background: linear-gradient(to left, #fff 45%, rgba(255,255,255,0)); transition: opacity .3s; }
[dir="rtl"] .sq-wrap::after { border-radius: 18px 0 0 18px; }
.sq-wrap.end::after { opacity: 0; }
.svc-quick a { gap: 9px; }
.svc-quick a .qi { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: rgba(47,111,232,.09); color: var(--blue-500); font-style: normal; transition: background .25s, color .25s; }
.svc-quick a .qi svg { width: 16px; height: 16px; }
.svc-quick a.on { background: var(--navy-800); color: #fff; } .svc-quick a.on .qi { background: rgba(255,255,255,.14); color: var(--sky-300); }
.sq-more { position: absolute; top: 50%; inset-inline-end: 10px; z-index: 2; transform: translateY(-50%); display: inline-flex; align-items: center; gap: 2px; height: 38px; padding: 0 10px; border: 0; border-radius: 12px; background: var(--navy-800); color: #fff; box-shadow: 0 8px 18px -8px rgba(10,26,74,.6); transition: opacity .3s, transform .3s; }
.sq-more span { font-size: 11px; letter-spacing: 1px; } .sq-more svg { width: 16px; height: 16px; }
.sq-more:hover { background: var(--blue-500); }
.sq-wrap.end .sq-more { opacity: 0; pointer-events: none; transform: translateY(-50%) scale(.8); }

/* ---------- Home: crossing ribbons ---------- */
.ribbons { position: relative; height: clamp(150px, 15vw, 200px); overflow: hidden; margin-top: -10px; }
.rb { position: absolute; left: -4%; right: -4%; top: 50%; display: flex; overflow: hidden; padding-block: 14px; }
.rb-front { transform: translateY(-50%) rotate(-2.4deg); background: linear-gradient(100deg, var(--navy-800), #12286b 50%, var(--navy-800)); box-shadow: 0 18px 40px -20px rgba(7,19,56,.6); z-index: 2; }
.rb-back { transform: translateY(-50%) rotate(2.6deg); background: #fff; border-block: 1px solid var(--line); z-index: 1; padding-block: 12px; }
.rb-row { display: flex; align-items: center; width: max-content; animation: marquee 46s linear infinite; }
.rb-back .rb-row { animation-direction: reverse; animation-duration: 54s; }
.ribbons:hover .rb-row { animation-play-state: paused; }
.rbi { display: inline-flex; align-items: center; gap: 12px; padding-inline: 22px; font-family: var(--font-head); font-weight: 600; font-size: clamp(16px, 1.6vw, 21px); color: #fff; white-space: nowrap; }
.rbi i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: rgba(92,217,247,.14); color: var(--sky-300); box-shadow: inset 0 0 0 1px rgba(92,217,247,.25); font-style: normal; }
.rbi i svg { width: 20px; height: 20px; }
.rbs { display: inline-grid; color: var(--sky-300); opacity: .8; } .rbs svg { width: 18px; height: 18px; animation: spin 6s linear infinite; }
.rbt { padding-inline: 20px; font: 500 clamp(14px, 1.3vw, 17px) var(--font-mono); color: var(--navy-700); white-space: nowrap; }
.rbd { width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--grad-brand); flex: none; }
.marquee { display: none; }
@media (max-width: 640px) { .rbi i { width: 32px; height: 32px; } .rb { padding-block: 10px; } }

/* ---------- About ---------- */
.decode { display: grid; gap: 22px; max-width: 1000px; margin-inline: auto; }
.lts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; direction: ltr; }
.lt { position: relative; display: grid; justify-items: center; gap: 6px; padding: 18px 6px 14px; border-radius: 22px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .3s, background-color .3s, box-shadow .4s; }
.lt .ch { font: 800 clamp(34px, 5vw, 62px)/1 var(--font-head); color: var(--navy-800); transition: color .3s; }
.lt .nm { font: 600 14px var(--font-head); color: var(--muted); direction: rtl; transition: color .3s; }
.lt:hover { transform: translateY(-4px); border-color: rgba(47,111,232,.4); }
.lt.on { background: linear-gradient(150deg, #2f6fe8, #1f56d6); border-color: transparent; transform: translateY(-8px); box-shadow: 0 20px 36px -16px rgba(31,86,214,.7); }
.lt.on .ch { color: #fff; } .lt.on .nm { color: var(--sky-200); }
.lt.on::after { content: ""; position: absolute; bottom: -10px; left: 50%; width: 18px; height: 18px; margin-left: -9px; background: #1f56d6; transform: rotate(45deg); }
.dc-panel { position: relative; display: flex; align-items: center; gap: 22px; padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: var(--grad-dark); color: #fff; overflow: hidden; min-height: 150px; transition: opacity .22s, transform .3s var(--ease-out); }
.dc-panel.sw { opacity: 0; transform: translateY(6px); }
.dc-ic { width: 64px; height: 64px; flex: none; border-radius: 20px; display: grid; place-items: center; background: rgba(92,217,247,.14); color: var(--sky-300); box-shadow: inset 0 0 0 1px rgba(92,217,247,.25); }
.dc-ic svg { width: 30px; height: 30px; }
.dc-en { font: 500 13px var(--font-mono); color: var(--sky-300); letter-spacing: .08em; }
.dc-ar { font-size: clamp(24px, 2.6vw, 34px); margin: 2px 0 4px; }
.dc-d { color: #c4d3f2; font-size: 16.5px; }
.dc-big { position: absolute; inset-inline-start: 4%; top: 50%; transform: translateY(-50%); font: 800 170px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px rgba(92,217,247,.18); pointer-events: none; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.pl { position: relative; display: grid; gap: 10px; justify-items: start; padding: 28px; border-radius: 24px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); overflow: hidden; transition: transform .45s var(--ease-out), background .3s; }
.pl:hover { transform: translateY(-6px); background: rgba(92,217,247,.07); }
.pl-n { position: absolute; top: 14px; inset-inline-end: 20px; font: 800 54px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.2px rgba(92,217,247,.2); }
.pl-ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: 0 12px 24px -10px rgba(47,111,232,.8); }
.pl-ic svg { width: 26px; height: 26px; }
.pl h3 { font-size: clamp(26px, 2.6vw, 34px); color: #fff; }
.pl p { color: #b9c8ea; }
.vmv2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.vm { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease-out), box-shadow .4s; }
.vm:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vm-ic { width: 50px; height: 50px; flex: none; border-radius: 15px; display: grid; place-items: center; background: rgba(47,111,232,.1); color: var(--blue-600); }
.vm-ic svg { width: 24px; height: 24px; }
.vm h3 { font-size: 19px; margin-bottom: 4px; } .vm p { color: var(--text-2); font-size: 15.5px; }
@media (max-width: 900px) { .pillars, .vmv2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .lts { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .lt.on::after { display: none; }
  .dc-panel { flex-direction: column; align-items: flex-start; }
  .dc-big { font-size: 110px; inset-inline-start: auto; inset-inline-end: 4%; }
}

/* ---------- Service detail v2 ---------- */
.bento2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.b2 { position: relative; display: grid; align-content: start; gap: 10px; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s; }
.b2:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(47,111,232,.3); }
.b2 .num { position: absolute; top: 18px; inset-inline-end: 20px; font: 600 13px var(--font-mono); color: var(--blue-500); }
.b2-ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: rgba(47,111,232,.1); color: var(--blue-600); transition: transform .45s var(--ease-out), background .3s, color .3s; }
.b2-ic svg { width: 24px; height: 24px; }
.b2:hover .b2-ic { transform: rotate(-8deg) scale(1.06); background: var(--grad-brand); color: #fff; }
.b2 h3 { font-size: 19px; } .b2 p { color: var(--text-2); font-size: 15.5px; }
.b2-hero { grid-row: span 2; background: var(--grad-dark); border-color: transparent; color: #fff; padding: 30px; align-content: end; }
.b2-hero .b2-ic { width: 66px; height: 66px; border-radius: 20px; background: var(--grad-brand); color: #fff; position: absolute; top: 28px; inset-inline-start: 28px; } .b2-hero .b2-ic svg { width: 32px; height: 32px; }
.b2-hero h3 { font-size: clamp(22px, 2.2vw, 28px); } .b2-hero p { color: #c4d3f2; font-size: 16px; } .b2-hero .num { color: var(--sky-300); }
.b2-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.b2-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); font-size: 13px; }
.b2-chips svg { width: 15px; height: 15px; color: var(--sky-300); }
.b2-glow { position: absolute; top: -30%; inset-inline-end: -30%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(92,217,247,.35), transparent 65%); pointer-events: none; }
.deliver-grid2 { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.deliver-copy { display: grid; gap: 18px; justify-items: start; }
.pkg { padding: 26px; border-radius: 28px; background: #fff; color: var(--navy-800); box-shadow: 0 40px 80px -36px rgba(0,0,0,.6); }
.pkg-h { display: flex; align-items: center; gap: 14px; }
.pkg-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; } .pkg-ic svg { width: 26px; height: 26px; }
.pkg-h small { color: var(--muted); font-size: 13px; } .pkg-h b { display: block; font-family: var(--font-head); font-size: 18px; }
.pkg-count { margin-inline-start: auto; font: 600 12px var(--font-mono); padding: 5px 10px; border-radius: 999px; background: var(--bg-2); color: var(--blue-600); }
.pkg-bar { height: 6px; border-radius: 6px; background: var(--bg-2); margin: 18px 0 10px; overflow: hidden; }
.pkg-bar i { display: block; height: 100%; width: 100%; background: var(--grad-brand); transform: scaleX(0); transform-origin: right; transition: transform 2.2s var(--ease-out) .3s; }
.pkg.in .pkg-bar i { transform: scaleX(1); }
.pkg-list li { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px dashed var(--line); font-family: var(--font-head); font-size: 15.5px; }
.pkg-list li:last-child { border-bottom: 0; }
.pkg-list .ck { width: 26px; height: 26px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--bg-2); color: transparent; transition: background .4s, color .4s; transition-delay: calc(var(--i) * .3s + .4s); }
.pkg-list .ck svg { width: 15px; height: 15px; }
.pkg.in .pkg-list .ck { background: #2f6fe8; color: #fff; }
.pkg-list em { margin-inline-start: auto; font: 500 12px var(--font-mono); font-style: normal; color: #b4c0da; }
.pkg-f { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); font-size: 14px; color: var(--blue-600); }
.pkg-f svg { width: 18px; height: 18px; }
.dv-block { width: 100%; display: grid; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }
.dv-block h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; color: #fff; } .dv-block h3 svg { width: 19px; height: 19px; color: var(--sky-300); }
.aud { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.aud span { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #dbe6ff; } .aud svg { width: 16px; height: 16px; color: var(--sky-300); flex: none; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tools span { padding: 6px 12px; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font: 500 13px var(--font-mono); color: #dbe6ff; }
/* vertical timeline */
.tl-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.tl-intro { position: sticky; top: calc(var(--header-h) + 30px); display: grid; gap: 18px; justify-items: start; }
.steps.tl { display: grid; grid-template-columns: 1fr; gap: 18px; padding-inline-start: 0; }
.steps.tl .steps-line { display: block; top: 34px; bottom: 34px; inset-inline-start: 33px; inset-inline-end: auto; width: 2px; height: auto; }
.steps.tl .steps-line i { transform: scaleY(var(--p, 0)); transform-origin: top; }
.steps.tl .steps-line b { right: auto; left: -5px; margin: 0; top: calc(var(--p, 0) * 100%); }
.steps.tl .step { display: grid; grid-template-columns: 68px 1fr; gap: 18px; align-items: center; justify-items: stretch; text-align: start; }
.steps.tl .tl-card { padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: border-color .4s, box-shadow .4s, transform .5s var(--ease-out); }
.steps.tl .tl-card h3 { font-size: 18px; margin-bottom: 4px; } .steps.tl .tl-card p { color: var(--text-2); font-size: 15px; }
.steps.tl .step.on .tl-card { border-color: rgba(47,111,232,.35); box-shadow: 0 16px 34px -22px rgba(47,111,232,.6); transform: translateX(-4px); }
@media (max-width: 1080px) { .steps.tl .steps-line { display: block; } }
@media (max-width: 900px) {
  .bento2 { grid-template-columns: 1fr 1fr; } .b2-hero { grid-column: span 2; grid-row: auto; min-height: 280px; }
  .deliver-grid2, .tl-wrap { grid-template-columns: 1fr; } .deliver-copy { order: -1; } .tl-intro { position: static; }
}
@media (max-width: 640px) { .bento2 { grid-template-columns: 1fr; } .b2-hero { grid-column: auto; } .aud { grid-template-columns: 1fr; } .steps.tl .step { grid-template-columns: 56px 1fr; } .steps.tl .dot { width: 56px; height: 56px; } .steps.tl .steps-line { inset-inline-start: 27px; } }

/* ---------- Project detail v2 ---------- */
.pd-hero { padding-bottom: clamp(70px, 7vw, 100px); }
.pd-over { padding-top: clamp(24px, 3vw, 40px); }
.ov-grid { display: grid; grid-template-columns: 1fr 1fr .8fr; gap: 16px; align-items: stretch; }
.ov { display: grid; gap: 14px; align-content: start; padding: 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.ov-h { display: flex; align-items: center; gap: 14px; }
.ov-ic { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; background: rgba(47,111,232,.1); color: var(--blue-600); } .ov-ic svg { width: 26px; height: 26px; }
.ov-h small { font: 600 11.5px var(--font-mono); letter-spacing: .08em; color: var(--blue-500); } .ov-h h2 { font-size: 22px; }
.ov p { color: var(--text-2); font-size: 16px; }
.ov-so { background: var(--grad-dark); border-color: transparent; color: #fff; } .ov-so p { color: #c4d3f2; } .ov-so .ov-ic { background: rgba(92,217,247,.14); color: var(--sky-300); } .ov-so .ov-h small { color: var(--sky-300); }
.ov-fx h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; } .ov-fx h3 svg { width: 19px; height: 19px; color: var(--blue-500); }
.ov-fx ul { display: grid; }
.ov-fx li { display: flex; justify-content: space-between; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.ov-fx li:last-child { border-bottom: 0; }
.ov-fx li span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; } .ov-fx li svg { width: 16px; height: 16px; color: var(--blue-500); }
.ov-fx li b { font-family: var(--font-head); font-size: 15px; }
.gal2 { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 18px; align-items: start; }
.gal2 .gal-thumbs { grid-template-columns: 1fr; gap: 10px; }
.gal2 .gal-th { grid-template-columns: 96px 1fr; align-items: center; text-align: start; gap: 12px; }
.gal2 .gal-th .th-prev { height: 64px; }
.gal2 .th-t { display: grid; gap: 2px; } .gal2 .th-t b { font-size: 14.5px; } .gal2 .th-t small { font: 500 11.5px var(--font-mono); color: var(--muted); }
.gal2 .gal-stage { padding: clamp(16px, 3vw, 36px); }
.pf2 { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); grid-template-areas: "main side" "strip strip"; gap: 26px clamp(24px, 4vw, 54px); align-items: start; }
.pf2-main { grid-area: main; display: grid; gap: 26px; }
.pf2-head { display: grid; gap: 14px; justify-items: start; }
.pf2-head .lead::after { content: ""; display: block; width: 64px; height: 3px; margin-top: 16px; border-radius: 3px; background: var(--grad-brand); }
.pf2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pf2-i { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 30px -26px rgba(10,26,74,.4); transition: transform .4s var(--ease-out), border-color .3s, box-shadow .4s; }
.pf2-i:hover { transform: translateY(-3px); border-color: rgba(47,111,232,.35); box-shadow: 0 20px 36px -22px rgba(47,111,232,.5); }
.pf2-i:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pf2-i .fi { width: 52px; height: 52px; flex: none; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(150deg, #eaf2ff, #d7e7ff); color: var(--blue-600); box-shadow: inset 0 -3px 0 rgba(47,111,232,.12); }
.pf2-i .fi svg { width: 26px; height: 26px; }
.pf2-i b { flex: 1; font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.pf2-i .go { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--blue-500); transition: transform .3s, background .3s, color .3s; } .pf2-i .go svg { width: 15px; height: 15px; }
.pf2-i:hover .go { background: var(--blue-500); color: #fff; transform: translateX(-3px); }
.pf2-side { grid-area: side; position: relative; display: grid; }
.pf2-ill { position: relative; height: 230px; margin-bottom: -40px; z-index: 0; }
.lap { position: absolute; left: 50%; top: 14px; width: 220px; transform: translateX(-50%) perspective(700px) rotateX(10deg) rotateY(-18deg); animation: floatY 6s ease-in-out infinite; }
.lap-scr { position: relative; height: 140px; border-radius: 14px 14px 4px 4px; background: linear-gradient(160deg, #12286b, #071338); border: 6px solid #1b2b5a; display: grid; place-items: center; box-shadow: 0 30px 40px -20px rgba(10,26,74,.6); overflow: hidden; }
.lap-scr span { width: 64px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: rgba(47,111,232,.25); color: var(--sky-300); box-shadow: inset 0 0 0 1px rgba(92,217,247,.35), 0 0 30px rgba(92,217,247,.3); z-index: 1; }
.lap-scr span svg { width: 32px; height: 32px; }
.lap-scr i { position: absolute; left: 12px; height: 4px; border-radius: 2px; background: rgba(92,217,247,.3); }
.lap-scr i:nth-of-type(1) { top: 14px; width: 40px; } .lap-scr i:nth-of-type(2) { top: 24px; width: 26px; } .lap-scr i:nth-of-type(3) { bottom: 16px; width: 50px; }
.lap-base { height: 12px; margin: 0 -18px; border-radius: 0 0 14px 14px; background: linear-gradient(#cfdaf0, #9fb2d6); }
.pf2-ill .ring { position: absolute; left: 50%; top: 50%; width: 320px; height: 120px; margin: -50px 0 0 -160px; border-radius: 50%; border: 3px solid rgba(92,217,247,.55); border-left-color: transparent; border-bottom-color: rgba(47,111,232,.2); transform: rotate(-12deg); filter: drop-shadow(0 0 8px rgba(92,217,247,.6)); animation: ringSpin 8s linear infinite; }
@keyframes ringSpin { to { transform: rotate(348deg); } }
.pf2-ill .fl { position: absolute; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(150deg, #fff, #dbe9ff); color: var(--blue-500); box-shadow: 0 14px 26px -12px rgba(10,26,74,.45); animation: floatY 5s ease-in-out infinite; }
.pf2-ill .fl svg { width: 26px; height: 26px; }
.pf2-ill .f1 { top: 0; inset-inline-start: 6%; } .pf2-ill .f2 { top: 46%; inset-inline-end: 4%; animation-delay: -2.5s; }
.pf2-ill .cube { position: absolute; width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(145deg, #a9d4fb, #4f97f3); opacity: .8; animation: floatY 7s ease-in-out infinite; }
.pf2-ill .c1 { top: 30%; inset-inline-start: 2%; } .pf2-ill .c2 { top: 10%; inset-inline-end: 18%; width: 16px; height: 16px; animation-delay: -3s; }
.pf2-card { position: relative; z-index: 1; display: grid; gap: 14px; padding: 24px; border-radius: 26px; background: rgba(255,255,255,.96); border: 1px solid #fff; box-shadow: 0 30px 60px -30px rgba(10,26,74,.4); }
.pf2-card h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.tag-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); color: var(--blue-500); } .tag-ic svg { width: 17px; height: 17px; }
.techs { display: flex; flex-wrap: wrap; gap: 8px; }
.techs span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 12px; background: #f5f8ff; border: 1px solid var(--line); font: 600 13px var(--font-head); color: var(--navy-800); }
.techs svg { width: 16px; height: 16px; color: var(--tc); }
.url-box2 { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-radius: 14px; background: var(--bg-2); color: var(--blue-600); font: 500 14px var(--font-mono); transition: background .25s; }
.url-box2 span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .url-box2 svg { width: 17px; height: 17px; flex: none; } .url-box2 svg:first-child { color: #1f56d6; }
.url-box2:hover { background: #dfeaff; }
.pf2-strip { grid-area: strip; display: grid; grid-template-columns: repeat(3, 1fr); padding: 18px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.pf2-strip li { display: flex; align-items: center; justify-content: center; gap: 12px; font-family: var(--font-head); font-size: 16px; }
.pf2-strip li + li { border-inline-start: 1px solid var(--line); }
.pf2-strip svg { width: 28px; height: 28px; color: var(--blue-500); }
@media (max-width: 980px) {
  .ov-grid { grid-template-columns: 1fr 1fr; } .ov-fx { grid-column: 1 / -1; }
  .gal2 { grid-template-columns: 1fr; } .gal2 .gal-thumbs { grid-template-columns: repeat(3, 1fr); order: 2; } .gal2 .gal-th { grid-template-columns: 1fr; text-align: center; } .gal2 .th-t small { display: none; }
  .pf2 { grid-template-columns: 1fr; grid-template-areas: "main" "side" "strip"; }
}
@media (max-width: 640px) {
  .ov-grid, .pf2-grid { grid-template-columns: 1fr; } .pf2-i:last-child:nth-child(odd) { grid-column: auto; }
  .pf2-strip { grid-template-columns: 1fr; gap: 12px; } .pf2-strip li + li { border-inline-start: 0; border-top: 1px solid var(--line); padding-top: 12px; }
  .gal2 .gal-thumbs { gap: 8px; } .gal2 .gal-th { padding: 6px; } .gal2 .gal-th .th-prev { height: 52px; } .gal2 .th-t b { font-size: 12px; }
}
.bento2 .b2:last-child:nth-child(6) { grid-column: 1 / -1; }
@media (max-width: 900px) { .bento2 .b2:last-child:nth-child(6) { grid-column: auto; } }
@media (max-width: 640px) { .dc-big { display: none; } .ribbons { height: 120px; } }

/* rendering budget: skip off-screen sections, stop off-screen loops */

.svc-visual:not(:has(.vis-wrap.on)) .fchip, .dh-visual:not(:has(.vis-wrap.on)) .fchip, .svx-stage:not(:has(.vis-wrap.on)) .fchip,
.svx-stage:not(:has(.vis-wrap.on)) .svx-tile { animation: none; }


/* ==========================================================================
   v7
   ========================================================================== */
/* page transition: frosted overlay + drawing logo */
.pt { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; grid-template-columns: none; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 45%, rgba(92,217,247,.18), transparent 70%), rgba(245,248,255,.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease-out), visibility 0s .35s; }
.pt span { display: none; }
.pt.out, html.pt-cover .pt { opacity: 1; visibility: visible; transition: opacity .35s var(--ease-out); pointer-events: auto; }
.pt.in { opacity: 0; visibility: hidden; transition: opacity .55s var(--ease-out) .12s, visibility 0s .7s; }
.pt-in { display: grid; justify-items: center; gap: 14px; transform: scale(.94); transition: transform .5s var(--ease-out); }
.pt.out .pt-in, html.pt-cover .pt-in { transform: none; }
.pt-mark { width: 104px; filter: drop-shadow(0 16px 24px rgba(31,86,214,.3)); }
.pt-mark svg { width: 100%; height: auto; }
.pt-word { font: 800 22px var(--font-head); letter-spacing: .32em; color: var(--navy-800); }
.pt-bar { width: 120px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.pt-bar i { display: block; height: 100%; background: var(--grad-brand); transform: scaleX(0); transform-origin: right; }
.pt.out .pt-bar i { animation: ptBar .7s var(--ease-out) forwards; }
html.pt-cover .pt-bar i { transform: scaleX(1); }
@keyframes ptBar { to { transform: scaleX(1); } }

/* statement: text + terminal side by side */
.st-grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 70px); align-items: center; }
.st-copy { display: grid; gap: 24px; justify-items: start; }
.statement .side { position: static; transform: none; width: auto; }
.statement-text { max-width: none; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.5; }
@media (max-width: 900px) { .st-grid { grid-template-columns: 1fr; } .statement .side { display: block; } }

/* why: compact 2x2 */
.why-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
.why-sticky { position: static; }
.why-list2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why2 { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s; }
.why2::after { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--grad-brand); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease-out); }
.why2:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(47,111,232,.3); }
.why2:hover::after { transform: scaleX(1); }
.why2-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.why2-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: rgba(47,111,232,.1); color: var(--blue-600); transition: background .3s, color .3s; }
.why2:hover .why2-ic { background: var(--grad-brand); color: #fff; }
.why2-ic svg { width: 23px; height: 23px; }
.why2 .n { font: 800 30px var(--font-head); color: transparent; -webkit-text-stroke: 1.3px rgba(47,111,232,.3); }
.why2 h3 { font-size: 18px; } .why2 p { color: var(--text-2); font-size: 15px; line-height: 1.7; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .why-list2 { grid-template-columns: 1fr; } }

/* footer: unified sizes + contact icons */
.footer { font-size: 15px; line-height: 1.75; }
.footer h4 { font-size: 16px; font-weight: 700; }
.footer li, .footer li a, .footer p { font-size: 15px; }
.footer-bottom, .footer-bottom span { font-size: 14px; }
.footer .fc { display: inline-flex; align-items: center; gap: 10px; }
.footer .fc i { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--sky-300); font-style: normal; transition: background .25s, color .25s; }
.footer .fc i svg { width: 16px; height: 16px; }
.footer a.fc:hover i { background: var(--grad-brand); color: #fff; border-color: transparent; }
.footer li + li { margin-top: 12px; }

/* mobile header: glass pill (logo | name) */
@media (max-width: 900px) {
  .mhdr { inset: 10px 14px auto; height: 64px; padding: 0; border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; justify-content: center; }
  .mpill { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 64px; padding: 0 22px; border-radius: 999px;
    background: linear-gradient(120deg, rgba(255,255,255,.78), rgba(218,236,255,.68));
    -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6);
    border: 1px solid rgba(255,255,255,.95); box-shadow: 0 16px 34px -18px rgba(31,86,214,.55), inset 0 1px 0 #fff; }
  .mpill img { width: 44px; height: 44px; object-fit: contain; }
  .mpill .dv { width: 1.5px; height: 34px; border-radius: 2px; background: linear-gradient(var(--blue-500), var(--sky-300)); flex: none; }
  .mpill span { display: grid; line-height: 1.15; }
  .mpill b { font: 800 22px var(--font-head); letter-spacing: .08em; color: var(--navy-800); }
  .mpill small { font-size: 11.5px; color: var(--blue-600); white-space: nowrap; }
  .mpill .shine { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%); transform: translateX(120%); animation: pillShine 6s ease-in-out infinite 1.5s; pointer-events: none; }
  @keyframes pillShine { 0%, 70% { transform: translateX(120%); } 100% { transform: translateX(-120%); } }
  .header.scrolled .mpill { background: linear-gradient(120deg, rgba(255,255,255,.9), rgba(224,239,255,.86)); }
  .fab-wa { display: grid; bottom: calc(96px + env(safe-area-inset-bottom)); inset-inline-start: 14px; width: 52px; height: 52px; border-radius: 16px; }
  body { padding-bottom: 0; }
  .footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  /* page-hero artwork visible on phones */
  .ph-art { display: block; width: min(250px, 66vw); justify-self: center; order: -1; margin-bottom: -6px; }
}
@media (max-width: 380px) { .mpill { gap: 10px; padding: 0 14px; } .mpill b { font-size: 19px; } .mpill small { font-size: 10.5px; } .mpill img { width: 38px; height: 38px; } }
.bento2 { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); }
.aud { gap: 12px 18px; }
.aud span { font-family: var(--font-head); font-size: 17px; font-weight: 500; color: #fff; align-items: center; }
.aud span i { width: 28px; height: 28px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(92,217,247,.14); font-style: normal; }
.aud span i svg { width: 15px; height: 15px; }
.dv-block h3 { font-size: 19px; }
.deliver-copy .lead { font-size: clamp(16.5px, 1.3vw, 19px); }
/* decoder v2 */
.lts { position: relative; }
.lt-glider { position: absolute; top: 0; left: 0; border-radius: 22px; background: linear-gradient(150deg, #2f6fe8, #1f56d6); box-shadow: 0 20px 36px -16px rgba(31,86,214,.7); transition: transform .6s var(--ease-out), width .6s var(--ease-out); z-index: 0; pointer-events: none; }
.lt { z-index: 1; background: rgba(255,255,255,.9); transition: transform .5s var(--ease-out), border-color .4s, background-color .45s, box-shadow .45s; }
.lt.on { background: transparent; box-shadow: none; transform: none; border-color: transparent; }
.lt.on::after { display: none; }
.lt .ch, .lt .nm { transition: color .45s var(--ease-out); }
.lt:hover:not(.on) { transform: translateY(-3px); }
.dc-panel { display: block; padding: 0; min-height: 170px; transition: none; }
.dc-stage { position: relative; min-height: 170px; }
.dc-slide { position: absolute; inset: 0; display: flex; align-items: center; gap: 22px; padding: clamp(22px, 3vw, 34px); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out), filter .6s var(--ease-out); }
.dc-slide.enter { opacity: 0; transform: translateY(18px); filter: blur(6px); }
.dc-slide.leave { opacity: 0; transform: translateY(-14px); filter: blur(6px); }
.dc-slide.enter .dc-big { transform: translateY(-50%) scale(.7); opacity: 0; }
.dc-slide .dc-big { transition: transform .8s var(--ease-out), opacity .6s; }
.dc-prog { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.06); }
.dc-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--sky-300), var(--blue-400)); transform: scaleX(0); transform-origin: right; }
.dc-prog.run i { animation: exBar 4.8s linear forwards; }
@media (max-width: 640px) { .dc-stage { min-height: 230px; } .dc-slide { flex-direction: column; align-items: flex-start; justify-content: center; } }
.svc-visual .vis-chips, .dh-visual .vis-chips { display: none; }

/* mobile header v3: compact logo capsule with animated gradient rim */
@media (max-width: 900px) {
  .mhdr { inset: 12px 0 auto; height: 58px; justify-content: center; }
  .mpill { width: auto; height: 58px; padding: 0 26px; gap: 0; border-radius: 999px; isolation: isolate;
    background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
    border: 0; box-shadow: 0 14px 30px -16px rgba(10,26,74,.45), 0 2px 6px -2px rgba(10,26,74,.12); transition: height .4s var(--ease-out), padding .4s var(--ease-out), box-shadow .4s; }
  .mpill::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; z-index: -1;
    background: linear-gradient(90deg, rgba(92,217,247,.15), #5cd9f7, #2f6fe8, rgba(47,111,232,.15), rgba(92,217,247,.15)) 0 0 / 300% 100%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: rimFlow 6s linear infinite; }
  @keyframes rimFlow { to { background-position: 300% 0; } }
  .mpill img { width: auto; height: 38px; max-width: 62vw; object-fit: contain; transition: height .4s var(--ease-out); }
  .mpill .dv, .mpill span { display: none; }
  .header.scrolled .mpill { height: 50px; padding: 0 22px; background: rgba(255,255,255,.92); box-shadow: 0 16px 34px -14px rgba(10,26,74,.55); }
  .header.scrolled .mpill img { height: 33px; }
}
@media (max-width: 360px) { .mpill { padding: 0 18px; } .mpill img { height: 32px; } }
@media (max-width: 900px) { .header .hdr { display: none !important; } }
@media (max-width: 900px) { .mhdr { height: 64px; } .mpill { height: 64px; padding: 0 30px; } .mpill img { height: 44px; } .header.scrolled .mpill { height: 56px; } .header.scrolled .mpill img { height: 38px; } }
@media (max-width: 360px) { .mpill { padding: 0 20px; } .mpill img { height: 38px; } }
/* mobile header v4: 80% width frosted bar, softer radius, larger logo */
@media (max-width: 900px) {
  .mhdr { height: 68px; }
  .mpill { width: 80%; max-width: 520px; height: 68px; padding: 0 22px; border-radius: 22px;
    background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
    box-shadow: 0 18px 38px -20px rgba(10,26,74,.5), inset 0 1px 0 rgba(255,255,255,.9); }
  .mpill img { height: 50px; max-width: 100%; }
  .header.scrolled .mpill { height: 60px; background: rgba(255,255,255,.68); }
  .header.scrolled .mpill img { height: 44px; }
}
@media (max-width: 360px) { .mpill { width: 86%; padding: 0 14px; } .mpill img { height: 42px; } }
@media (max-width: 900px) { .mpill { background: rgba(255,255,255,.7); } .header.scrolled .mpill { background: rgba(255,255,255,.82); } }

/* mobile header v5 — glass capsule: icon | divider | wordmark */
@media (max-width: 900px) {
  .mhdr { inset: 12px 0 auto; height: 72px; }
  .mpill.mpill5 { width: 92%; max-width: 560px; height: 72px; padding: 0 22px; gap: 18px; border-radius: 999px; justify-content: center;
    background: linear-gradient(115deg, rgba(255,255,255,.82) 0%, rgba(226,240,255,.74) 45%, rgba(196,226,255,.7) 100%);
    -webkit-backdrop-filter: blur(20px) saturate(1.7); backdrop-filter: blur(20px) saturate(1.7);
    border: 1.5px solid rgba(255,255,255,.95);
    box-shadow: 0 16px 34px -14px rgba(47,111,232,.5), 0 0 0 1px rgba(92,217,247,.25), inset 0 1px 0 #fff, inset 0 -10px 24px -12px rgba(92,217,247,.35); }
  .mpill.mpill5::before { display: none; }
  .mpill5 .mp-ic { height: 48px; width: auto; flex: none; filter: drop-shadow(0 4px 8px rgba(31,86,214,.25)); }
  .mpill5 .dv { display: block; width: 1.5px; height: 40px; flex: none; border-radius: 2px; background: linear-gradient(transparent, var(--navy-700), transparent); }
  .mpill5 .mp-wm { height: 38px; width: auto; max-width: 58%; object-fit: contain; }
  .header.scrolled .mpill.mpill5 { height: 62px; background: linear-gradient(115deg, rgba(255,255,255,.92), rgba(226,240,255,.88) 45%, rgba(205,231,255,.86)); }
  .header.scrolled .mpill5 .mp-ic { height: 42px; } .header.scrolled .mpill5 .mp-wm { height: 33px; } .header.scrolled .mpill5 .dv { height: 34px; }
}
@media (max-width: 360px) { .mpill.mpill5 { padding: 0 16px; gap: 12px; } .mpill5 .mp-ic { height: 40px; } .mpill5 .mp-wm { height: 32px; } }

/* pause every decorative loop in sections that are off-screen */
.zz-off *, .zz-off *::before, .zz-off *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id], article[id] { scroll-margin-top: 96px; }

/* ==========================================================================
   v8 — mobile pass
   ========================================================================== */
.page-hero .ph-grid > * { min-width: 0; }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; width: 100%; font: inherit; font-size: 16px; color: var(--text); padding: 14px 16px; padding-inline-end: 44px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.sel select:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(47,111,232,.14); }
.sel::after { content: ""; position: absolute; inset-inline-end: 18px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border: solid var(--blue-500); border-width: 0 2px 2px 0; transform: rotate(45deg); pointer-events: none; }

/* header: logo order matches the original (mark left, wordmark right); solid enough over dark bands */
@media (max-width: 900px) {
  .mpill.mpill5 { direction: ltr; background: linear-gradient(115deg, rgba(255,255,255,.94) 0%, rgba(232,243,255,.92) 50%, rgba(212,233,255,.9) 100%); }
  .header.scrolled .mpill.mpill5 { height: 58px; background: linear-gradient(115deg, rgba(255,255,255,.96), rgba(232,243,255,.95) 50%, rgba(214,234,255,.94)); }
  .header.scrolled .mpill5 .mp-ic { height: 38px; } .header.scrolled .mpill5 .mp-wm { height: 30px; } .header.scrolled .mpill5 .dv { height: 30px; }

  .page-hero .ph-grid { grid-template-columns: minmax(0, 1fr); }
  .sq-wrap { display: none; }

  /* service detail: animation first */
  .dh-grid { grid-template-columns: minmax(0, 1fr); }
  .dh-visual { order: -1; max-width: 420px; width: 100%; margin-bottom: 4px; }

  /* breadcrumbs: always one line */
  .crumbs { flex-wrap: nowrap; max-width: 100%; white-space: nowrap; overflow: hidden; }
  .crumbs > * { flex: none; }
  .crumbs .cur { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; display: block; }
  .crumbs .cur svg { display: inline-block; vertical-align: -3px; margin-inline-end: 5px; }

  /* WhatsApp button moves to the left edge (RTL text is right-aligned) and gets smaller */
  .fab-wa { inset-inline-start: auto; inset-inline-end: 14px; width: 48px; height: 48px; border-radius: 15px; }
  .fab-wa svg { width: 24px; height: 24px; }
}
@media (max-width: 640px) {
  /* service features: one clean column */
  .bento2 { grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto; gap: 12px; }
  .bento2 .b2, .bento2 .b2-hero, .bento2 .b2:last-child:nth-child(6) { grid-column: auto; grid-row: auto; }
  .b2 { padding: 20px; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start; }
  .b2 .b2-ic { grid-row: span 2; width: 46px; height: 46px; }
  .b2 h3 { font-size: 17px; align-self: end; } .b2 p { font-size: 14.5px; }
  .b2-hero { display: grid; grid-template-columns: 1fr; min-height: 0; padding: 24px; }
  .b2-hero .b2-ic { position: static; grid-row: auto; margin-bottom: 8px; width: 56px; height: 56px; }
  .b2-hero .b2-chips span { font-size: 12.5px; padding: 5px 10px; }
  .crumbs { font-size: 12.5px; padding: 5px 10px; gap: 4px; }
  .crumbs svg { width: 13px; height: 13px; }
  /* FAQ */
  .faq summary { padding: 15px 16px; gap: 10px; font-size: 15px; line-height: 1.6; }
  .faq summary .q { font-size: 11px; }
  .faq summary .pm { width: 28px; height: 28px; border-radius: 9px; }
  .faq .ans { padding: 0 16px 16px; font-size: 14.5px; }
  /* contact form */
  .form-card { padding: 20px 16px; gap: 16px; border-radius: 22px; }
  .form-card .h-2 { font-size: 21px; }
  .field label { font-size: 14px; }
  .field input, .field textarea, .sel select { padding: 13px 14px; border-radius: 12px; }
  .field textarea { min-height: 120px; }
  .form-card .btn { width: 100%; }
  .c-card { padding: 14px; gap: 12px; } .c-card .icon { width: 44px; height: 44px; border-radius: 12px; }
  .pkg-count { white-space: nowrap; }
}

/* ---------- Contact hero: chat card v2 ---------- */
.art-chat2 { container-type: inline-size; }
.art-chat2::before { inset: 6%; }
.art-chat2 .cb { position: absolute; inset: 13% 4% 13% 4%; display: grid; grid-template-rows: auto 1fr auto; border-radius: 7cqw; overflow: hidden; background: #fff;
  box-shadow: 0 24px 50px -24px rgba(10,26,74,.45), 0 0 0 1px rgba(10,26,74,.06); }
.cb-h { display: flex; align-items: center; gap: 3cqw; padding: 3.6cqw 4.4cqw; background: linear-gradient(115deg, var(--navy-800), #173a9a); color: #fff; }
.cb-av { width: 10.5cqw; height: 10.5cqw; flex: none; border-radius: 50%; display: grid; place-items: center; background: #2f6fe8; box-shadow: 0 0 0 3px rgba(255,255,255,.14); }
.cb-av svg { width: 55%; height: 55%; }
.cb-h b { display: block; font: 800 4.6cqw/1.2 var(--font-head); letter-spacing: .08em; }
.cb-st { position: relative; display: block; height: 4.6cqw; font-size: 3.5cqw; line-height: 4.6cqw; }
.cb-st span { position: absolute; inset-inline-start: 0; white-space: nowrap; }
.cb-st .on { color: #a9ecfb; animation: stOn 12s infinite; } .cb-st .ty { color: var(--sky-200); opacity: 0; animation: stTy 12s infinite; }
@keyframes stOn { 0%, 30%, 44%, 72%, 100% { opacity: 1; } 33%, 41%, 75%, 82% { opacity: 0; } }
@keyframes stTy { 0%, 30%, 44%, 72%, 100% { opacity: 0; } 33%, 41%, 75%, 82% { opacity: 1; } }
.cb-call { margin-inline-start: auto; width: 8cqw; height: 8cqw; border-radius: 2.6cqw; display: grid; place-items: center; background: rgba(255,255,255,.12); }
.cb-call svg { width: 55%; height: 55%; }
.cb-body { display: flex; flex-direction: column; justify-content: flex-end; gap: 2.4cqw; padding: 4cqw; overflow: hidden;
  background: radial-gradient(circle at 20% 20%, rgba(92,217,247,.10), transparent 50%), #f4f8ff; }
.cb-body .m { margin: 0; max-width: 80%; padding: 2.2cqw 3.4cqw; border-radius: 4cqw; font: 500 3.7cqw/1.55 var(--font-body);
  opacity: 0; transform: translateY(8px) scale(.96); animation: cbMsg 12s var(--ease-out) infinite; animation-delay: calc(var(--i) * 1.5s + .2s); }
.cb-body .m.in { align-self: flex-start; background: #fff; color: var(--navy-800); border-bottom-right-radius: 1cqw; box-shadow: 0 1px 0 rgba(10,26,74,.06); }
.cb-body .m.out { align-self: flex-end; background: linear-gradient(135deg, var(--blue-500), #4b8df0); color: #fff; border-bottom-left-radius: 1cqw; }
.cb-body .m em { display: inline-block; vertical-align: -1px; margin-inline-start: 4px; }
.cb-body .m em svg { width: 3.6cqw; height: 2.4cqw; fill: none; stroke: var(--sky-200); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
@keyframes cbMsg { 0% { opacity: 0; transform: translateY(8px) scale(.96); } 5%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(-4px); } }
.cb-in { display: flex; align-items: center; gap: 2.4cqw; padding: 2.8cqw 3.4cqw; border-top: 1px solid #e6edf9; background: #fff; }
.cb-in span { flex: 1; padding: 2cqw 3.4cqw; border-radius: 999px; background: #f1f5fd; color: #93a3c4; font-size: 3.4cqw; white-space: nowrap; overflow: hidden; }
.cb-in i { width: 9cqw; height: 9cqw; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; animation: cbSend 12s infinite; }
.cb-in i svg { width: 48%; height: 48%; }
@keyframes cbSend { 0%, 14%, 22%, 60%, 68%, 100% { transform: none; } 18%, 64% { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(47,111,232,.18); } }
.cb-badge { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 2cqw; padding: 2cqw 3.6cqw; border-radius: 999px; background: #fff;
  font: 600 3.5cqw var(--font-head); color: var(--navy-800); white-space: nowrap; box-shadow: 0 10px 22px -12px rgba(10,26,74,.45), 0 0 0 1px rgba(10,26,74,.05); animation: floatY 6s ease-in-out infinite; }
.cb-badge svg { width: 4.2cqw; height: 4.2cqw; color: var(--blue-500); }
.cb-badge .dot { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; background: #2f6fe8; box-shadow: 0 0 0 3px rgba(47,111,232,.2); }
.cb-badge.b-top { top: 1.5%; inset-inline-start: 6%; }
.cb-badge.b-bot { bottom: 1.5%; inset-inline-end: 6%; animation-delay: -3s; }
@media (max-width: 900px) { .ph-art:has(.art-chat2) { width: min(320px, 84vw); } }
.svx-tile.t1 { top: 0; width: 80px; height: 80px; border-radius: 22px; }
@media (max-width: 760px) { .svx-tile.t1 { width: 56px; height: 56px; border-radius: 16px; } }
.cb-badge.b-top { top: 3%; }
/* hero chips kept clear of the terminal */
.float-chip.c1 { top: 4%; inset-inline-end: 0; }
.float-chip.c2 { top: 30%; bottom: auto; inset-inline-end: -6%; }
.float-chip.c3 { top: 16%; inset-inline-start: -2%; }
@media (max-width: 1080px) { .float-chip.c2 { inset-inline-end: -2%; } }
/* services hero: keep orbit clear of the quick bar */
@media (min-width: 901px) { .ph-grid:has(.sq-wrap) > .ph-art { width: min(300px, 100%); justify-self: center; align-self: start; } .ph-grid:has(.sq-wrap) .sq-wrap { margin-top: 34px; } }

/* perf: skip rendering of off-screen sections; idle overlay animation off */
html:not(.pt-cover) .pt:not(.out) .mark .dot { animation: none; }

/* ============ Works: alternating brand bands with waves ============ */
.work-sec { padding-bottom: 0; }
.work-sec .wlist { display: block; margin-top: clamp(70px, 8vw, 120px); }
.wband { --wb-top: #071338; position: relative; isolation: isolate; padding-block: clamp(84px, 9vw, 140px); }
.wband[hidden] { display: none; }
.wband > .container { position: relative; z-index: 2; }
.wband .wrow::before { display: none; }

/* tones — brand palette only */
.wband.t0 { --wb-top: #071338; background:
  radial-gradient(55% 70% at 88% 18%, rgba(47,111,232,.38), transparent 62%),
  radial-gradient(45% 60% at 8% 92%, rgba(92,217,247,.16), transparent 60%),
  linear-gradient(180deg, #071338 0%, #0a1a4a 55%, #071338 100%); }
.wband.t1 { --wb-top: #ffffff; background:
  radial-gradient(50% 60% at 12% 20%, rgba(92,217,247,.16), transparent 62%),
  radial-gradient(45% 55% at 90% 85%, rgba(79,151,243,.12), transparent 60%),
  linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%); }
.wband.t2 { --wb-top: #12286b; background:
  radial-gradient(55% 70% at 10% 20%, rgba(92,217,247,.22), transparent 60%),
  radial-gradient(50% 60% at 92% 88%, rgba(31,86,214,.45), transparent 62%),
  linear-gradient(180deg, #12286b 0%, #0a1a4a 50%, #040c26 100%); }
.wband.t3 { --wb-top: #eaf1ff; background:
  radial-gradient(50% 60% at 88% 18%, rgba(47,111,232,.12), transparent 62%),
  radial-gradient(40% 50% at 10% 85%, rgba(92,217,247,.18), transparent 60%),
  linear-gradient(180deg, #eaf1ff 0%, #f5f8ff 100%); }

/* ambient fx */
.wb-fx { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.wb-fx i { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; animation: wbFloat 18s ease-in-out infinite alternate; }
.wb-fx .o1 { width: 340px; height: 340px; top: 12%; inset-inline-start: -80px; background: var(--blue-500); }
.wb-fx .o2 { width: 260px; height: 260px; bottom: 6%; inset-inline-end: 8%; background: var(--sky-300); opacity: .3; animation-duration: 22s; animation-delay: -6s; }
.wb-fx .o3 { width: 180px; height: 180px; top: 40%; left: 46%; background: var(--blue-400); opacity: .25; animation-duration: 26s; animation-delay: -12s; }
.wband:not(.dk) .wb-fx i { opacity: .16; }
.wband:not(.dk) .wb-fx .o2 { opacity: .22; }
@keyframes wbFloat { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(40px,-30px,0) scale(1.12); } 100% { transform: translate3d(-30px,24px,0) scale(.94); } }

/* text on dark bands */
.wband.dk .wtitle, .wband.dk .wtitle a { color: #fff; }
.wband.dk .wtitle a:hover { color: var(--sky-300); }
.wband.dk .wdesc { color: rgba(214,228,255,.8); }
.wband.dk .wchip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #d6e4ff; backdrop-filter: none; }
.wband.dk .wchip svg { color: var(--sky-300); }
.wband .wchip.pc { --pc: var(--blue-500); }
.wband.dk .wchip.pc { color: var(--sky-300); background: rgba(92,217,247,.1); border-color: rgba(92,217,247,.3); }
.wband.dk .wchip.demo { background: var(--grad-brand); border-color: transparent; color: #fff; }
.wband.dk .wfeat li { color: #e3ecff; }
.wband.dk .wfeat svg { color: var(--sky-300); }
.wband.dk .wtech span { background: rgba(255,255,255,.07); color: var(--sky-200); box-shadow: inset 0 0 0 1px rgba(92,217,247,.18); }
.wband.dk .wnum { -webkit-text-stroke-color: rgba(92,217,247,.22); }
.wband.dk .btn-navy { --bg-btn: var(--blue-600); box-shadow: 0 12px 30px -12px rgba(47,111,232,.8); }
.wband .btn-visit { --pc: var(--blue-500); }
.wband.dk .btn-visit { --bg-btn: transparent; box-shadow: inset 0 0 0 1.5px rgba(92,217,247,.55); color: #fff; }
.wband.dk .bf-win { box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(92,217,247,.14); }
/* works bands: force brand accents on chips, buttons and mockups */
.wband [style*="--pc"] { --pc: var(--blue-500) !important; --qc: var(--sky-300) !important; }
.wband:not(.dk) [style*="--pc"] { --pc: var(--blue-600) !important; --qc: var(--blue-400) !important; }

/* ============ Works v2: layered waves, ribbons, capsules, type art ============ */
.wband { padding-block: clamp(150px, 13vw, 200px) clamp(70px, 7vw, 110px); }
.wband.last { padding-bottom: calc(clamp(70px, 7vw, 110px) + clamp(90px, 9vw, 150px)); }
.work-sec .wlist { margin-top: clamp(110px, 11vw, 170px); }
.bw { position: absolute; left: 0; right: 0; height: clamp(90px, 9vw, 150px); overflow: hidden; pointer-events: none; z-index: 1; }
.bw.up { bottom: calc(100% - 1px); }
.bw.bot { bottom: -1px; display: none; }
.wband.last .bw.bot { display: block; }
.bw svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; max-width: none; animation: bwX 30s linear infinite; }
.bw .w1 { height: 100%; animation-duration: 34s; }
.bw .w2 { height: 82%; animation-duration: 22s; animation-direction: reverse; }
.bw .w3 { height: 64%; animation-duration: 15s; }
@keyframes bwX { to { transform: translate3d(-50%, 0, 0); } }
.bw .w3 path:first-child { fill: var(--wb-top); }
.bw .crest { fill: none; stroke: var(--sky-300); stroke-width: 2.5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(92,217,247,.9)); }
.wband.dk .bw.up .w1 path { fill: #2f6fe8; fill-opacity: .3; }
.wband.dk .bw.up .w2 path { fill: #1f56d6; fill-opacity: .55; }
.wband:not(.dk) .bw.up .w1 path { fill: #5cd9f7; fill-opacity: .35; }
.wband:not(.dk) .bw.up .w2 path { fill: #4f97f3; fill-opacity: .28; }
.wband:not(.dk) .bw .crest { stroke: #4f97f3; filter: drop-shadow(0 0 5px rgba(47,111,232,.55)); }
.bw.bot .w1 path { fill: #5cd9f7; fill-opacity: .3; } .bw.bot .w2 path { fill: #4f97f3; fill-opacity: .3; }
.bw.bot .w3 path:first-child { fill: var(--bg); }
.wband:not(.dk) .bw.bot .crest { stroke: rgba(47,111,232,.5); }
/* flowing light ribbons */
.wb-rib { position: absolute; inset: 0; width: 100%; height: 100%; }
.wb-rib path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: ribDrift 16s ease-in-out infinite alternate; }
.wb-rib .r1 { stroke: rgba(92,217,247,.16); stroke-width: 70; }
.wb-rib .r2 { stroke: rgba(79,151,243,.14); stroke-width: 26; animation-duration: 20s; animation-delay: -5s; }
.wb-rib .r3 { stroke: rgba(92,217,247,.3); stroke-width: 2; stroke-dasharray: 8 14; animation: ribDash 14s linear infinite; }
.wband:not(.dk) .wb-rib .r1 { stroke: rgba(255,255,255,.85); }
.wband:not(.dk) .wb-rib .r2 { stroke: rgba(92,217,247,.18); }
.wband:not(.dk) .wb-rib .r3 { stroke: rgba(47,111,232,.28); }
@keyframes ribDrift { to { transform: translate3d(0, 28px, 0); } }
@keyframes ribDash { to { stroke-dashoffset: -220; } }
/* capsule */
.wcap { position: relative; padding: clamp(26px, 3.6vw, 54px); border-radius: 36px; background: rgba(255,255,255,.72); box-shadow: 0 50px 90px -60px rgba(10,26,74,.45), inset 0 0 0 1px rgba(47,111,232,.12); }
.wband.dk .wcap { background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); box-shadow: 0 50px 90px -50px rgba(0,0,0,.55), inset 0 0 0 1px rgba(92,217,247,.16); }
.wcap::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 50% at 0% 0%, rgba(92,217,247,.14), transparent 70%); }
.wcap > * { position: relative; z-index: 1; }
.wart { position: absolute !important; z-index: 3 !important; top: -150px; left: -36px; width: 250px; }
.wcap.rev .wart { left: auto; right: -36px; }
.wband .wnum { top: -.2em; }
@media (max-width: 900px) {
  .wband { padding-block: 130px 60px; }
  .wband.last { padding-bottom: 150px; }
  .wcap { padding: 18px 16px 24px; border-radius: 26px; }
  .wart, .wcap.rev .wart { top: -118px; left: -8px; right: auto; width: 170px; }
  .bw { height: 78px; }
  .wb-fx .o3 { display: none; } .wb-fx .o1 { width: 220px; height: 220px; }
}
@media (prefers-reduced-motion: reduce) { .bw svg, .wb-rib path, .wb-fx i { animation: none; } }

/* ============ Works hero art: laptop + CIPHER + floating shots ============ */
.art-show { position: relative; width: 100%; aspect-ratio: 1; font-size: calc(100cqw / 40); }
.art-show .rib { position: absolute; inset: -6% -10%; width: 120%; height: 112%; overflow: visible; }
.art-show .rib path { fill: none; stroke: url(#shr); stroke-linecap: round; animation: ribDrift 9s ease-in-out infinite alternate; }
.art-show .rib .r1 { stroke-width: 26; opacity: .55; } .art-show .rib .r2 { stroke-width: 9; opacity: .5; animation-delay: -3s; } .art-show .rib .r3 { stroke-width: 2.5; animation-delay: -6s; }
.sh-lap { position: absolute; left: 50%; top: 24%; width: 27em; margin-left: -13.5em; animation: a3Float 6s ease-in-out infinite; }
.sh-lap .tilt { transform: perspective(80em) rotateX(8deg) rotateY(-20deg); }
.sh-lap .scr { position: relative; height: 17em; border-radius: 1.6em 1.6em .5em .5em; border: .7em solid #1b2b5a; background: radial-gradient(70% 70% at 50% 45%, #1f3f9c 0%, #0a1a4a 60%, #071338 100%); display: grid; place-items: center; overflow: hidden; box-shadow: 0 3.5em 5em -2.5em rgba(10,26,74,.65); }
.sh-lap .lg { width: 8em; height: 8em; display: grid; place-items: center; filter: drop-shadow(0 0 1.6em rgba(92,217,247,.55)); animation: shLogo 6s ease-in-out infinite; }
.sh-lap .lg img { width: 100%; height: auto; }
@keyframes shLogo { 0% { clip-path: inset(0 100% 0 0); opacity: .2; } 25%, 85% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: .2; } }
.sh-lap .sweep { position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; background: linear-gradient(100deg, transparent, rgba(169,236,251,.22), transparent); animation: shSweep 6s ease-in-out infinite; }
@keyframes shSweep { 0%, 30% { transform: translateX(0); } 70%, 100% { transform: translateX(520%); } }
.sh-lap .scr b { position: absolute; left: 1.4em; height: .5em; border-radius: .3em; background: rgba(92,217,247,.35); }
.sh-lap .scr .w1 { top: 1.4em; width: 5em; } .sh-lap .scr .w2 { top: 2.5em; width: 3em; background: rgba(255,255,255,.2); }
.sh-lap .base { height: 1.4em; margin: 0 -2.2em; border-radius: 0 0 1.6em 1.6em; background: linear-gradient(#e4ecfa, #9fb2d6); box-shadow: 0 1.4em 2em -1.2em rgba(10,26,74,.5); }
.sh-t { position: absolute; z-index: 2; display: grid; place-items: center; border-radius: 1.6em; color: #fff; background: linear-gradient(150deg, rgba(92,217,247,.95), rgba(31,86,214,.95)); box-shadow: 0 1.6em 3em -1.4em rgba(31,86,214,.75), inset 0 0 0 .12em rgba(255,255,255,.35); animation: a3Float 5s ease-in-out infinite; }
.sh-t svg { width: 48%; height: 48%; }
.sh-t.t1 { width: 7.4em; height: 7.4em; top: 10%; inset-inline-start: 2%; }
.sh-t.t2 { width: 5.6em; height: 5.6em; top: 52%; inset-inline-start: -1%; animation-delay: -2s; background: linear-gradient(150deg, #fff, #d9e8ff); color: var(--blue-500); }
.sh-t.t3 { width: 5.4em; height: 5.4em; top: 14%; inset-inline-end: 6%; animation-delay: -1s; background: linear-gradient(150deg, #4f97f3, #12286b); }
.sh-t.t4 { width: 4.4em; height: 4.4em; top: 30%; inset-inline-end: -2%; animation-delay: -3.4s; opacity: .85; }
.art-show .badge-live { position: absolute; z-index: 3; bottom: 16%; inset-inline-end: 12%; }
@media (max-width: 640px) {
  .wf-btn:not(.on) span, .wf-btn:not(.on) em { display: none; }
  .wf-btn:not(.on) { width: 44px; padding: 0; justify-content: center; }
  .wf-btn:not(.on) svg { width: 19px; height: 19px; }
}
.art-show .badge-live { inset-inline-start: auto; }
.work-sec .wlist { margin-top: clamp(100px, 9vw, 130px); }
.sh-lap { width: 30em; margin-left: -15em; top: 22%; }
.sh-lap .scr { height: 19em; }
.pf2-ill.a3host { height: auto; width: min(380px, 100%); margin: -30px auto -14px; }
@media (max-width: 900px) { .pf2-ill.a3host { width: min(330px, 92%); margin: 0 auto -30px; } }

/* ============ Services v3: soft wave cards with 3D art ============ */
.svc-cards { padding-top: clamp(30px, 4vw, 60px); }
.sc-list { display: grid; gap: clamp(20px, 2.4vw, 30px); }
.sc { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(16px, 3vw, 48px);
  padding: clamp(18px, 2.6vw, 34px) clamp(22px, 3.4vw, 52px); border-radius: 34px; scroll-margin-top: 150px;
  background: linear-gradient(125deg, #ffffff 0%, #f3f8ff 55%, #e8f1ff 100%); box-shadow: 0 30px 70px -50px rgba(10,26,74,.45), inset 0 0 0 1px rgba(47,111,232,.1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.sc:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -46px rgba(31,86,214,.5), inset 0 0 0 1px rgba(47,111,232,.2); }
.sc.tone1 { background: linear-gradient(125deg, #f8fbff 0%, #eaf3ff 60%, #ddeeff 100%); }
.sc.tone2 { background: linear-gradient(125deg, #ffffff 0%, #eef6ff 50%, #e3f6fd 100%); }
.sc.rev .sc-art { order: 2; }
.sc-wv { position: absolute; inset: auto 0 0 0; width: 100%; height: 62%; z-index: -1; pointer-events: none; }
.sc-wv path { transform-box: view-box; }
.sc-wv .a { fill: rgba(79,151,243,.09); animation: scWv 14s ease-in-out infinite alternate; }
.sc-wv .b { fill: rgba(92,217,247,.12); animation: scWv 10s ease-in-out infinite alternate-reverse; }
.sc-wv .c { fill: none; stroke: rgba(47,111,232,.22); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 6 10; animation: ribDash 18s linear infinite; }
@keyframes scWv { from { transform: translate3d(-3%, 0, 0) scaleY(.92); } to { transform: translate3d(3%, 0, 0) scaleY(1.08); } }
.sc-glow { position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; top: 50%; left: 4%; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(92,217,247,.35), rgba(47,111,232,.12) 55%, transparent); pointer-events: none; }
.sc.rev .sc-glow { left: auto; right: 4%; }
.sc-art { width: min(440px, 100%); justify-self: center; }
.sc-text { position: relative; display: grid; gap: 12px; justify-items: start; }
.sc-num { position: absolute; top: -.35em; inset-inline-end: 0; font: 700 clamp(64px, 7vw, 104px)/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px rgba(47,111,232,.13); z-index: -1; }
.sc-kick { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--font-head); color: var(--blue-600); }
.sc-kick i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, #4f97f3, #1f56d6); box-shadow: 0 8px 18px -8px rgba(31,86,214,.7); }
.sc-kick i svg { width: 17px; height: 17px; }
.sc .h-2 { font-size: clamp(24px, 2.5vw, 34px); line-height: 1.3; }
.sc-desc { color: var(--text-2); font-size: 16px; max-width: 52ch; }
.sc-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.sc-checks li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--navy-800); }
.sc-checks svg { width: 17px; height: 17px; color: var(--blue-500); flex: none; }
.sc-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.sc-btns .btn { min-height: 46px; padding: 0 20px; font-size: 15px; border-radius: 14px; }
@media (max-width: 900px) {
  .sc { grid-template-columns: minmax(0, 1fr); padding: 14px 18px 24px; border-radius: 28px; gap: 4px; }
  .sc.rev .sc-art { order: 0; }
  .sc-art { width: min(300px, 86%); }
  .sc-glow { width: 80%; left: 10%; top: 26%; }
  .sc.rev .sc-glow { right: auto; left: 10%; }
  .sc-wv { height: 40%; }
  .sc-btns .btn { flex: 1 1 auto; }
  .sc-num { font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) { .sc-wv path { animation: none; } }
.sc-wv { left: -6%; right: auto; width: 112%; }
@keyframes scWv { from { transform: scaleY(.9); } to { transform: scaleY(1.1); } }
.sc-wv path.a, .sc-wv path.b { transform-origin: 50% 100%; }
.sc-wv { animation: scDrift 16s ease-in-out infinite alternate; }
@keyframes scDrift { from { transform: translate3d(-2%, 0, 0); } to { transform: translate3d(2%, 0, 0); } }
.sc-wv { max-width: none; }

/* ============ CTA v2 (per-page art) ============ */
.cta2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(10px, 3vw, 40px); padding: clamp(34px, 5vw, 64px) clamp(26px, 5vw, 70px); background:
  radial-gradient(60% 90% at 85% 10%, rgba(47,111,232,.45), transparent 60%), radial-gradient(50% 70% at 0% 100%, rgba(92,217,247,.16), transparent 60%), linear-gradient(150deg, #12286b 0%, #0a1a4a 45%, #040c26 100%);
  box-shadow: 0 50px 100px -60px rgba(10,26,74,.8), inset 0 0 0 1px rgba(92,217,247,.14); }
.cta2 .cta-txt { position: relative; z-index: 2; }
.cta2 .actions { flex-direction: row; flex-wrap: wrap; margin-top: 26px; }
.cta2 .actions .btn { min-height: 52px; }
.cta-art { position: relative; z-index: 1; width: min(420px, 100%); justify-self: center; margin-block: -20px; }
.cta-rib { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.cta-rib path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: ribDrift 14s ease-in-out infinite alternate; }
.cta-rib .r1 { stroke: rgba(79,151,243,.18); stroke-width: 60; }
.cta-rib .r2 { stroke: rgba(92,217,247,.12); stroke-width: 18; animation-delay: -5s; }
.cta-rib .r3 { stroke: rgba(92,217,247,.35); stroke-width: 1.5; stroke-dasharray: 6 12; animation: ribDash 16s linear infinite; }
.cta-glow { position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); pointer-events: none; animation: wbFloat 16s ease-in-out infinite alternate; }
.cta-glow.g1 { width: 300px; height: 300px; top: -80px; inset-inline-start: -60px; background: rgba(47,111,232,.35); }
.cta-glow.g2 { width: 240px; height: 240px; bottom: -90px; inset-inline-end: 22%; background: rgba(92,217,247,.18); animation-delay: -7s; }
.cta2 .a3-tile { background: linear-gradient(150deg, rgba(255,255,255,.95), #cfe0fb); }
@media (max-width: 900px) {
  .cta2 { grid-template-columns: minmax(0, 1fr); text-align: start; padding: 26px 20px 30px; }
  .cta-art { order: -1; width: min(270px, 80%); margin: -6px auto -14px; }
  .cta2 .actions { flex-direction: column; }
}

/* ============ Footer v2 ============ */
.ft2 { background: radial-gradient(60% 60% at 100% 0%, rgba(47,111,232,.28), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(92,217,247,.12), transparent 60%), linear-gradient(180deg, #0a1a4a 0%, #071338 45%, #040c26 100%); overflow: visible; padding-top: 70px; }
.ft2 > .container, .ft2 > .footer-word { position: relative; z-index: 2; }
.ft-wave { position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(70px, 7vw, 120px); overflow: hidden; pointer-events: none; }
.ft-wave svg { position: absolute; left: 0; bottom: 0; width: 200%; max-width: none; height: 100%; animation: bwX 30s linear infinite; }
.ft-wave .w1 { animation-duration: 36s; } .ft-wave .w1 path { fill: #4f97f3; fill-opacity: .22; }
.ft-wave .w2 { height: 80%; animation-duration: 24s; animation-direction: reverse; } .ft-wave .w2 path { fill: #1f56d6; fill-opacity: .45; }
.ft-wave .w3 { height: 60%; animation-duration: 16s; } .ft-wave .w3 path:first-child { fill: #0a1a4a; }
.ft-wave .crest { fill: none; stroke: #5cd9f7; stroke-width: 2.5; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(92,217,247,.9)); }
.ft-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ft-fx span { position: absolute; border-radius: 50%; filter: blur(70px); animation: wbFloat 20s ease-in-out infinite alternate; }
.ft-fx .g1 { width: 380px; height: 380px; top: -120px; inset-inline-end: -80px; background: rgba(47,111,232,.35); }
.ft-fx .g2 { width: 300px; height: 300px; bottom: -100px; inset-inline-start: -60px; background: rgba(92,217,247,.16); animation-delay: -8s; }
.ft-fx .g3 { width: 220px; height: 220px; top: 40%; left: 45%; background: rgba(31,86,214,.22); animation-delay: -14s; }
.ft-fx svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ft-fx path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; animation: ribDrift 18s ease-in-out infinite alternate; }
.ft-fx .r1 { stroke: rgba(79,151,243,.12); stroke-width: 70; } .ft-fx .r2 { stroke: rgba(92,217,247,.22); stroke-width: 1.5; stroke-dasharray: 6 12; animation: ribDash 20s linear infinite; }
.ft2 .footer-word { -webkit-text-stroke-color: rgba(92,217,247,.2); }
@media (prefers-reduced-motion: reduce) { .ft-wave svg, .ft-fx *, .cta-rib path, .cta-glow { animation: none; } }
.ft2 { clip-path: inset(-200px 0 0 0); }
/* perf: animate whole SVG layers, not paths (paths repaint) */
.wb-rib path, .cta-rib path, .ft-fx path, .art-show .rib path, .sc-wv path { animation: none !important; }
.wb-rib, .cta-rib, .ft-fx svg, .art-show .rib { animation: ribDrift 14s ease-in-out infinite alternate; will-change: transform; }
.ft-fx span { animation: none; }
/* perf: soft glows via gradients instead of blur filters */
.cta-glow, .wb-fx i, .ft-fx span { filter: none !important; }
.cta-glow.g1 { width: 520px; height: 520px; top: -220px; inset-inline-start: -200px; background: radial-gradient(closest-side, rgba(47,111,232,.42), transparent); }
.cta-glow.g2 { width: 420px; height: 420px; bottom: -200px; background: radial-gradient(closest-side, rgba(92,217,247,.22), transparent); }
.wb-fx .o1 { width: 560px; height: 560px; top: 0; inset-inline-start: -220px; background: radial-gradient(closest-side, rgba(47,111,232,.7), transparent); }
.wb-fx .o2 { width: 440px; height: 440px; background: radial-gradient(closest-side, rgba(92,217,247,.6), transparent); }
.wb-fx .o3 { width: 320px; height: 320px; background: radial-gradient(closest-side, rgba(79,151,243,.6), transparent); }
.ft-fx .g1 { width: 640px; height: 640px; top: -260px; inset-inline-end: -220px; background: radial-gradient(closest-side, rgba(47,111,232,.4), transparent); }
.ft-fx .g2 { width: 520px; height: 520px; bottom: -220px; inset-inline-start: -180px; background: radial-gradient(closest-side, rgba(92,217,247,.18), transparent); }
.ft-fx .g3 { width: 400px; height: 400px; background: radial-gradient(closest-side, rgba(31,86,214,.25), transparent); }
@media (max-width: 900px) { .wb-fx .o1 { width: 360px; height: 360px; } }

/* ============ v9: home fixes ============ */
/* explorer stage: plate always wraps the screen */
.svx-plate { inset: 9% -1% 1% 7%; transform: rotateX(calc(8deg + var(--rx))) rotateY(calc(-16deg + var(--ry))) rotateZ(-2deg) translateZ(-70px); }
.svx-screen { inset-inline: 5% 6%; top: 13%; }
.svx-tile.t1 { top: 1%; inset-inline-end: 0; }
/* section dividers */
.has-sdiv { position: relative; padding-top: calc(var(--sec-pad, clamp(70px, 9vw, 120px)) + 40px); }
.sdiv { position: absolute; left: 0; right: 0; top: -1px; height: clamp(60px, 6vw, 100px); overflow: hidden; pointer-events: none; z-index: 0; }
.sdiv svg { position: absolute; left: 0; top: 0; width: 200%; max-width: none; height: 100%; animation: bwX 26s linear infinite; }
.sdiv .s2 { height: 78%; animation-duration: 17s; animation-direction: reverse; }
.sdiv .cr { fill: none !important; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.sdiv-a .s1 path { fill: #2f6fe8; fill-opacity: .16; } .sdiv-a .s2 path { fill: #0a1a4a; } .sdiv-a .cr { stroke: #5cd9f7; filter: drop-shadow(0 0 5px rgba(92,217,247,.9)); }
.sdiv-b .s1 path { fill: #5cd9f7; fill-opacity: .25; } .sdiv-b .s2 path { fill: #4f97f3; fill-opacity: .55; } .sdiv-b .cr { stroke: #fff; }
.sdiv-c .s1 path { fill: #1f56d6; fill-opacity: .14; } .sdiv-c .s2 path { fill: #2f6fe8; } .sdiv-c .cr { stroke: #a9ecfb; filter: drop-shadow(0 0 5px rgba(92,217,247,.8)); }
.has-sdiv > .container { position: relative; z-index: 1; }
@media (max-width: 900px) {
  /* ribbons: make the white ribbon visible */
  .ribbons { height: 170px !important; }
  .rb-front { transform: translateY(-50%) rotate(-7deg); }
  .rb-back { transform: translateY(-50%) rotate(7deg); }
  /* hero: live background art */
  .hero .container, .hero-grid { position: relative; }
  .hero-visual { position: absolute !important; z-index: 0; top: -10px; left: 50%; width: 118vw !important; max-width: none !important; margin: 0 !important; transform: translateX(-50%); opacity: .2; pointer-events: none; -webkit-mask: radial-gradient(closest-side, #000 55%, transparent); mask: radial-gradient(closest-side, #000 55%, transparent); }
  .hero-visual .float-chip { display: none; }
  .hero-copy { position: relative; z-index: 1; }
  /* explorer: icon pills, art on top */
  .svx { grid-template-areas: "head" "list" "stage" "card" "btns" "feats" !important; }
  .svx-hint { display: none !important; }
  .svx-item { transition: padding .35s var(--ease-out), background .3s, color .3s; }
  .svx-item:not(.active) .tx, .svx-item:not(.active) .pr { display: none; }
  .svx-item:not(.active) { padding: 8px; min-height: 48px; }
  .svx-item .ic { width: 32px; height: 32px; }
  .svx-stage { width: min(330px, 88%); justify-self: center; margin-block: 4px -6px; }
  .svx-stage::before { content: ""; position: absolute; inset: 6% -12% -4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(92,217,247,.35), rgba(47,111,232,.12) 60%, transparent); }
  .svx-card .svx-iso { display: none; }
}
/* contact chat: show all 4 messages (first was clipped) */
.cb-body { justify-content: flex-start !important; height: auto !important; min-height: 0 !important; gap: 2cqw; }
.cb-body .m { font-size: 3.5cqw; padding: 2cqw 3.2cqw; }

/* ============ About: Cryptex hero ============ */
.art-crx { position: relative; width: 100%; aspect-ratio: 1; container-type: inline-size; }
.art-crx .cx-halo { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(92,217,247,.35), rgba(47,111,232,.14) 55%, transparent); animation: cxHalo 8s ease-in-out infinite; }
.cx-orbit { position: absolute; left: 50%; top: 50%; width: 92cqw; height: 34cqw; margin: -17cqw 0 0 -46cqw; border-radius: 50%; border: 1.5px solid rgba(47,111,232,.25); transform: rotate(-10deg); animation: cxSpin 16s linear infinite; }
.cx-orbit.o2 { width: 70cqw; height: 70cqw; margin: -35cqw 0 0 -35cqw; border-style: dashed; border-color: rgba(92,217,247,.4); animation-duration: 30s; animation-direction: reverse; }
.cx-orbit i { position: absolute; top: -1.4cqw; left: 50%; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: var(--sky-300); box-shadow: 0 0 3cqw var(--sky-300); }
.cx-orbit i + i { top: auto; bottom: -1.2cqw; left: 20%; width: 2cqw; height: 2cqw; background: var(--blue-500); }
@keyframes cxSpin { from { transform: rotate(-10deg); } to { transform: rotate(350deg); } }
.cx { position: absolute; left: 50%; top: 50%; width: 86cqw; margin-left: -43cqw; transform: translateY(-30%) perspective(120cqw) rotateX(10deg) rotateY(-14deg); animation: cxFloat 6s ease-in-out infinite; }
@keyframes cxFloat { 50% { translate: 0 -2.4cqw; } }
.cx-body { display: flex; align-items: stretch; filter: drop-shadow(0 6cqw 6cqw rgba(10,26,74,.4)); }
.cx-body .cap { width: 7cqw; border-radius: 3cqw; background: linear-gradient(180deg, #4f97f3, #12286b 55%, #071338); box-shadow: inset 0 .5cqw 0 rgba(255,255,255,.35); }
.cx-body .cap.l { border-radius: 4cqw 1cqw 1cqw 4cqw; } .cx-body .cap.r { border-radius: 1cqw 4cqw 4cqw 1cqw; }
.reels { --h: 11cqw; position: relative; flex: 1; display: flex; direction: ltr; gap: .8cqw; padding: 0 .8cqw; height: calc(var(--h) * 2.2); background: #0a1a4a; overflow: hidden; }
.reels::before, .reels::after { content: ""; position: absolute; left: 0; right: 0; height: 38%; z-index: 2; pointer-events: none; }
.reels::before { top: 0; background: linear-gradient(#071338, rgba(7,19,56,0)); } .reels::after { bottom: 0; background: linear-gradient(rgba(7,19,56,0), #071338); }
.rl { position: relative; flex: 1; overflow: hidden; background: linear-gradient(90deg, #dfe8f8, #fff 45%, #c9d7f2); border-radius: .6cqw; }
.rl .col { display: grid; padding-top: calc(var(--h) * .6); animation: cxReel 9s cubic-bezier(.3,.1,.2,1.15) infinite; animation-delay: calc(var(--k) * .22s); }
.rl b { display: grid; place-items: center; height: var(--h); font: 700 7cqw/1 var(--font-head); color: #12286b; }
@keyframes cxReel { 0% { transform: translateY(0); filter: blur(0); } 8% { filter: blur(.5cqw); } 40% { transform: translateY(calc(var(--h) * -9)); filter: blur(0); } 82% { transform: translateY(calc(var(--h) * -9)); } 96%, 100% { transform: translateY(0); filter: blur(.4cqw); } }
.reels .band { position: absolute; z-index: 3; left: 0; right: 0; top: 50%; height: var(--h); margin-top: calc(var(--h) * -.5); border-block: .5cqw solid rgba(92,217,247,.25); background: rgba(92,217,247,.06); animation: cxBand 9s ease-in-out infinite; pointer-events: none; }
@keyframes cxBand { 0%, 44% { border-color: rgba(92,217,247,.25); box-shadow: none; background: rgba(92,217,247,.04); } 50%, 80% { border-color: #5cd9f7; box-shadow: 0 0 4cqw rgba(92,217,247,.8), inset 0 0 3cqw rgba(92,217,247,.4); background: rgba(92,217,247,.14); } 92%, 100% { border-color: rgba(92,217,247,.25); box-shadow: none; } }
.cx-emb { position: absolute; left: 50%; top: 8%; width: 22cqw; height: 22cqw; margin-left: -11cqw; display: grid; place-items: center; z-index: 2; animation: cxEmb 9s ease-in-out infinite; }
.cx-emb img { width: 72%; height: auto; filter: drop-shadow(0 0 3cqw rgba(92,217,247,.6)); }
.cx-emb .pulse { position: absolute; inset: 0; border-radius: 50%; border: .6cqw solid var(--sky-300); opacity: 0; animation: cxPulse 9s ease-out infinite; }
.cx-emb .pulse.p2 { animation-delay: .35s; }
@keyframes cxEmb { 0%, 44% { transform: scale(.9); filter: saturate(.6) brightness(.95); } 50%, 82% { transform: scale(1.06); filter: none; } 100% { transform: scale(.9); filter: saturate(.6); } }
@keyframes cxPulse { 0%, 46% { transform: scale(.6); opacity: 0; } 50% { opacity: .9; } 66%, 100% { transform: scale(1.9); opacity: 0; } }
@keyframes cxHalo { 0%, 44%, 100% { opacity: .6; } 55% { opacity: 1; } }
.cx-tag { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 1.6cqw; padding: 2cqw 3.4cqw; border-radius: 999px; font: 600 3.4cqw/1 var(--font-head); background: rgba(255,255,255,.95); color: var(--navy-800); box-shadow: 0 3cqw 6cqw -3cqw rgba(10,26,74,.45); opacity: 0; animation: cxTag 9s ease-out infinite; }
.cx-tag svg { width: 4cqw; height: 4cqw; color: var(--blue-500); }
.cx-tag.t1 { bottom: 14%; inset-inline-start: 2%; font-family: var(--font-mono); letter-spacing: .1em; color: var(--blue-600); }
.cx-tag.t2 { bottom: 5%; inset-inline-end: 6%; animation-delay: .3s; }
@keyframes cxTag { 0%, 48% { opacity: 0; transform: translateY(2cqw) scale(.9); } 54%, 84% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-1cqw); } }
@media (prefers-reduced-motion: reduce) { .art-crx * { animation: none !important; } .rl .col { transform: translateY(calc(var(--h) * -9)); } }

/* ============ About: CIPHER orbit (name section) ============ */
.orbit-lts { position: relative; display: block !important; height: clamp(250px, 30vw, 330px); margin: 10px auto 18px; max-width: 900px; touch-action: pan-y; user-select: none; }
.orbit-lts .lt-glider { display: none; }
.ob-ring { position: absolute; left: 50%; top: 42%; width: var(--rx2, 760px); height: var(--ry2, 210px); transform: translate(-50%, -50%); border-radius: 50%; border: 2px solid rgba(47,111,232,.18); box-shadow: 0 0 30px rgba(92,217,247,.18), inset 0 0 30px rgba(92,217,247,.12); pointer-events: none; }
.ob-ring.r2 { width: calc(var(--rx2, 760px) * 1.08); height: calc(var(--ry2, 210px) * 1.2); border: 1px dashed rgba(92,217,247,.35); box-shadow: none; animation: cxSpinR 60s linear infinite; }
@keyframes cxSpinR { to { transform: translate(-50%, -50%) rotate(360deg); } }
.ob-pulse { position: absolute; left: 50%; bottom: -7px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--sky-300); box-shadow: 0 0 18px 4px rgba(92,217,247,.8); }
.orbit-lts .lt { position: absolute; left: 50%; top: 42%; width: var(--sz, 96px); margin: calc(var(--sz, 96px) * -.5) 0 0 calc(var(--sz, 96px) * -.5); padding: 0; background: none !important; border: 0 !important; box-shadow: none !important; display: grid; justify-items: center; gap: 8px; cursor: pointer;
  transition: transform .9s cubic-bezier(.22,1,.36,1), opacity .9s, filter .9s; will-change: transform; }
.orbit-lts .orb { width: var(--sz, 96px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 26%, #fff 0%, #eef4ff 38%, #bcd2f5 100%); box-shadow: 0 18px 34px -16px rgba(10,26,74,.45), inset -6px -8px 16px rgba(47,111,232,.18), inset 4px 4px 10px rgba(255,255,255,.9); transition: background .6s, box-shadow .6s; }
.orbit-lts .ch { font: 700 calc(var(--sz, 96px) * .42)/1 var(--font-head); color: var(--navy-800); transition: color .6s; }
.orbit-lts .en { font: 600 13px/1 var(--font-mono); letter-spacing: .06em; color: var(--blue-600); white-space: nowrap; transition: opacity .5s; }
.orbit-lts .lt.on .orb { background: radial-gradient(circle at 32% 26%, #a9ecfb 0%, #4f97f3 35%, #1f56d6 70%, #12286b 100%); box-shadow: 0 0 0 8px rgba(92,217,247,.16), 0 0 50px rgba(47,111,232,.65), inset -8px -10px 20px rgba(7,19,56,.45), inset 5px 5px 12px rgba(255,255,255,.45); }
.orbit-lts .lt.on .ch { color: #fff; }
.orbit-lts .lt.on .en { color: var(--navy-800); font-size: 15px; }
.orbit-lts .lt.back .en { opacity: 0; }
.orbit-lts .lt:focus-visible .orb { outline: 3px solid var(--sky-300); outline-offset: 4px; }
@media (max-width: 640px) { .orbit-lts { height: 220px; } .orbit-lts .en { font-size: 11px; } .orbit-lts .lt.on .en { font-size: 12.5px; } }
.orbit-lts { width: 100%; }
.orbit-lts .lt { overflow: visible !important; }
.ob-ring.r2 { animation: none; }
.art-chat2 .cb { inset: 9% 4% 9% 4%; }
.cb-body { gap: 1.8cqw; padding: 3.4cqw 4cqw; }
.cb-body .m { font-size: 3.3cqw; line-height: 1.45; padding: 1.8cqw 3cqw; }
.art-chat2 .cb-badge.b-top { top: 0; } .art-chat2 .cb-badge.b-bot { bottom: 0; }
@media (max-width: 900px) { .hero-visual { opacity: .12; top: 30px; } }
.sdiv { height: clamp(80px, 8vw, 130px); } .sdiv-a .s2 path:first-child { fill: #12286b; }
@media (max-width: 900px) { .hero { overflow: clip; } }

/* ============ v10 ============ */
/* mobile hero: art above the title, smaller (no overlap) */
@media (max-width: 900px) {
  .hero-visual { position: relative !important; top: auto !important; left: auto !important; transform: none !important; order: -1; width: min(230px, 60vw) !important; max-width: none !important; margin: 0 auto -18px !important; opacity: 1 !important; -webkit-mask: none !important; mask: none !important; justify-self: center; }
}
/* home explorer: plate = offset card behind the screen */
.svx-plate { inset: 19% 0% 6% 9%; border-radius: 34px; transform: rotateX(calc(8deg + var(--rx))) rotateY(calc(-16deg + var(--ry))) rotateZ(3deg) translate3d(14px, 16px, -40px); }
.svx-screen { inset-inline: 4% 5%; top: 14%; }
.svx-tile.t1 { top: 3%; inset-inline-end: 1%; width: 72px; height: 72px; border-radius: 20px; }

/* services page: full-bleed split rows (desktop) */
@media (min-width: 901px) {
  .svc-cards { padding-top: 10px; padding-bottom: 20px; }
  .svc-cards .sc-list { max-width: none; padding: 0; gap: 0; }
  .sc { --pad: max(32px, calc((100vw - 1240px) / 2)); grid-template-columns: 1fr 1fr; gap: 0; padding: 0; border-radius: 0; min-height: 440px; background: transparent !important; box-shadow: none !important; overflow: visible; scroll-margin-top: 110px; }
  .sc:hover { transform: none; }
  .sc + .sc { border-top: 1px solid rgba(47,111,232,.08); }
  .sc-glow, .sc > .sc-wv { display: none; }
  .sc-art { position: relative; align-self: stretch; width: 100%; display: grid; place-items: center; padding: 40px 6%; isolation: isolate; overflow: hidden;
    border-start-start-radius: 0; border-end-start-radius: 0; border-start-end-radius: 220px; border-end-end-radius: 220px;
    background: radial-gradient(70% 70% at 60% 40%, rgba(92,217,247,.28), transparent 70%), linear-gradient(135deg, #eaf3ff 0%, #d6e8ff 55%, #c3ddfb 100%); }
  .sc.rev .sc-art { border-start-start-radius: 220px; border-end-start-radius: 220px; border-start-end-radius: 0; border-end-end-radius: 0; }
  .sc.tone1 .sc-art { background: radial-gradient(70% 70% at 40% 40%, rgba(92,217,247,.22), transparent 70%), linear-gradient(135deg, #12286b 0%, #0a1a4a 60%, #071338 100%); }
  .sc.tone2 .sc-art { background: radial-gradient(70% 70% at 50% 40%, rgba(255,255,255,.6), transparent 70%), linear-gradient(135deg, #dff6fd 0%, #bfe4fb 50%, #9fcdf6 100%); }
  .sc-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 46px, rgba(47,111,232,.07) 47px 48px); -webkit-mask: radial-gradient(closest-side, #000, transparent); mask: radial-gradient(closest-side, #000, transparent); }
  .sc.tone1 .sc-art::before { background: repeating-radial-gradient(circle at 50% 50%, transparent 0 46px, rgba(92,217,247,.1) 47px 48px); }
  .sc-art .a3w { width: min(470px, 100%); }
  .sc-text { padding: 56px var(--pad) 56px 6%; align-self: center; max-width: calc(620px + var(--pad)); }
  .sc.rev .sc-text { padding: 56px 6% 56px var(--pad); justify-self: end; }
  [dir="rtl"] .sc-text { padding: 56px var(--pad) 56px 6%; }
  [dir="rtl"] .sc.rev .sc-text { padding: 56px 6% 56px var(--pad); }
  .sc-num { inset-inline-end: auto; inset-inline-start: var(--pad); top: 30px; font-size: 120px; }
  .sc.rev .sc-num { inset-inline-start: 6%; }
  .sc .h-2 { font-size: clamp(28px, 2.6vw, 38px); }
  .sc-desc { font-size: 17px; }
}
@media (min-width: 901px) { .svc-cards .container.sc-list { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; } .svc-cards { overflow: hidden; } }

/* ============ About: CIPHER hive (name section) ============ */
.dx-sec { position: relative; isolation: isolate; color: #fff; overflow: hidden; padding-block: clamp(130px, 12vw, 180px); background: radial-gradient(60% 70% at 20% 40%, rgba(47,111,232,.35), transparent 65%), radial-gradient(50% 60% at 90% 70%, rgba(92,217,247,.14), transparent 60%), linear-gradient(170deg, #0a1a4a 0%, #071338 55%, #040c26 100%); }
.dx-sec .h-1 { color: #fff; }
.dx-lead { color: rgba(214,228,255,.75); font-size: 17px; max-width: 560px; margin: 4px auto 0; }
.dx-wv { position: absolute; left: 0; right: 0; height: clamp(60px, 7vw, 110px); z-index: 0; pointer-events: none; }
.dx-wv.top { top: -1px; } .dx-wv.bot { bottom: -1px; }
.dx-wv svg { width: 100%; height: 100%; display: block; }
.dx-wv path { fill: var(--bg); }
.dx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16v32L28 64 0 48V16zM28 64v33' fill='none' stroke='%235cd9f7' stroke-opacity='.07'/%3E%3C/svg%3E"); -webkit-mask: radial-gradient(70% 70% at 50% 55%, #000, transparent); mask: radial-gradient(70% 70% at 50% 55%, #000, transparent); }
.dx-bg i { position: absolute; border-radius: 50%; }
.dx-bg .g1 { width: 520px; height: 520px; left: 8%; top: 30%; background: radial-gradient(closest-side, rgba(47,111,232,.35), transparent); animation: wbFloat 18s ease-in-out infinite alternate; }
.dx-bg .g2 { width: 380px; height: 380px; right: 6%; top: 18%; background: radial-gradient(closest-side, rgba(92,217,247,.16), transparent); animation: wbFloat 22s ease-in-out infinite alternate-reverse; }
.dx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(24px, 3vw, 44px); }
.dx-hive { position: relative; width: min(560px, 100%); justify-self: center; aspect-ratio: 1 / .92; container-type: inline-size; touch-action: pan-y; user-select: none; order: 2; }
.dx-beams { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dx-beams .bm { stroke: rgba(92,217,247,.14); stroke-width: .5; stroke-dasharray: 1.2 1.6; }
.dx-beams .bm.on { stroke: #5cd9f7; stroke-width: .8; stroke-dasharray: 2 2; animation: dxBeam .9s linear infinite; filter: drop-shadow(0 0 1.2px #5cd9f7); }
@keyframes dxBeam { to { stroke-dashoffset: -8; } }
/* hex cells */
.hx { position: absolute; left: var(--x); top: var(--y); width: 28cqw; aspect-ratio: 1 / 1.1547; transform: translate(-50%, -50%); padding: 0; border: 0; background: none; cursor: pointer; filter: drop-shadow(0 2.4cqw 3cqw rgba(0,0,0,.35)); transition: transform .6s cubic-bezier(.22,1,.36,1), filter .6s; animation: dxBob 6s ease-in-out infinite; animation-delay: calc(var(--x) * -.04s); }
[dir="rtl"] .hx { right: auto; }
@keyframes dxBob { 50% { translate: 0 -1cqw; } }
.hx-sh { position: absolute; inset: 0; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(160deg, rgba(169,236,251,.55), rgba(47,111,232,.25) 50%, rgba(92,217,247,.35)); transition: background .6s; }
.hx-in { position: absolute; inset: 2px; clip-path: inherit; display: grid; place-content: center; justify-items: center; gap: .6cqw; background: linear-gradient(165deg, rgba(31,63,156,.55), rgba(10,26,74,.92) 70%); transition: background .6s; }
.hx .ch { font: 700 9.6cqw/1 var(--font-head); color: #fff; transition: color .5s, transform .6s; }
.hx .en { font: 600 2.5cqw/1 var(--font-mono); letter-spacing: .08em; color: #9fdcfb; text-transform: uppercase; transition: color .5s; }
.hx:hover { transform: translate(-50%, -50%) scale(1.05); }
.hx.on { transform: translate(-50%, -50%) scale(1.12); z-index: 3; filter: drop-shadow(0 0 3cqw rgba(92,217,247,.65)) drop-shadow(0 3cqw 4cqw rgba(0,0,0,.4)); }
.hx.on .hx-sh { background: linear-gradient(160deg, #a9ecfb, #5cd9f7 40%, #2f6fe8); }
.hx.on .hx-in { background: linear-gradient(165deg, #4f97f3 0%, #1f56d6 55%, #12286b 100%); }
.hx.on .en { color: #fff; }
.hx:focus-visible { outline: none; } .hx:focus-visible .hx-sh { background: #fff; }
/* core */
.hx-core { position: absolute; left: 50cqw; top: 46cqw; width: 28cqw; aspect-ratio: 1 / 1.1547; transform: translate(-50%, -50%); z-index: 2; }
[dir="rtl"] .hx-core { right: auto; }
.core-ring { position: absolute; inset: -4%; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: conic-gradient(from var(--ca, 0deg), #5cd9f7, #2f6fe8 25%, transparent 45%, #5cd9f7 70%, #a9ecfb 85%, #5cd9f7); animation: dxRing 6s linear infinite; }
@property --ca { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes dxRing { to { --ca: 360deg; } }
.core-in { position: absolute; inset: 3%; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); display: grid; place-content: center; justify-items: center; gap: 1cqw; text-align: center; background: radial-gradient(circle at 50% 35%, #12286b, #040c26 75%); }
.core-ic { width: 8cqw; height: 8cqw; display: grid; place-items: center; color: #5cd9f7; filter: drop-shadow(0 0 1.4cqw rgba(92,217,247,.8)); }
.core-ic svg { width: 100%; height: 100%; }
.core-ar { font: 700 4.4cqw/1.2 var(--font-head); color: #fff; }
.core-n { font: 600 2.4cqw/1 var(--font-mono); color: #9fdcfb; letter-spacing: .1em; }
.hx-core.swap .core-in > * { animation: dxSwap .6s cubic-bezier(.22,1,.36,1) both; }
@keyframes dxSwap { from { opacity: 0; transform: translateY(1.4cqw) scale(.9); } to { opacity: 1; transform: none; } }
/* panel */
.dx-panel { position: relative; order: 1; border-radius: 30px; padding: clamp(24px, 3vw, 40px); background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(92,217,247,.18), 0 40px 80px -50px rgba(0,0,0,.7); overflow: hidden; min-height: 300px; display: grid; grid-template-rows: 1fr auto; }
.dx-panel .dc-stage { position: relative; min-height: 220px; }
.dx-panel .dc-slide { position: absolute; inset: 0; display: grid; align-content: start; gap: 14px; transition: opacity .55s, transform .55s cubic-bezier(.22,1,.36,1); }
.dx-panel .dc-slide.enter { opacity: 0; transform: translateY(18px); } .dx-panel .dc-slide.leave { opacity: 0; transform: translateY(-14px); }
.dx-panel .dc-top { display: flex; align-items: center; gap: 14px; }
.dx-panel .dc-ic { width: 58px; height: 58px; flex: none; border-radius: 18px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, #4f97f3, #1f56d6); box-shadow: 0 12px 30px -12px rgba(47,111,232,.9); }
.dx-panel .dc-ic svg { width: 28px; height: 28px; }
.dx-panel .dc-en { font: 600 14px/1 var(--font-mono); letter-spacing: .14em; color: #5cd9f7; text-transform: uppercase; }
.dx-panel .dc-ar { font: 700 clamp(30px, 3.4vw, 44px)/1.2 var(--font-head); color: #fff; margin: 0; }
.dx-panel .dc-d { color: rgba(214,228,255,.85); font-size: 18px; line-height: 1.8; max-width: 44ch; }
.dx-panel .dc-big { position: absolute; inset-inline-end: -10px; bottom: -40px; font: 800 220px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1.5px rgba(92,217,247,.14); pointer-events: none; }
.dx-panel .dc-step { font: 600 13px/1 var(--font-mono); color: rgba(214,228,255,.55); }
.dx-foot { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.dx-foot .dc-prog { position: relative; flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; inset: auto; }
.dx-foot .dc-prog i { position: absolute; inset: 0; transform-origin: right; transform: scaleX(0); background: linear-gradient(90deg, #5cd9f7, #2f6fe8); }
.dx-foot .dc-prog.run i { animation: exBar 5.2s linear forwards; }
.dx-nav { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(92,217,247,.25); cursor: pointer; transition: background .3s; }
.dx-nav:hover { background: rgba(47,111,232,.5); }
.dx-nav svg { width: 18px; height: 18px; } .dx-nav.prev svg { transform: scaleX(-1); }
@media (max-width: 900px) {
  .dx { grid-template-columns: minmax(0, 1fr); }
  .dx-hive { order: 0; width: min(420px, 100%); }
  .hx .en { font-size: 3cqw; }
  .dx-panel .dc-big { font-size: 160px; }
  .dx-panel .dc-d { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hx, .core-ring, .dx-bg i, .dx-beams .bm.on { animation: none; } }

/* hive panel v2 */
.dx-panel { min-height: 340px; padding: clamp(24px, 3vw, 38px) clamp(22px, 3vw, 40px) clamp(20px, 2.4vw, 28px); background: linear-gradient(160deg, rgba(31,63,156,.42), rgba(7,19,56,.55)); box-shadow: inset 0 0 0 1px rgba(92,217,247,.2), 0 40px 90px -50px rgba(0,0,0,.8); }
.dx-panel::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 100% 0%, rgba(92,217,247,.16), transparent 60%); }
.dx-edge { position: absolute; inset-block: 22px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: linear-gradient(#5cd9f7, #2f6fe8, transparent); box-shadow: 0 0 14px rgba(92,217,247,.7); }
.dx-scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(100deg, transparent 30%, rgba(169,236,251,.14) 50%, transparent 70%); transform: translateX(110%); }
.dx-panel.flash .dx-scan { animation: dxScan .9s ease-out; }
@keyframes dxScan { from { transform: translateX(110%); } to { transform: translateX(-110%); } }
.dx-panel .dc-stage { min-height: 230px; }
.dx-panel .dc-slide { gap: 16px; }
.dx-panel .dc-slide.leave { transition-duration: .3s; }
.dc-term { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 12px; font: 500 13.5px/1 var(--font-mono); color: #cfe0ff; background: rgba(4,12,38,.65); box-shadow: inset 0 0 0 1px rgba(92,217,247,.18); max-width: 100%; overflow: hidden; white-space: nowrap; }
[dir="rtl"] .dc-term { justify-self: end; }
.dc-term .pr, .dc-term .ok { color: #5cd9f7; } .dc-term em { font-style: normal; color: #a9ecfb; } .dc-term .ar { color: rgba(207,224,255,.5); } .dc-term b { color: #fff; letter-spacing: .08em; }
.dc-term .ok { margin-inline-start: 4px; animation: dxOk .6s .5s both; }
.dc-slide .dc-term { clip-path: inset(0 100% 0 0); animation: dxType .7s steps(22) .1s forwards; }
@keyframes dxType { to { clip-path: inset(0 0 0 0); } }
@keyframes dxOk { from { opacity: 0; transform: scale(.4); } }
.dx-panel .dc-top { gap: 16px; }
.dx-panel .dc-ar { flex: 1; font-size: clamp(34px, 3.6vw, 48px); }
.dx-panel .dc-step { font: 700 30px/1 var(--font-mono); color: rgba(92,217,247,.9); }
.dx-panel .dc-step small { font-size: 14px; color: rgba(214,228,255,.45); margin-inline-start: 2px; }
.dx-panel .dc-d { font-size: 19px; color: rgba(226,236,255,.9); }
.dx-panel .dc-big { inset-inline-end: auto; inset-inline-start: auto; left: -14px; bottom: -70px; font-size: 260px; -webkit-text-stroke: 0; color: transparent; background: linear-gradient(180deg, rgba(92,217,247,.16), rgba(92,217,247,0) 75%); -webkit-background-clip: text; background-clip: text; z-index: -1; }
.dc-slide.enter .dc-big { transform: scale(.85); }
.dc-big { transition: transform .8s cubic-bezier(.22,1,.36,1); }
/* step hexes */
.dx-foot { gap: 12px; margin-top: 22px; }
.dx-steps { flex: 1; display: flex; justify-content: center; gap: 8px; }
.dx-steps .st { position: relative; width: 38px; aspect-ratio: 1 / 1.1547; padding: 0; border: 0; cursor: pointer; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: rgba(255,255,255,.08); color: rgba(214,228,255,.6); display: grid; place-items: center; overflow: hidden; transition: background .3s, color .3s, transform .3s; }
.dx-steps .st b { position: relative; z-index: 1; font: 700 14px/1 var(--font-head); }
.dx-steps .st i { position: absolute; inset: 0; background: linear-gradient(0deg, #2f6fe8, #5cd9f7); transform: scaleY(0); transform-origin: bottom; }
.dx-steps .st.done { background: rgba(47,111,232,.35); color: #cfe0ff; }
.dx-steps .st.on { color: #fff; transform: scale(1.12); background: rgba(47,111,232,.4); }
.dx-steps .st.on i { transform: scaleY(1); }
.dx-steps .st.run i { animation: dxFill 4s linear forwards; }
@keyframes dxFill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.dx-steps .st:hover { background: rgba(92,217,247,.25); }
@media (max-width: 640px) {
  .dx-panel { min-height: 0; padding: 22px 18px 18px; border-radius: 24px; }
  .dx-panel .dc-stage { min-height: 250px; }
  .dx-panel .dc-ar { font-size: 32px; }
  .dx-panel .dc-step { font-size: 22px; }
  .dx-panel .dc-d { font-size: 16.5px; }
  .dx-panel .dc-big { font-size: 200px; }
  .dc-term { font-size: 12px; padding: 7px 11px; }
  .dx-steps { gap: 5px; } .dx-steps .st { width: 32px; }
  .dx-nav { width: 38px; height: 38px; }
}
.dx-panel .dc-big { z-index: 0; background: linear-gradient(180deg, rgba(92,217,247,.22), rgba(92,217,247,0) 80%); -webkit-background-clip: text; background-clip: text; }
.dx-panel .dc-slide > :not(.dc-big) { position: relative; z-index: 1; }
@media (max-width: 640px) { .dx-nav { display: none; } .dx-panel .dc-stage { min-height: 205px; } .dx-steps .st { width: 36px; } }

/* ============ About v3 ============ */
.accent-ul { padding-bottom: .38em; background-size: 100% .26em; }
.dx-sec { padding-bottom: clamp(70px, 7vw, 110px); }
.pillars-sec { padding-top: clamp(40px, 4vw, 70px) !important; margin-top: -1px; background: linear-gradient(180deg, #040c26 0%, #071338 40%, #0a1a4a 100%) !important; }
/* holo core hero */
.art-holo { position: relative; width: 100%; aspect-ratio: 1; container-type: inline-size; perspective: 160cqw; }
.ho-glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(92,217,247,.32), rgba(47,111,232,.12) 55%, transparent); }
.ho-plat { position: absolute; left: 50%; bottom: 10%; width: 74cqw; height: 22cqw; margin-left: -37cqw; transform-style: preserve-3d; }
.ho-plat i { position: absolute; border-radius: 50%; }
.ho-plat .d1 { inset: 0; background: radial-gradient(closest-side, rgba(47,111,232,.35), rgba(47,111,232,.08) 70%, transparent); }
.ho-plat .d2 { inset: 22% 18%; border: .5cqw solid rgba(92,217,247,.55); box-shadow: 0 0 4cqw rgba(92,217,247,.5), inset 0 0 3cqw rgba(92,217,247,.35); background: radial-gradient(closest-side, rgba(169,236,251,.35), transparent); }
.ho-plat .d3 { inset: 36% 32%; background: radial-gradient(closest-side, #a9ecfb, rgba(92,217,247,.2)); filter: blur(1px); }
.ho-plat .pr { inset: 22% 18%; border: .35cqw solid rgba(92,217,247,.7); animation: hoPulse 3.2s ease-out infinite; }
.ho-plat .p2 { animation-delay: 1.6s; }
@keyframes hoPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.ho-beam { position: absolute; left: 50%; bottom: 17%; width: 30cqw; height: 56cqw; margin-left: -15cqw; background: linear-gradient(0deg, rgba(92,217,247,.55), rgba(92,217,247,.08) 70%, transparent); clip-path: polygon(30% 100%, 70% 100%, 100% 0, 0 0); animation: hoBeam 4s ease-in-out infinite; }
@keyframes hoBeam { 50% { opacity: .6; } }
.ho-core { position: absolute; left: 50%; top: 22%; width: 30cqw; aspect-ratio: 1 / 1.1547; margin-left: -15cqw; animation: hoFloat 6s ease-in-out infinite; z-index: 2; }
@keyframes hoFloat { 50% { transform: translateY(-3cqw); } }
.ho-core .hx-b, .ho-core .hx-f { position: absolute; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.ho-core .hx-b { inset: 0; background: conic-gradient(from var(--ca, 0deg), #5cd9f7, #2f6fe8 30%, #a9ecfb 50%, #1f56d6 75%, #5cd9f7); animation: dxRing 5s linear infinite; }
.ho-core .hx-f { inset: 3%; display: grid; place-items: center; background: radial-gradient(circle at 40% 30%, #1f3f9c, #0a1a4a 60%, #040c26); }
.ho-core img { width: 62%; height: auto; filter: drop-shadow(0 0 2.4cqw rgba(92,217,247,.7)); animation: hoLogo 4s ease-in-out infinite; }
@keyframes hoLogo { 50% { filter: drop-shadow(0 0 4.4cqw rgba(92,217,247,1)); transform: scale(1.04); } }
.ho-core .sh { position: absolute; inset: 3%; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%); background-size: 250% 100%; animation: hoShine 4.5s ease-in-out infinite; }
@keyframes hoShine { from { background-position: 150% 0; } to { background-position: -100% 0; } }
.ho-rings { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.ho-rings .rg { position: absolute; left: 50%; top: 40%; width: 0; height: 0; transform-style: preserve-3d; animation: hoSpin 24s linear infinite; }
.ho-rings .r1 { --r: 40cqw; transform: rotateX(72deg) rotateY(-10deg); }
.ho-rings .r2 { --r: 30cqw; top: 46%; transform: rotateX(68deg) rotateY(14deg); animation-duration: 18s; animation-direction: reverse; }
@keyframes hoSpin { from { rotate: z 0deg; } to { rotate: z 360deg; } }
.ho-rings b { position: absolute; left: -2cqw; top: -2.4cqw; width: 4cqw; text-align: center; font: 600 3.6cqw/4.8cqw var(--font-mono); color: rgba(169,236,251,.5); transform: rotate(calc(var(--k) * 360deg / var(--n))) translateY(calc(var(--r) * -1)) rotateX(-90deg); }
.ho-rings b.h { color: #fff; font-weight: 800; font-size: 4.6cqw; text-shadow: 0 0 2cqw #5cd9f7, 0 0 .6cqw #5cd9f7; }
.ho-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 1.4cqw; padding: 2cqw 3.2cqw; border-radius: 999px; font: 600 3.2cqw/1 var(--font-head); background: rgba(255,255,255,.95); color: var(--navy-800); box-shadow: 0 3cqw 6cqw -3cqw rgba(10,26,74,.5); animation: a3Float 5s ease-in-out infinite; }
.ho-chip svg { width: 3.8cqw; height: 3.8cqw; color: var(--blue-500); }
.ho-chip.c1 { top: 8%; inset-inline-end: 0; font-family: var(--font-mono); letter-spacing: .1em; color: var(--blue-600); }
.ho-chip.c2 { top: 50%; inset-inline-start: -2%; animation-delay: -2s; }
.ho-chip.c3 { bottom: 4%; inset-inline-end: 6%; animation-delay: -3.5s; }
@media (prefers-reduced-motion: reduce) { .art-holo * { animation: none !important; } }
/* holo rings: 2D elliptical orbits (reliable) */
.ho-rings .rg { inset: 0; left: 0; top: 0; width: 100%; height: 100%; transform: none !important; animation: none; }
.ho-rings b { left: 0; top: 0; transform: none; offset-path: ellipse(44% 11% at 50% 46%); offset-rotate: 0deg; offset-distance: calc(var(--k) * 100% / var(--n)); animation: hoOrbit 26s linear infinite; animation-delay: calc(var(--k) * -26s / var(--n)); offset-distance: 0%; }
.ho-rings .r2 b { offset-path: ellipse(33% 8% at 50% 58%); animation-duration: 20s; animation-direction: reverse; animation-delay: calc(var(--k) * -20s / var(--n)); }
@keyframes hoOrbit { from { offset-distance: 0%; } to { offset-distance: 100%; } }
.ho-rings .r1 { z-index: 3; }
.ho-core { width: 34cqw; margin-left: -17cqw; top: 18%; }
.ho-rings b { color: rgba(47,111,232,.42); }
.ho-rings b.h { color: #1f56d6; text-shadow: 0 0 1.6cqw rgba(92,217,247,.9); }

/* home: statement flows straight into works */
.sdiv-a .s2 path:first-child { fill: #060f2d !important; }
.band-dark { background: radial-gradient(50% 60% at 15% 50%, rgba(47,111,232,.28), transparent 70%), radial-gradient(40% 50% at 85% 30%, rgba(92,217,247,.14), transparent 70%), #071338; }

/* about: vision / mission / promise v3 */
.vm3 { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.vm-link { position: absolute; left: 4%; right: 4%; top: 64px; width: 92%; height: 40px; z-index: 0; overflow: visible; }
.vm-link path { fill: none; stroke: #5cd9f7; stroke-width: 2; stroke-dasharray: 6 10; vector-effect: non-scaling-stroke; opacity: .6; }
.vm3 .vm { position: relative; z-index: 1; display: grid; align-content: start; justify-items: start; gap: 10px; padding: 30px 28px 34px; border-radius: 30px; overflow: hidden; isolation: isolate;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(150deg, rgba(92,217,247,.7), rgba(47,111,232,.15) 45%, rgba(47,111,232,.5)) border-box; border: 1.5px solid transparent;
  box-shadow: 0 30px 60px -40px rgba(10,26,74,.45); transition: transform .5s var(--ease-out), box-shadow .5s; }
.vm3 .vm:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -36px rgba(31,86,214,.45); }
.vm3 .vm1 { background: linear-gradient(160deg, #12286b, #0a1a4a 60%, #071338) padding-box, linear-gradient(150deg, #5cd9f7, rgba(47,111,232,.3) 50%, #5cd9f7) border-box; transform: translateY(-14px); }
.vm3 .vm1:hover { transform: translateY(-20px); }
.vm3 .vm1 h3 { color: #fff; } .vm3 .vm1 p { color: #c7d6f5; } .vm3 .vm1 .vm-en { color: #5cd9f7; }
.vm3 .vm-ic { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #5cd9f7, #2f6fe8 55%, #1f56d6); box-shadow: 0 16px 30px -14px rgba(31,86,214,.8), inset 0 1px 0 rgba(255,255,255,.4); margin-bottom: 8px; animation: a3Float 6s ease-in-out infinite; }
.vm3 .vm1 .vm-ic { animation-delay: -2s; } .vm3 .vm2 .vm-ic { animation-delay: -4s; }
.vm3 .vm-ic svg { width: 30px; height: 30px; }
.vm-en { font: 600 12.5px/1 var(--font-mono); letter-spacing: .16em; color: var(--blue-500); }
.vm3 .vm h3 { font-size: clamp(24px, 2.2vw, 30px); margin: 0; }
.vm3 .vm p { font-size: 16.5px; line-height: 1.8; color: var(--text-2); }
.vm-ghost { position: absolute; z-index: -1; inset-inline-start: -6px; bottom: -18px; font: 800 72px/1 var(--font-head); letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1.2px rgba(47,111,232,.1); white-space: nowrap; }
.vm1 .vm-ghost { -webkit-text-stroke-color: rgba(92,217,247,.16); }
.vm-line { position: absolute; left: 28px; right: 28px; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #5cd9f7, #2f6fe8, transparent); transform: scaleX(.3); opacity: .5; transition: transform .6s var(--ease-out), opacity .6s; }
.vm3 .vm:hover .vm-line { transform: scaleX(1); opacity: 1; }
@media (max-width: 900px) { .vm3 { grid-template-columns: minmax(0, 1fr); gap: 16px; } .vm-link { display: none; } .vm3 .vm1, .vm3 .vm1:hover { transform: none; } .vm-ghost { font-size: 60px; } }
.vm3 .vm.vm1 p { color: #c7d6f5; }
.vm3 .vm { padding-top: 38px; }

/* ============ Home explorer v3 (desktop): one showcase panel ============ */
.svx-pbg { display: none; }
@media (min-width: 1181px) {
  .svx { grid-template-columns: 280px minmax(0, 1fr) minmax(0, 1.12fr); grid-template-areas: "head head head" "list card stage" "list btns stage" ". feats feats"; column-gap: 0; row-gap: 0; }
  .svx-list { margin-inline-end: 26px; align-self: stretch; justify-content: space-between; }
  .svx-pbg { display: block; grid-column: 2 / 4; grid-row: 2 / 4; position: relative; overflow: hidden; border-radius: 38px;
    background: radial-gradient(60% 80% at 15% 40%, rgba(92,217,247,.3), transparent 65%), linear-gradient(135deg, #f4f8ff 0%, #e4effe 55%, #d3e6fc 100%);
    box-shadow: 0 40px 80px -55px rgba(10,26,74,.5), inset 0 0 0 1px rgba(47,111,232,.1); }
  .svx-pbg svg { position: absolute; left: 0; bottom: 0; width: 100%; height: 55%; }
  .svx-pbg .a { fill: rgba(79,151,243,.1); } .svx-pbg .b { fill: rgba(92,217,247,.14); }
  .svx-card { position: relative; z-index: 1; background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 44px 44px 10px 10px; align-self: start; }
  [dir="rtl"] .svx-card { padding: 44px 44px 10px 10px; }
  .svx-btns { position: relative; z-index: 1; padding: 6px 44px 44px 10px; align-self: end; }
  .svx-stage { position: relative; z-index: 1; grid-row: 2 / 4; align-self: center; width: 100%; padding: 30px 34px; aspect-ratio: auto; }
  .svx-plate { display: none; }
  .svx-screen { position: relative; inset: auto !important; top: auto !important; margin: 0; }
  .svx-tile.t1 { top: 6px; inset-inline-end: 12px; }
  .svx-feats { grid-area: feats; margin-top: 26px; padding: 18px 10px; border-radius: 22px; background: #fff; box-shadow: 0 20px 40px -32px rgba(10,26,74,.4), inset 0 0 0 1px rgba(47,111,232,.08); }
  .svx-feats li { flex-direction: row; justify-content: center; gap: 12px; }
}
@media (min-width: 1181px) { .svx-pbg { grid-row: card-start / btns-end; grid-column: card-start / stage-end; align-self: stretch; } .svx-stage { grid-row: card-start / btns-end; } .svx-hint { display: none !important; } }
/* hero rotator: always one line, fixed height (no jumping) */
.hero-title .rotator { white-space: nowrap; display: inline-block; min-height: 1.25em; }
/* WhatsApp buttons in brand colours */
.fab-wa, .btn-wa { background: linear-gradient(135deg, #2f6fe8, #1f56d6) !important; box-shadow: 0 14px 30px -12px rgba(31,86,214,.7) !important; }

/* ============ Home explorer v4 (mockup layout) ============ */
.svx-plat, .svx-g, .svx-wave { display: none; }
.svx-more { display: inline-flex; align-items: center; gap: 10px; font: 700 16px var(--font-head); color: var(--navy-800); }
.svx-more i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--blue-500); color: var(--blue-500); transition: background .3s, color .3s; }
.svx-more i svg { width: 14px; height: 14px; }
.svx-more:hover i { background: var(--blue-500); color: #fff; }
.svx-item.active { color: #fff; }
.svx-glider { background: linear-gradient(110deg, #12286b, #0a1a4a) !important; box-shadow: 0 16px 30px -14px rgba(10,26,74,.7) !important; }
.svx-item.active .ic { background: var(--blue-500) !important; color: #fff; }
/* stage: platform + glass tiles */
.svx-stage .svx-screen { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; transform: none !important; }
.svx-stage .svx-plate, .svx-stage .svx-tile { display: none !important; }
.svx-screen .a3-tile, .svx-screen .a3-cb, .svx-screen .a3-floor { display: none; }
.svx-plat { display: block; position: absolute; left: 50%; bottom: 4%; width: 92%; aspect-ratio: 3.4; transform: translateX(-50%); z-index: 0; }
.svx-plat i { position: absolute; border-radius: 50%; }
.svx-plat .p1 { inset: 0; background: radial-gradient(closest-side, rgba(79,151,243,.4), rgba(169,212,251,.2) 65%, transparent); }
.svx-plat .p2 { inset: 14% 8%; background: linear-gradient(180deg, #ffffff, #d7e7fd); box-shadow: 0 18px 30px -16px rgba(31,86,214,.5), inset 0 -6px 12px rgba(47,111,232,.18); }
.svx-plat .p3 { inset: 24% 16%; border: 3px solid #5cd9f7; box-shadow: 0 0 22px rgba(92,217,247,.9), inset 0 0 16px rgba(92,217,247,.6); animation: hoBeam 3s ease-in-out infinite; }
.svx-plat .sw { inset: -6% -2%; border: 12px solid transparent; border-top-color: rgba(47,111,232,.75); border-left-color: rgba(92,217,247,.55); filter: drop-shadow(0 0 10px rgba(47,111,232,.5)); animation: a3Spin 9s linear infinite; }
.svx-g { display: grid; position: absolute; z-index: 3; width: 74px; height: 74px; border-radius: 22px; place-items: center; color: var(--blue-500); background: linear-gradient(150deg, rgba(255,255,255,.95), rgba(219,233,255,.75)); box-shadow: 0 18px 34px -16px rgba(31,86,214,.5), inset 0 0 0 1px rgba(255,255,255,.9); animation: a3Float 6s ease-in-out infinite; transition: opacity .3s; }
.svx-g svg { width: 36px; height: 36px; }
.svx-g.g1 { top: 2%; inset-inline-end: 66%; }
.svx-g.g2 { top: 6%; inset-inline-end: 4%; animation-delay: -2s; }
.svx-g.g3 { top: 44%; inset-inline-end: 84%; animation-delay: -4s; }
.svx.swap .svx-g { opacity: 0; }
.svx-wave { display: block; position: absolute; left: -50vw; right: -50vw; bottom: -40px; height: 160px; z-index: -1; pointer-events: none; }
.svx-wave svg { width: 100%; height: 100%; }
.svx-wave path { fill: rgba(79,151,243,.12); } .svx-wave .b { fill: rgba(47,111,232,.14); }
.svx-sec { overflow: hidden; }
@media (min-width: 1181px) {
  .svx { grid-template-columns: 290px minmax(0, 1fr) minmax(0, 1.15fr) !important; grid-template-rows: auto auto auto auto;
    grid-template-areas: "list head stage" "list card stage" "list btns stage" "list btns feats" !important; column-gap: 34px !important; row-gap: 22px !important; align-items: start; }
  .svx-pbg { display: none !important; }
  .svx-head { padding-top: 10px; }
  .svx-head .h-1 { font-size: clamp(34px, 2.7vw, 46px); }
  .svx-list { margin: 0 !important; padding: 12px; border-radius: 26px; background: rgba(255,255,255,.7); box-shadow: 0 30px 60px -40px rgba(10,26,74,.35), inset 0 0 0 1px rgba(47,111,232,.08); align-self: start; }
  .svx-card { background: #fff !important; border-radius: 28px !important; padding: 28px 30px !important; box-shadow: 0 30px 60px -40px rgba(10,26,74,.4), inset 0 0 0 1px rgba(47,111,232,.08) !important; }
  .svx-card .svx-mini { display: none; }
  .svx-btns { padding: 0 !important; align-self: start; }
  .svx-stage { grid-area: stage !important; grid-row: 1 / 4 !important; align-self: center; aspect-ratio: 1 / .95; padding: 0 !important; }
  .svx-screen { position: absolute !important; left: 6%; right: 6%; top: 6% !important; }
  .svx-feats { grid-area: feats !important; margin-top: 0 !important; }
  .svx-feats li { flex-direction: column !important; gap: 6px; }
}
@media (max-width: 1180px) {
  .svx-stage { aspect-ratio: 1 / .9; }
  .svx-screen { position: absolute !important; left: 8%; right: 8%; top: 4% !important; }
  .svx-g { width: 56px; height: 56px; border-radius: 17px; } .svx-g svg { width: 26px; height: 26px; }
}
@media (max-width: 900px) {
  .svx-stage { width: min(360px, 92%) !important; }
  .svx-stage::before { display: none; }
  .svx-card .svx-mini { display: none; }
  .svx-g { width: 46px; height: 46px; border-radius: 14px; } .svx-g svg { width: 22px; height: 22px; }
  .svx-g.g3 { inset-inline-end: 86%; }
}
.svx-stage .svx-screen { inset: 4% 7% auto 7% !important; }
.svx-list { padding: 0 !important; background: none !important; box-shadow: none !important; }
.svx-plat .sw { display: none; }
.svx-plat::after { content: ""; position: absolute; inset: -4% -3%; border-radius: 50%; border: 10px solid rgba(47,111,232,.55); border-bottom-color: rgba(92,217,247,.8); border-top-color: rgba(47,111,232,.15); filter: drop-shadow(0 0 12px rgba(47,111,232,.45)); }
.svx-stage .svx-screen .a3w { filter: drop-shadow(0 30px 30px rgba(10,26,74,.25)); }
@media (min-width: 1181px) { .svx-feats { align-self: end; } }
.svx-stage .svx-screen { inset: 12% 9% auto 9% !important; } @media (max-width:900px){ .svx-stage .svx-screen { inset: 6% 6% auto 6% !important; } }
@media (min-width:901px){ .svx-stage .svx-screen { top: 17% !important; } } @media (max-width:900px){ .svx-wave { display:none !important; } }

/* ============ v11: desktop/tablet layout + cross-browser fallbacks ============ */
/* statement: readable even before words light up */
.statement-text .w { opacity: .32; }
/* home hero: terminal no longer covers the hex illustration */
@media (min-width: 901px) {
  .hero-visual { max-width: 560px; }
  .hero-terminal { width: min(300px, 58%); bottom: -10%; inset-inline-start: -12%; }
  .hero-mark { translate: 7% -9%; scale: .9; }
}
/* tablet landscape / small laptop 901–1180 */
@media (min-width: 901px) and (max-width: 1180px) {
  .hero-terminal { inset-inline-start: -4%; bottom: -14%; width: min(270px, 56%); }
  .svx-stage { width: min(560px, 100%); justify-self: center; }
  .sc .sc-text { padding-block: 40px; }
  .sc-art .a3w { width: min(380px, 100%); }
}
/* ---- fallbacks for older Safari / Firefox ---- */
@supports not (width: 1cqw) {
  .a3 { font-size: 13px; }
  .a3w { max-width: 420px; margin-inline: auto; }
  .art-holo .ho-rings, .art-crx { display: none; }
}
@supports not (offset-path: ellipse(40% 10% at 50% 50%)) {
  .ho-rings { display: none; }
}
@supports not (background: color-mix(in srgb, red, blue)) {
  :root { --line: rgba(47,111,232,.14); }
}
@media (min-width: 901px) { .hero-terminal { inset-inline-start: 0; bottom: -2%; width: min(290px, 56%); } .hero-mark { translate: 9% -10%; } }

/* ============ v12: proportional scaling for large screens ============
   The layout is composed for ~1440px; larger screens scale it up uniformly
   so proportions, spacing and visual balance stay identical. */
@media (min-width: 1500px) { :root { --container: 1200px; } body { font-size: 16px; } .lead { font-size: 19px; } }
@media (min-width: 1500px) and (max-width: 1679px) { body { zoom: 1.07; } :root { --z: 1.07; } }
@media (min-width: 1680px) and (max-width: 1859px) { body { zoom: 1.17; } :root { --z: 1.17; } }
@media (min-width: 1860px) and (max-width: 2099px) { body { zoom: 1.3; } :root { --z: 1.3; } }
@media (min-width: 2100px) and (max-width: 2399px) { body { zoom: 1.45; } :root { --z: 1.45; } }
@media (min-width: 2400px) and (max-width: 2799px) { body { zoom: 1.68; } :root { --z: 1.68; } }
@media (min-width: 2800px) and (max-width: 3399px) { body { zoom: 1.95; } :root { --z: 1.95; } }
@media (min-width: 3400px) { body { zoom: 2.4; } :root { --z: 2.4; } }

@media (min-width: 1500px) {
  .hero { min-height: calc(100svh / var(--z, 1)); }
  .fab-wa { zoom: .85; }
}

/* ============ v12b: tablet landscape / small laptop (901–1180) ============ */
@media (min-width: 901px) and (max-width: 1180px) {
  .hero .container { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 28px; }
  .hero-visual { max-width: 400px; margin-top: 0; }
  .hero-title.h-display { font-size: clamp(38px, 4.6vw, 52px); }
  .hero-terminal { width: min(240px, 60%); bottom: -6%; inset-inline-start: -2%; }
  .statement .side { display: block; width: min(300px, 34%); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; }
  .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .steps { grid-template-columns: repeat(6, 1fr); }
  .steps-line { display: block; }
  /* home services explorer: list | stage, list | card, btns */
  .svx { grid-template-columns: 270px minmax(0, 1fr) !important; grid-template-areas: "head head" "list stage" "list card" "list btns" "feats feats" !important; column-gap: 26px !important; row-gap: 18px !important; }
  .svx-stage { width: min(420px, 100%) !important; justify-self: center; }
  .svx-card .svx-mini { display: none; }
}
@media (min-width: 901px) and (max-width: 1080px) { .statement-text { max-width: 16ch; } }
@media (min-width: 901px) and (max-width: 1180px) { .hero-terminal { display: none; } .statement .side { display: none; } .hero-mark { translate: none; scale: 1; } }
@media (min-width: 901px) and (max-width: 1180px) { .wcap.rev .wart { right: -8px; } .wart { left: -8px; width: 210px; top: -130px; } }

/* ============ Glass services band (single ribbon) ============ */
.gband { position: relative; z-index: 2; margin-top: -34px; padding-block: 0 10px; }
.gb { --step: .9s; position: relative; height: 66px; border-radius: 999px; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(234,243,255,.55));
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 18px 40px -26px rgba(10,26,74,.35), inset 0 0 0 1px rgba(255,255,255,.85), inset 0 -1px 0 rgba(47,111,232,.12);
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gb-track { display: flex; width: max-content; height: 100%; animation: marquee 60s linear infinite; }
.gb-row { display: flex; align-items: center; height: 100%; flex: none; padding-inline-end: 0; }
.gbi { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 18px; border-radius: 999px; color: var(--navy-800); font: 600 15px/1 var(--font-head); white-space: nowrap; transition: background .3s, box-shadow .3s, color .3s; }
.gbi i { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--blue-500);
  background: linear-gradient(150deg, rgba(255,255,255,.95), rgba(219,233,255,.7)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 6px 14px -8px rgba(31,86,214,.45);
  animation: gbPulse calc(var(--step) * 9) linear infinite; animation-delay: calc(var(--k) * var(--step)); }
.gbi i svg { width: 18px; height: 18px; }
/* connector: thin data line between services, lit in sequence with the icon pulse */
.gbl { position: relative; width: 46px; height: 2px; flex: none; border-radius: 2px; background: rgba(47,111,232,.16); overflow: hidden; }
.gbl::after { content: ""; position: absolute; inset: 0; width: 40%; border-radius: inherit; background: linear-gradient(90deg, transparent, #4f97f3, transparent); transform: translateX(-120%); opacity: 0;
  animation: gbLine calc(var(--step) * 9) linear infinite; animation-delay: calc(var(--k) * var(--step) + var(--step) * .35); }
[dir="rtl"] .gbl::after { transform: translateX(120%); animation-name: gbLineR; }
@keyframes gbPulse { 0% { box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 6px 14px -8px rgba(31,86,214,.45); color: var(--blue-500); }
  4% { box-shadow: inset 0 0 0 1px rgba(92,217,247,.9), 0 0 0 4px rgba(92,217,247,.16), 0 6px 16px -6px rgba(47,111,232,.6); color: #1f56d6; }
  11%, 100% { box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 6px 14px -8px rgba(31,86,214,.45); color: var(--blue-500); } }
@keyframes gbLine { 0% { transform: translateX(-120%); opacity: 1; } 7% { transform: translateX(260%); opacity: 1; } 8%, 100% { opacity: 0; } }
@keyframes gbLineR { 0% { transform: translateX(260%); opacity: 1; } 7% { transform: translateX(-120%); opacity: 1; } 8%, 100% { opacity: 0; } }
.gb:hover .gb-track, .gb:focus-within .gb-track { animation-play-state: paused; }
.gbi:hover, .gbi:focus-visible { background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(92,217,247,.5), 0 8px 22px -10px rgba(47,111,232,.55); color: #1f56d6; outline: none; }
.gbi:hover i, .gbi:focus-visible i { background: linear-gradient(145deg, #4f97f3, #1f56d6); color: #fff; }
@media (max-width: 900px) {
  .gband { margin-top: -20px; }
  .gb { height: 54px; }
  .gbi { height: 40px; padding: 0 12px 0 14px; font-size: 13.5px; gap: 8px; }
  .gbi i { width: 28px; height: 28px; border-radius: 9px; } .gbi i svg { width: 15px; height: 15px; }
  .gbl { width: 28px; }
}
@media (prefers-reduced-motion: reduce) { .gb-track, .gbi i, .gbl::after { animation: none; } .gb { overflow-x: auto; } }
.gb { background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(232,241,255,.85)); box-shadow: 0 22px 44px -24px rgba(10,26,74,.32), inset 0 0 0 1px rgba(47,111,232,.16), inset 0 1px 0 #fff;
  -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.gb::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(60% 140% at 50% 120%, rgba(92,217,247,.18), transparent 70%); }
.gband { padding-bottom: 0; }

/* ============ official brand logo (CIPHER-identity-kit) ============ */
.brand img, .brand-pill img { width: auto; aspect-ratio: 2080 / 605; }
.footer .brand img { aspect-ratio: 2080 / 589; }
.mpill5 .mp-logo { height: 44px; width: auto; max-width: 78%; object-fit: contain; }
.header.scrolled .mpill5 .mp-logo { height: 38px; }
@media (max-width: 360px) { .mpill5 .mp-logo { height: 38px; } }
.pt-logo img { width: min(240px, 60vw); height: auto; display: block; }
.pt-mark, .pt-word { display: none; }
.pl-logo { width: min(260px, 62vw); height: auto; display: block; }
.pl-word { display: none; }
img.brand-icon { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(31,86,214,.25)); }
.sh-lap .lg img, .ho-core .hx-f img { width: 62%; height: auto; }

/* ============ v14 fixes ============ */
/* mobile header: logo size never changes on scroll */
@media (max-width: 900px) {
  .mpill.mpill5, .header.scrolled .mpill.mpill5 { height: 66px !important; }
  .mpill5 img.mp-logo, .header.scrolled .mpill5 img.mp-logo { height: 46px !important; width: auto; max-width: 82%; transition: none; }
}
@media (max-width: 360px) { .mpill5 img.mp-logo, .header.scrolled .mpill5 img.mp-logo { height: 40px !important; } }
/* page-transition loader: clear, responsive */
.pt-in { gap: clamp(16px, 2vw, 24px); }
.pt-logo img { width: clamp(200px, 26vw, 360px) !important; height: auto; filter: drop-shadow(0 14px 30px rgba(31,86,214,.25)); animation: ptPulse 1.6s ease-in-out infinite; }
@keyframes ptPulse { 50% { transform: scale(1.03); filter: drop-shadow(0 18px 40px rgba(31,86,214,.4)); } }
.pt-bar { display: block; width: clamp(160px, 18vw, 260px); height: 4px; border-radius: 4px; background: rgba(47,111,232,.14); overflow: hidden; }
.pt-bar i { display: block; height: 100%; width: 40%; border-radius: inherit; background: linear-gradient(90deg, #05a7f1, #00cffe); animation: ptBar 1.1s ease-in-out infinite; }
@keyframes ptBar { from { transform: translateX(-110%); } to { transform: translateX(260%); } }
[dir="rtl"] .pt-bar i { animation-name: ptBarR; }
@keyframes ptBarR { from { transform: translateX(110%); } to { transform: translateX(-260%); } }
.pl-logo { width: clamp(200px, 26vw, 360px) !important; }
/* text balance everywhere */
h1, h2, h3, .h-1, .h-2, .h-page { text-wrap: balance; }
.lead, p { text-wrap: pretty; }
.btn, .eyebrow, .wchip, .fw-badge, .pill, .chip, .gbi, .bn span, .svx-more, .sc-kick { white-space: nowrap; }
@media (max-width: 360px) { .cta2 .actions .btn { font-size: 14.5px; padding-inline: 16px; } .hero .eyebrow { font-size: 12.5px; } }
/* project page: realistic devices */
.pd-dev { width: min(620px, 100%); margin-inline: auto; }
.pd-dev .fw-dev { aspect-ratio: 16 / 9.4; }
.dv-lap { width: min(760px, 100%); margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(10,26,74,.25)); }
.dv-scr { aspect-ratio: 16 / 10; border: clamp(6px, 1.1vw, 12px) solid #111a33; border-radius: 16px 16px 4px 4px; overflow: hidden; background: #0a1a4a; }
.dv-scr img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: top; border-radius: 0 !important; box-shadow: none !important; }
.dv-base { height: clamp(10px, 1.6vw, 18px); margin: 0 -6%; border-radius: 0 0 18px 18px; background: linear-gradient(#e5ecf8, #a9b8d4); }
.dv-phwrap { display: grid; place-items: center; padding: 6px 0; }
.dv-ph { position: relative; width: clamp(190px, 24vw, 260px); aspect-ratio: 9 / 19.5; border: 9px solid #111a33; border-radius: 38px; overflow: hidden; background: #0a1a4a; box-shadow: 0 30px 50px -24px rgba(10,26,74,.5); }
.dv-ph .nt { position: absolute; z-index: 2; top: 8px; left: 50%; width: 34%; height: 16px; margin-left: -17%; border-radius: 12px; background: #111a33; }
.dv-ph img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: top; border-radius: 0 !important; box-shadow: none !important; }
.gal-th .th-prev .dv-lap, .gal-th .th-prev .dv-phwrap { transform: none; width: 100%; margin: 0; filter: none; }
.gal-th .th-prev .dv-ph { width: 34px; border-width: 3px; border-radius: 8px; } .gal-th .th-prev .dv-ph .nt { display: none; }
.gal-th .th-prev .dv-scr { border-width: 3px; border-radius: 6px; } .gal-th .th-prev .dv-base { display: none; }
.gal-th .th-prev > .dv-phwrap { padding: 0; height: 100%; }
.gal-th .th-t, .gal-th .th-t b, .gal-th .th-t small { white-space: nowrap; }
.gal2 .gal-th { grid-template-columns: 84px minmax(0, 1fr); }
@media (max-width: 640px) {
  .wfilter { margin-inline: auto; padding-inline: 0; justify-content: center; }
  .wf-track { gap: 2px; padding: 5px; margin-inline: auto; }
  .wf-btn:not(.on) { width: 40px; height: 40px; }
  .wf-btn.on { padding-inline: 14px; }
}

/* ============ animated official logo (paths of the approved SVG, untouched) ============ */
svg.blogo { display: block; width: 100%; height: auto; overflow: visible; }
svg.blogo path { transform-box: fill-box; transform-origin: center; }
.pt-logo svg.blogo, .pl-logo svg.blogo { width: clamp(110px, 13vw, 170px) !important; }
.pt-logo, .pl-logo { width: auto !important; display: grid; place-items: center; filter: drop-shadow(0 16px 30px rgba(31,86,214,.28)); }
.pt-logo img, .pl-logo img { display: none; }
/* loaders: assemble → hold → release, looping */
svg.blogo.anim path { animation: lgBuild 2.2s cubic-bezier(.22,1,.36,1) infinite both; animation-delay: calc(var(--i) * 55ms); }
@keyframes lgBuild { 0% { opacity: 0; transform: translateY(14%) scale(.6); } 28%, 78% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-8%) scale(.96); } }
/* hero: assemble once, then breathe */
svg.blogo.anim.loop path { animation: lgIn 1s cubic-bezier(.22,1,.36,1) both, lgBreath 5s ease-in-out infinite; animation-delay: calc(var(--i) * 60ms), calc(1.4s + var(--i) * 120ms); }
@keyframes lgIn { from { opacity: 0; transform: translateY(18%) scale(.5); } to { opacity: 1; transform: none; } }
@keyframes lgBreath { 0%, 100% { transform: none; filter: none; } 50% { transform: translateY(-2%); filter: brightness(1.12); } }
.hero-mark svg.blogo { width: 100%; filter: drop-shadow(0 24px 40px rgba(31,86,214,.25)); }
@media (prefers-reduced-motion: reduce) { svg.blogo path { animation: none !important; opacity: 1 !important; transform: none !important; } }

/* ============ v14 — animated official horizontal logo (header / mobile / footer / loaders) ============ */
svg.blogo.hz { aspect-ratio: 2080 / 605; }
.brand svg.blogo.hz { width: auto; height: 46px; }
.brand-pill svg.blogo.hz { height: 40px; }
.footer .brand svg.blogo.hz { height: 54px; aspect-ratio: 2080 / 589; }
@media (max-width: 1180px) { .brand-pill svg.blogo.hz { height: 36px; } }
.mpill5 svg.mp-logo, .header.scrolled .mpill5 svg.mp-logo { width: auto !important; height: 46px !important; max-width: 82%; flex: none; }
@media (max-width: 360px) { .mpill5 svg.mp-logo, .header.scrolled .mpill5 svg.mp-logo { height: 40px !important; } }
/* entrance: icon pieces assemble, wordmark slides in */
svg.blogo.live .pi { animation: lgIn .9s cubic-bezier(.22,1,.36,1) both, lgGlint 8s ease-in-out infinite; animation-delay: calc(var(--i) * 55ms), calc(2.2s + var(--i) * 70ms); }
svg.blogo.live .pw { animation: lgWord .8s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(.45s + (var(--i) - 14) * 45ms); }
@keyframes lgWord { from { opacity: 0; transform: translateX(10%); } to { opacity: 1; transform: none; } }
@keyframes lgGlint { 0%, 12%, 100% { transform: none; filter: none; } 5% { transform: translateY(-9%) scale(1.04); filter: brightness(1.3) saturate(1.15); } }
.brand:hover svg.blogo.live .pi, .mpill5:hover svg.blogo.live .pi { animation: lgGlint 1.1s ease-in-out both; animation-delay: calc(var(--i) * 40ms); }
/* footer: only start when visible (zoneIO pauses off-screen) */
.footer svg.blogo.live .pw, .footer svg.blogo.live .pi { animation-play-state: running; }
/* loaders: big, clear, responsive — icon builds in a loop, wordmark holds */
.pt-logo svg.blogo.hz, .pl-logo svg.blogo.hz { width: clamp(240px, 30vw, 420px) !important; height: auto !important; }
svg.blogo.hz.anim .pw { animation: lgWord .7s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(.25s + (var(--i) - 14) * 35ms); }
svg.blogo.hz.anim .pi { animation: lgBuild 2s cubic-bezier(.22,1,.36,1) infinite both; animation-delay: calc(var(--i) * 50ms); }
@media (prefers-reduced-motion: reduce) { svg.blogo .pi, svg.blogo .pw { animation: none !important; opacity: 1 !important; transform: none !important; } }
.pt { background: radial-gradient(55% 55% at 50% 46%, rgba(0,207,254,.16), transparent 70%), linear-gradient(160deg, #f7faff, #eaf3ff) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.pt-in { gap: clamp(18px, 2.4vw, 30px) !important; }
.pt .pt-logo { position: static !important; opacity: 1 !important; filter: drop-shadow(0 18px 34px rgba(5,167,241,.25)); }
.pt .pt-bar { display: block !important; width: clamp(150px, 16vw, 240px) !important; height: 4px !important; background: rgba(5,167,241,.15) !important; }
.pt .pt-bar i { transform: none !important; width: 38%; background: linear-gradient(90deg, #05a7f1, #00cffe) !important; animation: ptBarR 1.1s ease-in-out infinite !important; }
/* v14 home works → why → process: one clean wave per transition */
#featured-bands .wband.last { padding-bottom: calc(clamp(56px, 5vw, 90px) + clamp(90px, 8vw, 130px)) !important; }
.fw-sec + .has-sdiv > .sdiv { display: none; }
.fw-sec + .has-sdiv { padding-top: clamp(56px, 6vw, 96px); }
.sdiv-c .s1 path { fill: #5cd9f7 !important; fill-opacity: .16 !important; } .sdiv-c .s2 path { fill: #2f6fe8 !important; fill-opacity: .09 !important; }
.sdiv-c .cr { stroke: rgba(5,167,241,.55) !important; filter: none !important; }
.sdiv-c { height: clamp(56px, 5vw, 86px) !important; }
/* v14 mobile explorer: centred, wrapping chips — no hidden items, no sideways scrolling */
@media (max-width: 900px) {
  .svx-list { flex-direction: row !important; flex-wrap: wrap !important; justify-content: center !important; overflow: visible !important; margin-inline: 0 !important; padding: 6px !important; gap: 6px !important; -webkit-mask-image: none !important; mask-image: none !important; }
  .svx-hint { display: none !important; }
  .svx-item { flex: none !important; width: auto !important; }
  .svx-list { width: 100% !important; max-width: none !important; justify-self: stretch !important; }
}
@media (max-width: 900px) {
  .svx { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "head" "list" "stage" "card" "btns" "feats" !important; }
  .svx-glider { right: auto !important; left: 0 !important; top: 0 !important; }
  .svx-card, .svx-btns, .svx-feats { width: 100%; max-width: 640px; justify-self: center; }
}

/* v14 gallery: smaller, realistic devices */
.gal-view .dv-lap { width: min(600px, 84%); }
.gal-view .dv-ph { width: clamp(160px, 15vw, 220px); border-width: 8px; border-radius: 34px; }
.gal-view .dv-ph .nt { top: 7px; height: 14px; }
.gal2 .gal-stage { display: grid; place-items: center; min-height: clamp(300px, 34vw, 520px); }
@media (max-width: 900px) {
  .gal2 .gal-thumbs { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important; }
  .gal2 .gal-th { grid-template-columns: 1fr !important; justify-items: center; text-align: center; min-width: 0; }
  .gal2 .gal-th .th-t { justify-items: center; min-width: 0; max-width: 100%; }
  .gal2 .gal-th .th-t b { overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .gal-view .dv-lap { width: 100%; }
  .gal-view .dv-ph { width: clamp(140px, 38vw, 170px); border-radius: 28px; }
  .gal2 .gal-stage { min-height: 0; }
}
.wf-glider { bottom: auto !important; top: 0 !important; }
@media (max-width: 640px) {
  .wf-track { flex-wrap: wrap; justify-content: center; overflow: visible; border-radius: 26px; max-width: calc(100% - 16px); }
  .wf-btn:not(.on) { width: 40px; height: 40px; }
  .wf-btn.on { height: 40px; }
}
@media (max-width: 640px) {
  .wfilter { width: 100% !important; max-width: none !important; padding-inline: 8px !important; }
  .wf-track { flex-wrap: nowrap !important; max-width: 100% !important; gap: 2px; padding: 5px; border-radius: 999px; }
  .wf-btn:not(.on) { width: 38px !important; height: 38px !important; }
  .wf-btn.on { height: 38px !important; padding-inline: 12px !important; gap: 6px; }
}
@media (max-width: 374px) {
  .wf-btn:not(.on) { width: 34px !important; height: 34px !important; }
  .wf-btn.on { height: 34px !important; padding-inline: 10px !important; } .wf-btn.on em { display: none; }
  .wf-btn svg { width: 15px; height: 15px; }
}
/* v14 a11y: visible focus everywhere, comfortable tap targets */
:where(a, button, [role="tab"], summary, .hx, .st):focus-visible { outline: 2.5px solid #05a7f1; outline-offset: 3px; border-radius: 12px; }
.dx-sec .hx:focus-visible { outline-color: #00cffe; }
.fw-dots button { position: relative; } .fw-dots button::after { content: ""; position: absolute; inset: -10px -6px; }
.footer-grid a { display: inline-block; padding-block: 5px; }
.dx-steps .st { min-height: 40px; }
summary { cursor: pointer; } .faq summary:hover, details summary:hover { color: var(--blue-600, #1f56d6); }

/* =====================================================================
   v15 — loader & page transition (shared .ld stage)
   circle wipe from the click point → logo assembles inside a tech frame
   → shine sweep + progress → circle reveal on the next page
   ===================================================================== */
.preloader, .pt { position: fixed !important; inset: 0 !important; z-index: 1000 !important; display: block !important; pointer-events: none;
  background: radial-gradient(70% 60% at 50% 45%, #ffffff 0%, #f1f7ff 55%, #e3efff 100%) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; opacity: 1 !important; }
.pt { z-index: 900 !important; visibility: hidden; clip-path: circle(0px at var(--cx, 50%) var(--cy, 50%)); transition: clip-path .6s cubic-bezier(.7,0,.25,1), visibility 0s .6s !important; }
.pt.out { visibility: visible; pointer-events: auto; clip-path: circle(150vmax at var(--cx, 50%) var(--cy, 50%)); transition: clip-path .62s cubic-bezier(.7,0,.25,1) !important; }
html.pt-cover .pt { visibility: visible; clip-path: circle(150vmax at 50% 50%); transition: none !important; }
.pt.in { visibility: visible; clip-path: circle(0px at 50% 46%); transition: clip-path .75s cubic-bezier(.7,0,.25,1), visibility 0s .76s !important; }
.preloader { clip-path: circle(150vmax at 50% 50%); transition: clip-path .85s cubic-bezier(.7,0,.25,1) !important; }
.preloader.done { clip-path: circle(0px at 50% 46%) !important; }
.pt > span, .pt-in, .pl-inner { display: none !important; }

.ld { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: clamp(20px, 3vh, 34px); overflow: hidden; }
.ld-grid { position: absolute; inset: -10%; background-image: radial-gradient(rgba(5,167,241,.28) 1.2px, transparent 1.3px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(closest-side at 50% 48%, #000, transparent); mask-image: radial-gradient(closest-side at 50% 48%, #000, transparent); animation: ldGrid 12s linear infinite; }
@keyframes ldGrid { to { transform: translate3d(26px, 26px, 0); } }
.ld-glow { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(60px); opacity: .55; }
.ld-glow.g1 { left: -12vmax; top: -14vmax; background: radial-gradient(closest-side, rgba(0,207,254,.55), transparent); animation: ldDrift 7s ease-in-out infinite alternate; }
.ld-glow.g2 { right: -14vmax; bottom: -16vmax; background: radial-gradient(closest-side, rgba(5,120,241,.45), transparent); animation: ldDrift 8s ease-in-out infinite alternate-reverse; }
@keyframes ldDrift { to { transform: translate3d(6vmax, 4vmax, 0) scale(1.1); } }

/* tech frame */
.ld-box { position: relative; padding: clamp(22px, 3.4vw, 40px) clamp(28px, 4.4vw, 56px); }
.ld-c { position: absolute; width: clamp(18px, 2.2vw, 28px); height: clamp(18px, 2.2vw, 28px); border: 2.5px solid #05a7f1; opacity: 0; animation: ldCorner .7s cubic-bezier(.22,1,.36,1) .15s forwards; }
.ld-c.c1 { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; --dx: 18px; --dy: 18px; }
.ld-c.c2 { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; --dx: -18px; --dy: 18px; }
.ld-c.c3 { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; --dx: 18px; --dy: -18px; }
.ld-c.c4 { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; --dx: -18px; --dy: -18px; }
@keyframes ldCorner { from { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.6); } to { opacity: 1; transform: none; } }
.ld-scan { position: absolute; left: 8%; right: 8%; top: 10%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #00cffe, transparent); box-shadow: 0 0 14px #00cffe; opacity: 0; animation: ldScan 1.9s ease-in-out .5s infinite; }
@keyframes ldScan { 0% { top: 10%; opacity: 0; } 15% { opacity: .9; } 85% { opacity: .9; } 100% { top: 88%; opacity: 0; } }

/* logo: assemble once, shine sweeps */
.ld-logo { position: relative; width: clamp(230px, 30vw, 440px); filter: drop-shadow(0 18px 34px rgba(5,120,241,.22)); }
.ld-logo svg.blogo { width: 100% !important; height: auto !important; }
svg.blogo.ldl .pi { animation: ldPi .8s cubic-bezier(.22,1,.36,1) both, lgGlint 2.6s ease-in-out infinite; animation-delay: calc(.25s + var(--i) * 45ms), calc(1.5s + var(--i) * 60ms); }
@keyframes ldPi { from { opacity: 0; transform: translate(-30%, 40%) rotate(-12deg) scale(.4); } to { opacity: 1; transform: none; } }
svg.blogo.ldl .pw { animation: ldPw .7s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(.6s + (var(--i) - 14) * 40ms); }
@keyframes ldPw { from { opacity: 0; transform: translateX(18%); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.ld-shine { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.95) 48%, rgba(160,240,255,.9) 52%, transparent 65%) 200% 0 / 250% 100% no-repeat;
  -webkit-mask: url(../img/brand/cipher-horizontal-light.svg) center / contain no-repeat; mask: url(../img/brand/cipher-horizontal-light.svg) center / contain no-repeat;
  animation: ldShine 2.6s ease-in-out 1.2s infinite; }
@keyframes ldShine { 0% { background-position: 200% 0; } 55%, 100% { background-position: -120% 0; } }

/* progress */
.ld-meta { display: flex; align-items: center; gap: 14px; direction: ltr; opacity: 0; animation: ldFade .5s ease .5s forwards; }
@keyframes ldFade { to { opacity: 1; } }
.ld-bar { position: relative; width: clamp(150px, 16vw, 240px); height: 4px; border-radius: 4px; background: rgba(5,167,241,.14); overflow: hidden; }
.ld-bar i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #05a7f1, #00cffe); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; box-shadow: 0 0 10px #00cffe; }
.ld-pct { min-width: 4ch; font: 600 13px/1 var(--font-mono, monospace); color: #021b39; letter-spacing: .06em; }
.pt:not(.out):not(.in) .ld *, html:not(.pt-cover) .pt:not(.out) .ld * { animation-play-state: paused; }
html.pt-cover .pt .ld *, .pt.out .ld * { animation-play-state: running; }
@media (prefers-reduced-motion: reduce) { .ld *, .ld svg path { animation: none !important; opacity: 1 !important; transform: none !important; } }
/* arriving page: logo already assembled, only the reveal plays */
html.pt-cover .pt svg.blogo.ldl .pi, .pt.in svg.blogo.ldl .pi { animation: lgGlint 2.6s ease-in-out infinite !important; opacity: 1; }
html.pt-cover .pt svg.blogo.ldl .pw, .pt.in svg.blogo.ldl .pw { animation: none !important; opacity: 1; }
html.pt-cover .pt .ld-c, .pt.in .ld-c, html.pt-cover .pt .ld-meta, .pt.in .ld-meta { animation: none !important; opacity: 1; }
.pt.in .ld-box { transition: transform .7s cubic-bezier(.7,0,.25,1), opacity .5s; transform: scale(.92); opacity: 0; }
.pt .ld-c, .pt .ld-meta { animation: none !important; opacity: 1 !important; }

/* =====================================================================
   v15 — home services explorer on phone & tablet (≤900px)
   tile picker (no sliding glider) → one panel: scene on top, service text
   directly under it, both visible together → actions → features
   ===================================================================== */
@media (max-width: 900px) {
  .svx { grid-template-areas: "head" "list" "stage" "card" "btns" "feats" !important; row-gap: 0 !important; }
  .svx-head { margin-bottom: 18px !important; }
  /* picker: equal tiles, centred, active tile filled — nothing slides, nothing jumps */
  .svx-glider { display: none !important; }
  .svx-list { display: grid !important; grid-template-columns: repeat(5, 52px); justify-content: center !important; gap: 8px !important; padding: 0 !important; margin: 0 0 18px !important; background: none !important; box-shadow: none !important; }
  .svx-item { width: 52px !important; height: 52px !important; min-height: 0 !important; padding: 0 !important; justify-content: center !important; border-radius: 16px !important;
    background: #fff !important; border: 1px solid rgba(5,167,241,.18) !important; box-shadow: 0 8px 18px -12px rgba(2,27,57,.35) !important; transition: transform .25s, background .3s, box-shadow .3s !important; }
  .svx-item .tx, .svx-item .pr { display: none !important; }
  .svx-item .ic { width: 34px !important; height: 34px !important; margin: 0 !important; background: transparent !important; color: #05a7f1 !important; }
  .svx-item .ic svg { width: 22px; height: 22px; }
  .svx-item.active { background: linear-gradient(145deg, #05a7f1, #021b39 115%) !important; border-color: transparent !important; transform: translateY(-3px); box-shadow: 0 14px 24px -12px rgba(5,120,241,.75), 0 0 0 4px rgba(0,207,254,.16) !important; }
  .svx-item.active .ic { color: #fff !important; }
  .svx-item:active { transform: scale(.94); }
  /* stage + card = one panel */
  .svx .svx-stage.sx { grid-area: stage !important; width: 100% !important; max-width: 560px !important; justify-self: center !important; aspect-ratio: 1 / .66 !important; margin: 0 !important; overflow: hidden !important;
    border-radius: 28px 28px 0 0; background: radial-gradient(80% 90% at 50% 100%, rgba(0,207,254,.22), transparent 70%), linear-gradient(180deg, #eef6ff, #ffffff) !important;
    border: 1px solid rgba(5,167,241,.16); border-bottom: 0; }
  .svx-stage.sx::before { display: none !important; }
  .svx-stage.sx > .sx-world, .svx-stage.sx > .sx-floor, .svx-stage.sx > .sx-light, .svx-stage.sx > .sx-links { scale: .8; transform-origin: 50% 46%; }
  .svx-card { grid-area: card !important; width: 100% !important; max-width: 560px !important; justify-self: center !important; min-height: 0 !important; margin: 0 !important;
    border-radius: 0 0 28px 28px !important; border: 1px solid rgba(5,167,241,.16) !important; border-top: 0 !important; background: #fff !important;
    box-shadow: 0 30px 50px -36px rgba(2,27,57,.45) !important; padding: 4px 20px 20px !important; display: grid; gap: 10px; }
  .svx-card .pill { justify-self: start; font-size: 12.5px; }
  .svx-card h3 { font-size: clamp(22px, 6vw, 28px) !important; line-height: 1.3; margin: 0 !important; }
  .svx-card p { font-size: 15px; line-height: 1.85; margin: 0; }
  .svx-card .svx-mini { display: flex !important; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
  .svx-card .svx-mini li { font-size: 12.5px; padding: 5px 10px; border-radius: 999px; background: #eef6ff; color: #021b39; }
  .svx-btns { grid-area: btns !important; width: 100%; max-width: 560px; justify-self: center; display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; margin: 14px 0 0 !important; }
  .svx-btns .btn { width: 100%; justify-content: center; padding-inline: 10px; font-size: 14.5px; }
  .svx-feats { grid-area: feats !important; margin-top: 16px !important; }
}
@media (max-width: 360px) { .svx-list { grid-template-columns: repeat(5, 48px); gap: 6px !important; } .svx-item { width: 48px !important; height: 48px !important; } }
/* v15 footer social buttons */
.footer .socials { gap: 12px; margin-top: 24px; }
.footer .socials a { position: relative; width: 50px; height: 50px; border-radius: 16px; color: #00cffe; background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid rgba(0,207,254,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 22px -14px rgba(0,207,254,.6); overflow: hidden; transition: transform .3s cubic-bezier(.22,1,.36,1), color .3s, box-shadow .3s, border-color .3s; }
.footer .socials a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, #05a7f1, #00cffe); opacity: 0; transition: opacity .3s; }
.footer .socials a svg { position: relative; width: 22px; height: 22px; }
.footer .socials a:hover, .footer .socials a:focus-visible { color: #fff; transform: translateY(-4px); border-color: transparent; box-shadow: 0 16px 28px -14px rgba(0,207,254,.9); }
.footer .socials a:hover::before, .footer .socials a:focus-visible::before { opacity: 1; }
.footer .socials a:active { transform: scale(.94); }
