/* Vectro Consulting — design system derived from the periwinkle / lavender 3D-glow logo */
/* Self-hosted variable fonts (SIL Open Font License 1.1), latin subset */
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/space-grotesk-latin.a0d054c4af.woff2) format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url(/assets/dm-sans-latin.aa530716b0.woff2) format("woff2"); }

:root {
  --bg: #070816;
  --bg-2: #0c0f2b;
  --bg-3: #12163a;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(160, 172, 255, 0.14);
  --line-2: rgba(160, 172, 255, 0.28);
  --text: #eceeff;
  --muted: #a7add8;
  --dim: #7d84b6;
  --brand: #8f9af5;      /* logo core periwinkle */
  --brand-2: #b7c4f8;    /* logo highlight */
  --brand-3: #6a72e6;    /* logo shadow */
  --lav: #c6b8ff;        /* lavender accent */
  --ok: #6ee7b7;
  --grad: linear-gradient(120deg, #c7d2fe 0%, #8f9af5 40%, #b7a6ff 70%, #c7d2fe 100%);
  --grad-btn: linear-gradient(135deg, #9aa5f8 0%, #6f78ea 55%, #8a7cf0 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(80, 90, 230, 0.35);
  --font-head: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.65 var(--font-body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { /* subtle grain + vignette */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(127, 140, 242, 0.14), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(183, 166, 255, 0.07), transparent 60%),
    var(--bg);
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 0.5em; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3, .h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(143, 154, 245, 0.4); color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.mt { margin-top: 1.6rem; }
.mt-lg { margin-top: 3rem; }
.pt-0 { padding-top: 0 !important; }
.grad { background: var(--grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: 200% center; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5em; flex-wrap: wrap;
  font: 600 0.78rem/1.3 var(--font-head); letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-2);
  margin-bottom: 1rem;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 64ch; }
.center .lead, .section-head.center .lead { margin-inline: auto; }
.fine { font-size: 0.88rem; color: var(--dim); }

/* Skip link + progress */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-btn); z-index: 60; }

/* Buttons */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  padding: 0.78em 1.3em; border-radius: 999px; border: 1px solid transparent;
  font: 600 0.95rem/1.1 var(--font-head); letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  transform: translate(var(--mx), var(--my)); white-space: nowrap;
}
.btn .ico { transition: transform 0.25s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn-lg { padding: 1em 1.6em; font-size: 1rem; }
.btn-primary { background: var(--grad-btn); color: #0a0c22; box-shadow: 0 10px 30px -10px rgba(127, 140, 242, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-primary:hover { color: #05061a; box-shadow: 0 16px 44px -12px rgba(143, 154, 245, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--brand); background: var(--surface-2); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.btn-row.center { justify-content: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(7, 8, 22, 0.78); backdrop-filter: saturate(140%) blur(16px); -webkit-backdrop-filter: saturate(140%) blur(16px); border-color: var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; filter: drop-shadow(0 0 10px rgba(143, 154, 245, 0.55)); transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-word { width: 117px; height: 28px; }
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > ul { display: flex; gap: 6px; align-items: center; }
.main-nav > ul > li { position: relative; display: flex; align-items: center; }
.main-nav > ul > li > a { color: var(--muted); text-decoration: none; font: 500 0.96rem var(--font-head); padding: 10px 12px; border-radius: 10px; transition: color 0.2s ease, background-color 0.2s ease; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a[aria-current="page"] { color: #fff; background: var(--surface-2); }
.mega-toggle { background: none; border: 0; color: var(--muted); padding: 6px 4px; margin-left: -8px; cursor: pointer; border-radius: 6px; }
.mega-toggle .ico { width: 14px; height: 14px; transition: transform 0.25s ease; }
.has-mega.open .mega-toggle .ico { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; width: min(720px, 92vw);
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  background: rgba(14, 17, 46, 0.96); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8), var(--shadow);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  backdrop-filter: blur(20px);
}
.mega::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.has-mega:hover .mega, .has-mega.open .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega-grid a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--text); transition: background-color 0.2s ease; }
.mega-grid a:hover { background: var(--surface-2); }
.mega-grid .ico { width: 22px; height: 22px; color: var(--brand); margin-top: 2px; }
.mega-grid strong { display: block; font: 600 0.95rem/1.3 var(--font-head); }
.mega-grid small { color: var(--dim); font-size: 0.83rem; }
.mega-foot { display: flex; align-items: center; justify-content: flex-end; gap: 6px; padding: 10px 12px 4px; font: 600 0.88rem var(--font-head); text-decoration: none; }
.mm-badge { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, rgba(143,154,245,.35), rgba(198,184,255,.15)); border: 1px solid var(--line-2); font: 700 0.75rem var(--font-head); color: #fff; }
.nav-burger { display: none; background: var(--surface); border: 1px solid var(--line-2); color: var(--text); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; place-items: center; }
.nav-burger .ico { width: 22px; height: 22px; }
.nav-burger .ico-close { display: none; }
.nav-open .nav-burger .ico-open { display: none; }
.nav-open .nav-burger .ico-close { display: block; }

@media (max-width: 960px) {
  .nav-burger { display: grid; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 16px;
    background: rgba(7, 8, 22, 0.98); padding: 20px var(--gutter) 40px; overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: rgba(7, 8, 22, 0.98); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav > ul > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { font-size: 1.15rem; padding: 14px 4px; flex: 1; }
  .mega-toggle { padding: 12px; margin: 0; }
  .mega { position: static; transform: none; width: 100%; display: none; opacity: 1; visibility: visible; pointer-events: auto; box-shadow: none; background: transparent; border: 0; padding: 0 0 12px; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { transform: none; }
  .has-mega.open .mega { display: block; }
  .mega-grid { grid-template-columns: 1fr; }
  .nav-cta { align-self: stretch; }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(18, 22, 58, 0.55) 12%, rgba(18, 22, 58, 0.55) 88%, transparent); }
.section-head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.stack { display: grid; gap: 24px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.two-col.tight { gap: 16px; margin-top: 1rem; }
@media (max-width: 1080px) { .grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3, .grid-5, .two-col { grid-template-columns: 1fr; } }

/* Cards */
.card {
  --rx: 0deg; --ry: 0deg; --px: 50%; --py: 50%;
  position: relative; background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px);
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(.2,.8,.2,1), box-shadow 0.35s ease;
  isolation: isolate;
}
.card::after { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity 0.3s ease;
  background: radial-gradient(420px circle at var(--px) var(--py), rgba(143, 154, 245, 0.16), transparent 45%);
}
.card:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.card:hover::after { opacity: 1; }
.tilt { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; }
.card-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff;
  background: linear-gradient(140deg, rgba(154,165,248,.55), rgba(111,120,234,.25)); border: 1px solid rgba(183,196,248,.35);
  box-shadow: 0 10px 30px -10px rgba(127,140,242,.9), inset 0 1px 0 rgba(255,255,255,.3); }
.card-ico .ico { width: 26px; height: 26px; }
.card h3 a, .card h2 a { color: var(--text); text-decoration: none; }
.stretched::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card-kicker { color: var(--brand-2); font: 500 0.92rem var(--font-head); margin-top: -0.2em; }
.card p { color: var(--muted); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--brand-2); font: 600 0.92rem var(--font-head); }
.card:hover .card-link .ico { transform: translateX(4px); }
.card-link .ico { transition: transform 0.25s ease; }
.ticks { display: grid; gap: 8px; margin: 1rem 0 0.5rem; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 0.95rem; }
.ticks .ico { color: var(--ok); margin-top: 4px; width: 16px; height: 16px; }
.ticks.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 680px) { .ticks.cols-2 { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 0.8rem; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 0.9rem; color: var(--text); transition: border-color .2s ease, transform .2s ease; }
.chips li:hover { border-color: var(--brand); transform: translateY(-2px); }
.pill { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; padding: 4px 10px; border-radius: 999px; font: 600 0.7rem/1 var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--muted); }
.pill-live { color: var(--ok); border-color: rgba(110, 231, 183, 0.35); }
.pill-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(110,231,183,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(110,231,183,0); } 100% { box-shadow: 0 0 0 0 rgba(110,231,183,0); } }

/* Hero */
.hero { position: relative; padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 6vw, 80px); overflow: hidden; min-height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.85; }
.hero-aurora { position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; z-index: 0;
  background:
    radial-gradient(40% 50% at 75% 30%, rgba(127, 140, 242, 0.32), transparent 70%),
    radial-gradient(30% 40% at 20% 70%, rgba(183, 166, 255, 0.16), transparent 70%),
    radial-gradient(25% 30% at 55% 10%, rgba(183, 196, 248, 0.12), transparent 70%);
  filter: blur(20px); animation: aurora 18s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-3%, 2%, 0) scale(1.05); } 100% { transform: translate3d(2%, -2%, 0) scale(1.02); } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); max-width: 16ch; }
.hero-rot { font: 500 clamp(1.1rem, 1.8vw, 1.4rem)/1.4 var(--font-head); color: var(--text); display: flex; flex-wrap: wrap; gap: 0.35em; align-items: baseline; }
.rot { position: relative; display: inline-grid; color: var(--brand-2); min-width: 14ch; }
.rot-item { grid-area: 1 / 1; opacity: 0; transform: translateY(0.6em); transition: opacity 0.5s ease, transform 0.5s ease; white-space: nowrap; }
.rot-item.on { opacity: 1; transform: none; }
.rot-item.off { opacity: 0; transform: translateY(-0.6em); }
.hero-mark { position: relative; aspect-ratio: 1; width: 100%; max-width: 440px; justify-self: center; display: grid; place-items: center; }
.mark-img { width: 44%; height: auto; position: relative; z-index: 2; filter: drop-shadow(0 0 24px rgba(143, 154, 245, 0.8)) drop-shadow(0 0 60px rgba(127, 140, 242, 0.5)); animation: floaty 6s ease-in-out infinite; }
.mark-glow { position: absolute; width: 60%; height: 60%; border-radius: 50%; background: radial-gradient(circle, rgba(143,154,245,.55), rgba(143,154,245,0) 65%); filter: blur(10px); animation: pulse 5s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(-8px) rotate(-2deg); } 50% { transform: translateY(10px) rotate(2deg); } }
@keyframes pulse { 0%, 100% { transform: scale(0.92); opacity: .8; } 50% { transform: scale(1.08); opacity: 1; } }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(183, 196, 248, 0.22); animation: spin linear infinite; }
.orbit i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 16px 4px rgba(143,154,245,.8); }
.o1 { inset: 14%; animation-duration: 14s; }
.o2 { inset: 4%; animation-duration: 22s; animation-direction: reverse; border-style: dashed; border-color: rgba(198,184,255,.18); }
.o2 i { background: var(--lav); }
.o3 { inset: -6%; animation-duration: 34s; border-color: rgba(143,154,245,.1); }
@keyframes spin { to { transform: rotate(360deg); } }
.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font: 600 0.8rem var(--font-head); color: var(--text); background: rgba(14,17,46,.75); border: 1px solid var(--line-2); backdrop-filter: blur(10px); box-shadow: var(--shadow); animation: floaty 7s ease-in-out infinite; white-space: nowrap; }
.float-chip .ico { color: var(--brand-2); }
.c1 { top: 10%; left: -6%; animation-delay: -1s; }
.c2 { bottom: 16%; right: -4%; animation-delay: -3s; }
.c3 { bottom: 2%; left: 8%; animation-delay: -5s; }
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(40px, 6vw, 72px); background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: rgba(10, 12, 34, 0.85); padding: 22px 24px; backdrop-filter: blur(10px); }
.stat b { display: block; font: 700 clamp(1.8rem, 3vw, 2.5rem)/1.1 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { max-width: 300px; order: -1; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .c1 { left: -10%; } .c2 { right: -10%; }
}
@media (max-width: 480px) { .float-chip { font-size: 0.7rem; padding: 6px 10px; } .c1 { left: -4%; } .c2 { right: -4%; } .rot { min-width: 0; } .rot-item { white-space: normal; } }

/* Page hero */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(32px, 5vw, 64px)) 0 clamp(48px, 6vw, 80px); margin-top: calc(-1 * var(--header-h)); }
.page-hero > .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 20ch; }
.hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero-split { grid-template-columns: 1fr; } }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.85rem; color: var(--dim); margin-bottom: 1.4rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }
.jump a { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 0.9rem; transition: border-color .2s, transform .2s; }
.jump a:hover { border-color: var(--brand); transform: translateY(-2px); }
.jump .ico { color: var(--brand); }
.img-frame { border-radius: calc(var(--radius) + 6px); overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow); position: relative; }
.img-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7,8,22,.6)), linear-gradient(120deg, rgba(127,140,242,.25), transparent 50%); }
.img-frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.center-hero { min-height: 70vh; display: grid; place-items: center; }
.big-404 { font: 700 clamp(6rem, 20vw, 12rem)/1 var(--font-head); margin: 0; }
.check-burst { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); color: #0a0c22; box-shadow: 0 0 0 0 rgba(143,154,245,.6); animation: burst 2.4s ease-out infinite; }
.check-burst .ico { width: 44px; height: 44px; stroke-width: 2.5; }
@keyframes burst { 0% { box-shadow: 0 0 0 0 rgba(143,154,245,.6); } 100% { box-shadow: 0 0 0 36px rgba(143,154,245,0); } }

/* Metrics */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.4rem 0; }
.metrics li { padding: 18px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.metrics b { display: block; font: 700 clamp(1.4rem, 2.4vw, 1.9rem)/1.15 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metrics li > span { color: var(--muted); font-size: 0.9rem; }
.metrics-hero { grid-template-columns: 1fr; gap: 14px; }
.metrics-hero li { padding: 24px 28px; backdrop-filter: blur(10px); background: rgba(14,17,46,.6); }
.metrics-hero b { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.facts { grid-template-columns: repeat(4, 1fr); margin-top: clamp(32px, 5vw, 56px); }
@media (max-width: 760px) { .metrics, .facts { grid-template-columns: 1fr 1fr; } }

/* Marquee */
.marquee { display: flex; overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; background: rgba(12, 15, 43, 0.6); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; flex: none; gap: 40px; padding-right: 40px; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee li { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: var(--muted); font: 500 1rem var(--font-head); }
.marquee .ico { color: var(--brand); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Steps */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps-line { position: absolute; top: 28px; left: 4%; right: 4%; height: 2px; background: var(--line); overflow: hidden; }
.steps-line::after { content: ""; position: absolute; inset: 0; background: var(--grad-btn); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2,.8,.2,1); }
.steps.in .steps-line::after { transform: scaleX(1); }
.step { position: relative; padding-top: 0; }
.step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 18px; font: 700 1rem var(--font-head); color: #fff; background: var(--bg-3); border: 1px solid var(--line-2); box-shadow: 0 0 0 6px var(--bg), 0 0 30px -4px rgba(143,154,245,.7); }
.step p { color: var(--muted); }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
  .steps-line { top: 0; bottom: 0; left: 27px; right: auto; width: 2px; height: auto; }
  .steps-line::after { transform-origin: 50% 0; transform: scaleY(0); }
  .steps.in .steps-line::after { transform: scaleY(1); }
  .step { padding-left: 76px; min-height: 56px; }
  .step-n { position: absolute; left: 0; top: 0; }
}

/* Products */
.prod-list { display: grid; gap: clamp(64px, 9vw, 120px); }
.prod-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.prod-row.flip .prod-copy { order: 2; }
.prod-row h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.prod-headline { font: 500 clamp(1.1rem, 1.6vw, 1.3rem)/1.4 var(--font-head); color: var(--brand-2); }
.prod-headline.big { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
.prod-copy > p:not(.eyebrow):not(.prod-headline) { color: var(--muted); }
@media (max-width: 960px) { .prod-row { grid-template-columns: 1fr; } .prod-row.flip .prod-copy { order: 0; } }
.device { border-radius: 16px; overflow: hidden; background: #0d1030; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -40px rgba(80, 90, 230, 0.55), 0 0 0 1px rgba(255,255,255,.03); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.prod-row:hover .device, .prod-card:hover .device { transform: translateY(-6px); }
.device-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--line); }
.device-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.device-bar i:first-child { background: #f87171; } .device-bar i:nth-child(2) { background: #fbbf24; } .device-bar i:nth-child(3) { background: #34d399; }
.device-bar span { margin-left: 10px; font: 500 0.75rem var(--font-head); color: var(--dim); }
.shot img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.shot-code { aspect-ratio: 16/10; padding: clamp(16px, 3vw, 32px); background: radial-gradient(80% 80% at 80% 0%, rgba(127,140,242,.25), transparent 60%), #0a0c24; display: flex; align-items: center; }
.shot-code pre { margin: 0; font: 500 clamp(0.7rem, 1.1vw, 0.9rem)/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; color: #dfe3ff; white-space: pre-wrap; }
.shot-code .k { color: var(--lav); } .shot-code .s { color: #86efac; } .shot-code .c { color: var(--dim); }
.caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -0.2em; background: var(--brand-2); margin-left: 2px; animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: 0; } }
.signals { display: grid; gap: 14px; margin: 1.4rem 0 0.4rem; max-width: 520px; }
.signal-top { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.signal-top b { color: var(--text); font-family: var(--font-head); }
.bar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--grad-btn); box-shadow: 0 0 12px rgba(143,154,245,.8); transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.no-js .bar i { width: 80%; }
.prod-grid { align-items: stretch; }
.prod-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.prod-card .device { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); box-shadow: none; }
.prod-card-body { padding: clamp(22px, 2.6vw, 32px); }
.prod-card h2 { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 1.6rem; }
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.outcomes b { display: block; font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--font-head); margin-bottom: 6px; }
.outcomes li > span { color: var(--muted); }
@media (max-width: 760px) { .outcomes { grid-template-columns: 1fr; } }
.feat-n { font: 700 0.85rem var(--font-head); color: var(--brand); letter-spacing: .1em; display: block; margin-bottom: 14px; }
.feat h3 { margin-bottom: 0.4em; }
.mini-prod, .mini-svc { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--text); padding: 18px 20px; }
.mini-prod > .ico { margin-left: auto; color: var(--brand); transition: transform .25s; }
.mini-prod:hover > .ico { transform: translateX(4px); }
.mini-prod strong, .mini-svc strong { display: block; font: 600 1rem var(--font-head); }
.mini-prod small, .mini-svc small { color: var(--dim); font-size: 0.85rem; }
.mini-svc { flex-direction: column; align-items: flex-start; }
.mini-svc > .ico { width: 26px; height: 26px; color: var(--brand); }
.related-prod { margin-top: 32px; }
.related-prod h2 { margin-bottom: 16px; }

/* Services index */
.svc-row-head { display: flex; gap: 18px; align-items: center; margin-bottom: 1rem; }
.svc-row-head .card-ico { margin: 0; }
.svc-row-head h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.svc-row-head .card-kicker { margin: 4px 0 0; }
.svc-row-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; margin: 1.6rem 0; }
.svc-row-cols h3 { font-size: 1rem; color: var(--brand-2); text-transform: uppercase; letter-spacing: .1em; }
@media (max-width: 860px) { .svc-row-cols { grid-template-columns: 1fr; } }

/* Industries */
.ind-card { display: block; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); transition: transform .3s ease, border-color .3s ease, background-color .3s; }
.ind-card:hover { transform: translateY(-6px); border-color: var(--brand); background: var(--surface-2); color: var(--text); }
.ind-card > .ico { width: 30px; height: 30px; color: var(--brand); margin-bottom: 14px; }
.ind-card p { color: var(--muted); margin: 0; font-size: 0.95rem; }
.ind-row-head { display: flex; gap: 16px; align-items: center; margin-bottom: 0.8rem; }
.ind-row-head .card-ico { margin: 0; }
.ind-row-head h2 { margin: 0; }
.label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--dim); }
.link-list { display: grid; gap: 6px; }
.link-list a { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; font-size: 0.95rem; }
.link-list a:hover { color: var(--brand-2); }
.link-list .ico { color: var(--brand); }
.link-list .mm-badge { width: 24px; height: 24px; font-size: 0.65rem; border-radius: 7px; }

/* Why / values */
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.why-intro { position: sticky; top: calc(var(--header-h) + 24px); }
.gov > .ico { width: 28px; height: 28px; color: var(--brand); margin-bottom: 12px; }
.values { display: grid; gap: 14px; }
.value { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .3s; }
.value:hover { border-color: var(--line-2); transform: translateX(6px); }
.value-n { grid-row: span 2; font: 700 2rem/1 var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.value h3 { margin-bottom: 0.25em; }
.value p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr; } .why-intro { position: static; } }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.leader { text-align: left; }
.leader-photo { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; border: 1px solid var(--line-2); aspect-ratio: 1; }
.leader-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,8,22,.55)), linear-gradient(140deg, rgba(143,154,245,.25), transparent 45%); transition: opacity .4s; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .5s; filter: saturate(0.85); }
.leader:hover .leader-photo img { transform: scale(1.06); filter: saturate(1.05); }
.leader h3 { font-size: 1.08rem; margin-bottom: 0.2em; }
.leader-role { color: var(--brand-2); font: 500 0.9rem var(--font-head); margin-bottom: 0.5em; }
.leader p:last-child { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .3s, background-color .3s; }
.faq[open] { border-color: var(--line-2); background: var(--surface-2); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 22px; cursor: pointer; list-style: none; font: 600 1.05rem/1.35 var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform .3s; color: var(--brand); }
.faq[open] summary .ico { transform: rotate(180deg); }
.faq-a { padding: 0 22px 6px; color: var(--muted); }

/* CTA */
.cta-band { padding-block: clamp(56px, 8vw, 96px); }
.cta-inner { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 88px) clamp(20px, 5vw, 64px); border-radius: 28px; border: 1px solid var(--line-2); background: radial-gradient(120% 140% at 50% 0%, rgba(127,140,242,.28), rgba(12,15,43,.9) 60%); max-width: calc(var(--wrap) - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
.cta-inner h2 { max-width: 22ch; margin-inline: auto; }
.cta-inner p { color: var(--muted); max-width: 60ch; margin-inline: auto; }
.cta-inner > * { position: relative; z-index: 1; }
.cta-orb { position: absolute !important; z-index: 0 !important; width: 520px; height: 520px; left: 50%; top: -340px; transform: translateX(-50%); border-radius: 50%; background: conic-gradient(from 0deg, rgba(143,154,245,.0), rgba(143,154,245,.5), rgba(198,184,255,.35), rgba(143,154,245,0)); filter: blur(40px); animation: spin 16s linear infinite; }
@media (max-width: 480px) { .cta-inner .btn { white-space: normal; } }

/* Contact / forms */
.contact-split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .contact-split { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 10px; margin-top: 1rem; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 0.95rem; overflow-wrap: anywhere; }
.contact-list .ico { color: var(--brand); margin-top: 4px; }
.contact-list a { color: var(--text); text-decoration: none; }
.contact-list a:hover { color: var(--brand-2); }
.contact-list.big li { font-size: 1.05rem; }
.form-card { padding: clamp(22px, 3vw, 36px); }
.lead-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font: 500 0.9rem var(--font-head); color: var(--text); }
.opt { color: var(--dim); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(7, 8, 22, 0.6); color: var(--text); font: 400 1rem var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brand) 50%), linear-gradient(135deg, var(--brand) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--bg-2); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(143, 154, 245, 0.18); }
.field [aria-invalid="true"] { border-color: #f87171; }
.field-err { color: #fca5a5; font-size: 0.85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--dim); font-size: 0.88rem; margin: 0; }
.form-note.ok { color: var(--ok); }
.form-note.err { color: #fca5a5; }
.lead-form .btn { justify-self: start; }

/* Office + prose */
.office > .ico { width: 28px; height: 28px; color: var(--brand); margin-bottom: 10px; }
.office address { font-style: normal; color: var(--muted); }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose p { color: var(--muted); }

/* Footer */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); padding: 72px 0 28px; background: linear-gradient(180deg, rgba(12,15,43,.4), rgba(7,8,22,1)); }
.footer-glow { position: absolute; width: 800px; height: 400px; left: 50%; bottom: -260px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(127,140,242,.25), transparent); pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 0.8fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; margin-top: 1rem; max-width: 40ch; }
.site-footer h2 { font: 600 0.8rem var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; }
.site-footer nav ul, .site-footer div > ul { display: grid; gap: 8px; }
.site-footer ul a { color: var(--muted); text-decoration: none; font-size: 0.94rem; }
.site-footer ul a:hover { color: #fff; }
.office-list li { display: flex; gap: 10px; color: var(--muted); font-size: 0.88rem; }
.office-list .ico { color: var(--brand); margin-top: 3px; }
.office-list strong { color: var(--text); }
.footer-base { position: relative; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.85rem; }
.footer-base p { margin: 0; }
.to-top { color: var(--muted); text-decoration: none; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Reveal animations */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal[data-delay="1"] { --d: 1; } .js .reveal[data-delay="2"] { --d: 2; } .js .reveal[data-delay="3"] { --d: 3; } .js .reveal[data-delay="4"] { --d: 4; }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in { transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.35s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .35s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .rot-item { position: static; }
  .rot { display: inline; }
  .rot-item:not(:first-child) { display: none; }
  .rot-item:first-child { opacity: 1; transform: none; }
  .hero-canvas { display: none; }
}
@media print {
  .site-header, .hero-canvas, .marquee, .cta-band, .site-footer .footer-glow, .progress { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===== Illustrations & enhanced visuals ===== */
.ill { display: block; width: 100%; height: auto; overflow: visible; }
.ill * { transform-box: fill-box; transform-origin: center; }
.card-art { margin: -6px -6px 18px; border-radius: 14px; overflow: hidden; background: linear-gradient(180deg, rgba(20, 26, 69, 0.9), rgba(12, 15, 43, 0.6)); border: 1px solid var(--line); aspect-ratio: 5 / 3; }
.card-art .ill { height: 100%; }
.art-frame { position: relative; border-radius: calc(var(--radius) + 4px); overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(120% 120% at 80% 0%, rgba(127, 140, 242, 0.2), rgba(12, 15, 43, 0.9) 60%); box-shadow: var(--shadow); }
.map-frame { padding: clamp(8px, 2vw, 20px); }
.mb { margin-bottom: 24px; }
.hero-art { display: grid; gap: 14px; }
.metrics-row { margin: 0; }
.metrics-row li { backdrop-filter: blur(8px); }
.svc-row-top { display: grid; grid-template-columns: 1.3fr 0.9fr; gap: 28px; align-items: start; }
.svc-row-top .art-frame { aspect-ratio: 5 / 3; }
.svc-row-top .ill { height: 100%; }
@media (max-width: 860px) { .svc-row-top { grid-template-columns: 1fr; } .svc-row-top .art-frame { order: -1; } }
.global-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .global-grid { grid-template-columns: 1fr; } }

/* Hero photographic depth layer (old site's network image) */
.hero-photo { position: absolute; inset: 0; z-index: 0; opacity: 0.32; mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 75%); mask-image: radial-gradient(120% 90% at 70% 40%, #000 30%, transparent 75%); }
.hero-photo picture, .hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.js .hero-photo img { animation: kenburns 30s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.05) translate3d(0, 0, 0); } to { transform: scale(1.15) translate3d(-2%, 1%, 0); } }

/* Cursor glow (desktop) */
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(143, 154, 245, 0.12), transparent); opacity: 0; transition: opacity 0.4s ease; will-change: transform; }
.cursor-glow.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-glow { display: none; } }

/* Compliance / capability badges */
.badges-band { padding: clamp(36px, 5vw, 56px) 0; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(12, 15, 43, 0.4), rgba(20, 26, 69, 0.7), rgba(12, 15, 43, 0.4)); }
.center-block { display: flex; justify-content: center; }
.badges { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.badge { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font: 500 0.9rem/1.3 var(--font-head); color: var(--text); transition: border-color 0.3s, transform 0.3s, background-color 0.3s; }
.badge .ico { width: 22px; height: 22px; color: var(--brand-2); flex: none; }
.badge:hover { border-color: var(--brand); transform: translateY(-3px); background: var(--surface-2); }
@media (max-width: 1080px) { .badges { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .badges { grid-template-columns: 1fr 1fr; } .badge { font-size: 0.82rem; padding: 12px; } }

/* Animated gradient border on hover */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.glow-border::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 2;
  background: conic-gradient(from var(--ang), transparent 0 55%, #b7c4f8 72%, #c6b8ff 82%, transparent 95%);
  -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);
  opacity: 0; transition: opacity 0.35s ease; animation: ang 4s linear infinite; }
.glow-border:hover::before, .glow-border:focus-within::before { opacity: 1; }
.cta-inner { --ang: 0deg; }
@keyframes ang { to { --ang: 360deg; } }

/* Illustration animations: run only while visible (JS adds .play) */
.js .ill.play .ill-draw { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 1.8s cubic-bezier(.2,.8,.2,1) forwards; }
.js .ill.play .ill-draw.d2 { animation-delay: 0.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.js .ill.play .ill-pop { opacity: 0; animation: pop 0.6s cubic-bezier(.2,1.4,.4,1) forwards; }
.js .ill.play .ill-pop.p1 { animation-delay: 0.15s; } .js .ill.play .ill-pop.p2 { animation-delay: 0.3s; }
.js .ill.play .ill-pop.p3 { animation-delay: 0.45s; } .js .ill.play .ill-pop.p4 { animation-delay: 0.6s; }
.js .ill.play .ill-pop.p5 { animation-delay: 0.9s; }
@keyframes pop { from { opacity: 0; transform: scale(0.6) translateY(8px); } to { opacity: 1; transform: none; } }
.js .ill.play .ill-float { animation: illfloat 5s ease-in-out infinite; }
@keyframes illfloat { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(4px); } }
.js .ill.play .ill-breathe { animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
.js .ill.play .ill-scan { animation: scan 2.8s ease-in-out infinite alternate; }
@keyframes scan { from { transform: translateY(0); } to { transform: translateY(118px); } }
.js .ill.play .ill-meridian { animation: meridian 6s linear infinite; }
.js .ill.play .ill-meridian.m2 { animation-delay: -3s; }
@keyframes meridian { 0% { transform: scaleX(1); } 50% { transform: scaleX(0.04); } 100% { transform: scaleX(1); } }
.js .ill.play .ill-ring { animation: ring 2.4s ease-out infinite; }
.js .ill.play .ill-ring.big { animation-duration: 3s; }
@keyframes ring { from { transform: scale(1); opacity: 0.9; } to { transform: scale(2.4); opacity: 0; } }
.js .ill.play .ill-ping { animation: ring 2s ease-out infinite; }
.js .ill.play .ill-flow { animation: flow 1.6s linear infinite; }
.js .ill.play .ill-flow.f1 { animation-delay: -0.4s; } .js .ill.play .ill-flow.f2 { animation-delay: -0.8s; }
.js .ill.play .ill-flow.slow { animation-duration: 3s; }
.js .ill.play .ill-flow.rev { animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -56; } }
.js .ill.play .ill-blink { animation: blinkled 1.4s steps(2) infinite; }
.js .ill.play .ill-blink.b1 { animation-delay: -0.5s; } .js .ill.play .ill-blink.b2 { animation-delay: -0.9s; }
@keyframes blinkled { 50% { opacity: 0.2; } }
.js .ill.play .ill-grow { transform-origin: bottom; animation: grow 1s cubic-bezier(.2,.8,.2,1) both; }
.js .ill.play .ill-grow.g1 { animation-delay: 0.1s; } .js .ill.play .ill-grow.g2 { animation-delay: 0.2s; }
.js .ill.play .ill-grow.g3 { animation-delay: 0.3s; } .js .ill.play .ill-grow.g4 { animation-delay: 0.4s; }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.js .ill.play .ill-rocket { animation: illfloat 3s ease-in-out infinite; }
.js .ill.play .ill-flame { transform-origin: top; animation: flame 0.25s ease-in-out infinite alternate; }
@keyframes flame { from { transform: scaleY(0.7); } to { transform: scaleY(1.2); } }
.js .ill.play .ill-chain { animation: chain 3.2s ease-in-out infinite; }
.js .ill.play .ill-chain.c1 { animation-delay: 0.8s; } .js .ill.play .ill-chain.c2 { animation-delay: 1.6s; } .js .ill.play .ill-chain.c3 { animation-delay: 2.4s; }
@keyframes chain { 0%, 60%, 100% { opacity: 0.6; transform: none; } 20% { opacity: 1; transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  .js .hero-photo img { animation: none; }
  .cursor-glow { display: none; }
  .glow-border::before { animation: none; }
}

/* Services decision guide */
.guide h2 { display: flex; gap: 10px; align-items: center; }
.guide h2 .ico { color: var(--brand); }
.guide-list { display: grid; gap: 4px; margin-top: 1rem; }
.guide-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 4px; border-top: 1px solid var(--line); }
.guide-list li > span { color: var(--muted); font-style: italic; }
.guide-list a { display: inline-flex; align-items: center; gap: 8px; flex: none; color: var(--text); text-decoration: none; font: 600 0.95rem var(--font-head); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); transition: border-color .2s, background-color .2s; }
.guide-list a:hover { border-color: var(--brand); background: var(--surface-2); }
.guide-list a .ico { color: var(--brand); }
@media (max-width: 760px) { .guide-list li { flex-direction: column; align-items: flex-start; } .guide-list a { white-space: normal; } }
