/* ============================================================
   SYMBIOSYS TECHNOLOGIES — design system
   Dark, cinematic, glass. #050505 / #00C8FF / #7B61FF
   ============================================================ */

:root {
  --bg: #050505;
  --bg-2: #0A0A0A;
  --surface: #121212;
  --blue: #00C8FF;
  --cyan: #2AF5FF;
  --purple: #7B61FF;
  --white: #FFFFFF;
  --grey: #B8B8B8;
  --border: rgba(255, 255, 255, .08);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Satoshi", "Space Grotesk", system-ui, sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(24px, 6vw, 120px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis { height: auto; scroll-behavior: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
li { list-style: none; }
::selection { background: rgba(0, 200, 255, .35); color: #fff; }

/* subtle film grain over everything */
body::after {
  content: "";
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 9998;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -4%); }
  60% { transform: translate(-3%, -2%); }
  80% { transform: translate(4%, 2%); }
}

/* ---------- utilities ---------- */
.glass {
  background: rgba(18, 18, 18, .55);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--grey);
}

.hint {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(184, 184, 184, .55);
}

.u-link { position: relative; color: var(--grey); transition: color .35s var(--ease-out); }
.u-link::after {
  content: ""; position: absolute; left: 0; bottom: -3px;
  width: 100%; height: 1px; background: var(--cyan);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.u-link:hover { color: var(--white); text-shadow: 0 0 18px rgba(42, 245, 255, .5); }
.u-link:hover::after { transform: scaleX(1); transform-origin: left; }
/* accent variant — cyan-blue link */
.u-link--accent { color: var(--blue); }
.u-link--accent:hover { color: var(--cyan); }
html[data-theme="light"] .u-link--accent { color: #0B7C99; }
html[data-theme="light"] .u-link--accent:hover { color: #096175; text-shadow: none; }

.skip-link {
  position: fixed; top: -60px; left: 20px; z-index: 10001;
  padding: 10px 18px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; transition: top .3s;
}
.skip-link:focus { top: 16px; }

.section { position: relative; padding: clamp(110px, 16vh, 200px) var(--pad); }
.section--full { min-height: 100vh; display: flex; align-items: center; }

.section__head { margin-bottom: clamp(40px, 7vh, 90px); }
.section__title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(38px, 6vw, 88px);
  line-height: 1.04;
  letter-spacing: -.02em;
}
.section__title em { font-style: normal; color: var(--cyan); }
.section__body { max-width: 46ch; margin-top: 26px; color: var(--grey); font-size: clamp(15px, 1.2vw, 18px); }

.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.tags li {
  padding: 8px 16px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: #7DFFB2;
  border: 1px solid var(--border); border-radius: 100px;
  background: rgba(18, 18, 18, .4);
  transition: color .35s, border-color .35s, box-shadow .35s;
}
.tags li:hover { color: var(--white); border-color: rgba(42, 245, 255, .4); box-shadow: 0 0 24px rgba(0, 200, 255, .15); }

/* split-text pieces (set up by JS) */
.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; transform: translateY(110%); }
.char { display: inline-block; transform: translateY(120%); will-change: transform; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 26px;
  background: var(--bg);
}
.preloader__bar { width: min(220px, 50vw); height: 1px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.preloader__bar span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--blue), var(--purple)); transform: scaleX(0); transform-origin: left; }

/* ============================================================
   CURSOR
   ============================================================ */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; }
.cursor__dot {
  position: fixed; top: -3px; left: -3px; width: 6px; height: 6px;
  border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 12px rgba(42, 245, 255, .8);
}
.cursor__ring {
  position: fixed; top: -18px; left: -18px; width: 36px; height: 36px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28);
  transition: transform .3s var(--ease-out), border-color .3s, background .3s;
}
.cursor.is-hover .cursor__ring {
  transform: scale(1.8);
  border-color: rgba(42, 245, 255, .55);
  background: rgba(42, 245, 255, .06);
}
.cursor.is-down .cursor__ring { transform: scale(.7); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .5s, backdrop-filter .5s, padding .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  padding: 14px var(--pad);
  background: rgba(5, 5, 5, .55);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: var(--border);
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
/* brand logo image — used exactly as supplied */
.nav__logo-img { height: 78px; width: auto; display: block; }
.preloader__logo { height: 126px; width: auto; display: block; }
.footer__logo-img { height: 66px; width: auto; display: block; }
/* theme-matched logo variants: white wordmark on dark, teal on light */
.logo-on-light { display: none; }
html[data-theme="light"] .logo-on-dark { display: none; }
html[data-theme="light"] .logo-on-light { display: block; }
/* the nav floats over the dark hero at the top of the page — use the
   white logo there even in light mode; teal takes over once the nav
   gains its light glass background on scroll */
html[data-theme="light"] .nav:not(.is-scrolled) .logo-on-dark { display: block; }
html[data-theme="light"] .nav:not(.is-scrolled) .logo-on-light { display: none; }

.nav__links { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav__link {
  position: relative;
  font-family: var(--font-display); font-size: 12px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--grey);
  padding: 6px 0;
  transition: color .35s, text-shadow .35s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav__link:hover { color: var(--white); text-shadow: 0 0 16px rgba(0, 200, 255, .6); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }

/* futuristic menu button — hidden on desktop (full nav links shown
   there); visible below 720px where it is the only navigation.
   Rotating cyan→violet ring around a glowing dot-grid that morphs
   into an × while the menu is open. */
.nav__burger {
  position: relative;
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(10, 12, 16, .55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  animation: burgerpulse 3.2s ease-in-out infinite;
}
@keyframes burgerpulse {
  0%, 100% { box-shadow: 0 0 14px rgba(0, 200, 255, .18); }
  50% { box-shadow: 0 0 24px rgba(123, 97, 255, .3); }
}
.nav__burger-ring {
  position: absolute; inset: 0; border-radius: 50%;
  padding: 1.5px;
  background: conic-gradient(from 0deg,
    rgba(0, 232, 255, .9), rgba(0, 232, 255, .05) 30%,
    rgba(140, 82, 255, .9) 50%, rgba(140, 82, 255, .05) 80%,
    rgba(0, 232, 255, .9));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: burgerspin 5s linear infinite;
  pointer-events: none;
}
@keyframes burgerspin { to { transform: rotate(360deg); } }
.nav__burger-dots { position: relative; width: 16px; height: 16px; }
.nav__burger-dots i {
  position: absolute; width: 5px; height: 5px; border-radius: 3px;
  background: var(--cyan);
  box-shadow: 0 0 7px rgba(42, 245, 255, .8);
  transition: all .45s var(--ease-out);
}
.nav__burger-dots i:nth-child(1) { left: 0; top: 0; }
.nav__burger-dots i:nth-child(2) { right: 0; top: 0; background: #fff; box-shadow: 0 0 7px rgba(255, 255, 255, .6); }
.nav__burger-dots i:nth-child(3) { left: 0; bottom: 0; background: #fff; box-shadow: 0 0 7px rgba(255, 255, 255, .6); }
.nav__burger-dots i:nth-child(4) { right: 0; bottom: 0; }
/* open state: two dots stretch into an ×, two fade away */
.nav__burger.is-open .nav__burger-dots i:nth-child(1) {
  left: 0; top: 7px; width: 16px; height: 2.5px; transform: rotate(45deg);
}
.nav__burger.is-open .nav__burger-dots i:nth-child(4) {
  right: 0; bottom: 7px; width: 16px; height: 2.5px; transform: rotate(-45deg);
}
.nav__burger.is-open .nav__burger-dots i:nth-child(2),
.nav__burger.is-open .nav__burger-dots i:nth-child(3) { opacity: 0; transform: scale(0); }
/* while the menu is open the nav (logo + button) floats above it,
   so the button stays tappable as a close control */
.nav.menu-open { z-index: 980; }

/* ============================================================
   MENU (slides from right)
   ============================================================ */
.menu { position: fixed; inset: 0; z-index: 950; pointer-events: none; visibility: hidden; }
.menu.is-open { pointer-events: auto; visibility: visible; }
.menu__veil { position: absolute; inset: 0; background: rgba(5, 5, 5, .6); opacity: 0; }
.menu__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(520px, 100vw);
  background: rgba(10, 10, 10, .82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid var(--border);
  /* slide-in position is owned by the GSAP menu timeline (xPercent) —
     a CSS transform here stacks with it and strands the panel off-screen */
  overflow: hidden;
}
.menu__grid {
  position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 70% 40%, black 30%, transparent 75%);
}
.menu__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(36px, 6vw, 72px);
}
.menu__label { margin-bottom: 34px; font-size: 10px; letter-spacing: .5em; text-transform: uppercase; color: var(--grey); }
.menu__nav { display: flex; flex-direction: column; gap: 6px; }
.menu__link {
  display: flex; align-items: baseline; gap: 18px;
  padding: 10px 0;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -.01em;
  overflow: hidden;
}
.menu__link i { font-style: normal; font-size: 11px; letter-spacing: .2em; color: var(--blue); }
.menu__link span { position: relative; transition: transform .5s var(--ease-out), color .4s, text-shadow .4s; }
.menu__link:hover span { transform: translateX(14px); color: var(--cyan); text-shadow: 0 0 32px rgba(42, 245, 255, .45); }
.menu__foot { margin-top: 60px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--grey); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  /* deep plum behind the glass tunnel */
  background: #22091C;
}
/* cinematic vignette above the tunnel, below the content */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(118% 92% at 50% 46%, transparent 52%, rgba(24, 5, 19, .55) 82%, rgba(24, 5, 19, .88) 100%);
}
.hero__webgl { position: absolute; inset: 0; width: 100%; height: 100%; }

/* occasional lens-flare sweep across the glass (~2s sweep every 14s) */
.hero__flare {
  position: absolute; inset: -12%;
  z-index: 1; pointer-events: none;
  background: linear-gradient(104deg,
    transparent 43%,
    rgba(160, 205, 255, .045) 47.5%,
    rgba(235, 245, 255, .085) 50%,
    rgba(160, 205, 255, .045) 52.5%,
    transparent 57%);
  mix-blend-mode: screen;
  transform: translateX(-130%);
  animation: heroflare 14s linear infinite;
  will-change: transform;
}
@keyframes heroflare {
  0%, 80% { transform: translateX(-130%); }
  94%, 100% { transform: translateX(130%); }
}

/* moving light rays / animated gradient */
.hero__rays { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__rays i {
  position: absolute; border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  will-change: transform;
}
.hero__rays i:nth-child(1) {
  width: 55vw; height: 55vw; left: -14%; top: -22%;
  background: radial-gradient(circle, rgba(0, 200, 255, .16), transparent 66%);
  animation: raydrift1 22s ease-in-out infinite alternate;
}
.hero__rays i:nth-child(2) {
  width: 48vw; height: 48vw; right: -12%; bottom: -20%;
  background: radial-gradient(circle, rgba(123, 97, 255, .16), transparent 66%);
  animation: raydrift2 27s ease-in-out infinite alternate;
}
.hero__rays i:nth-child(3) {
  width: 30vw; height: 30vw; left: 42%; top: 52%;
  background: radial-gradient(circle, rgba(42, 245, 255, .1), transparent 66%);
  animation: raydrift3 18s ease-in-out infinite alternate;
}
@keyframes raydrift1 { to { transform: translate(11vw, 9vh) scale(1.15); } }
@keyframes raydrift2 { to { transform: translate(-9vw, -11vh) scale(1.1); } }
@keyframes raydrift3 { to { transform: translate(-7vw, -6vh) scale(1.25); } }

/* digital grid that fades in */
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.033) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 55%, black 20%, transparent 72%);
  opacity: 0;
}

.hero__content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 var(--pad);
}
/* soft glow pooled behind the headline: darkens the tunnel core for
   contrast and adds a faint ice-blue halo */
.hero__content::before {
  content: ""; position: absolute; left: 50%; top: 46%; z-index: -1;
  width: min(120vw, 1080px); height: min(64vh, 560px);
  transform: translate(-50%, -50%);
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(0, 200, 255, .09), transparent 70%),
    radial-gradient(62% 58% at 50% 50%, rgba(3, 5, 9, .66), transparent 78%);
  pointer-events: none;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: clamp(24px, 4vh, 44px);
  font-family: var(--font-display); font-size: 11px; letter-spacing: .44em; text-transform: uppercase;
  color: var(--grey);
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(42, 245, 255, .5);
  animation: dotpulse 2.4s ease-out infinite;
}
@keyframes dotpulse {
  0% { box-shadow: 0 0 0 0 rgba(42, 245, 255, .5); }
  70% { box-shadow: 0 0 0 12px rgba(42, 245, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 245, 255, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5vw, 84px);
  line-height: 1.08;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.hero__line { display: block; }
/* split-char groups wrap as whole words, never mid-word */
.hero__line > span { display: inline-block; white-space: nowrap; }
.hero__line--accent {
  background: linear-gradient(92deg, var(--blue) 0%, var(--cyan) 55%, var(--purple) 105%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* background-clip:text stops painting when descendants are transformed
   (split chars mid-animation) — clip each char to its own gradient */
.hero__line--accent .char {
  background: linear-gradient(92deg, var(--blue) 0%, var(--cyan) 55%, var(--purple) 105%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero__line--outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, .82);
}

.hero__sub {
  margin: clamp(26px, 4.6vh, 48px) auto 0;
  font-size: clamp(14px, 1.35vw, 19px);
  line-height: 1.75;
  color: var(--grey);
}
.hero__cta {
  display: flex; gap: 18px; justify-content: center; flex-wrap: wrap;
  margin-top: clamp(30px, 5.4vh, 56px);
}

/* buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 17px 36px;
  border-radius: 100px;
  font-family: var(--font-display); font-size: 12px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  overflow: hidden;
  transition: box-shadow .4s, border-color .4s, color .4s;
  will-change: transform;
}
.btn__text { position: relative; z-index: 1; }
.btn--primary { color: #031014; background: linear-gradient(92deg, var(--blue), var(--cyan)); }
.btn--primary:hover { box-shadow: 0 0 44px rgba(0, 200, 255, .45); }
.btn__fill {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(92deg, var(--cyan), var(--purple));
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.btn--primary:hover .btn__fill { opacity: 1; }
.btn--ghost { color: var(--white); border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: rgba(42, 245, 255, .6); box-shadow: 0 0 34px rgba(42, 245, 255, .18), inset 0 0 24px rgba(42, 245, 255, .05); }
.btn--wide { width: 100%; justify-content: center; }

/* hover ripple (spawned by JS) */
.btn .ripple {
  position: absolute; z-index: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .35);
  transform: scale(0);
  animation: ripple .7s var(--ease-out) forwards;
  pointer-events: none;
}
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

.hero__scrollcue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: .5em; text-transform: uppercase; color: var(--grey);
  z-index: 2;
}
.hero__scrollline { width: 1px; height: 56px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.hero__scrollline i {
  display: block; width: 100%; height: 40%;
  background: linear-gradient(var(--cyan), transparent);
  animation: scrolldrop 2.1s var(--ease-out) infinite;
}
@keyframes scrolldrop { 0% { transform: translateY(-110%); } 60%, 100% { transform: translateY(260%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--bg-2); }
.about::before {
  /* animated background grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: gridslide 26s linear infinite;
  mask-image: radial-gradient(ellipse at 20% 30%, black 25%, transparent 78%);
}
@keyframes gridslide { to { background-position: 64px 64px; } }

.about__grid {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.about__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(30px, 3.9vw, 58px);
  line-height: 1.12; letter-spacing: -.015em;
}
.about__title em { font-style: normal; color: var(--cyan); }
.about__body { margin-top: 34px; max-width: 54ch; color: var(--grey); font-size: clamp(15px, 1.2vw, 17px); }
.about__facts { display: flex; gap: clamp(28px, 4vw, 64px); margin-top: 48px; }
.about__facts div { display: flex; flex-direction: column; gap: 6px; }
.about__facts strong { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 40px); font-weight: 600; color: var(--white); }
.about__facts span { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--grey); }

.about__visual { display: flex; justify-content: center; }
.about__orb { position: relative; width: min(380px, 76vw); will-change: transform; }
.about__orb-glow {
  position: absolute; inset: 10%;
  background: radial-gradient(circle, rgba(0, 200, 255, .14), transparent 65%);
  filter: blur(30px);
  animation: glowbreathe 6s ease-in-out infinite;
}
@keyframes glowbreathe { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
.orb-ring-1, .orb-ring-2, .orb-ring-3 { transform-origin: 200px 200px; }
.orb-ring-1 { animation: ringrot1 16s linear infinite; }
.orb-ring-2 { animation: ringrot1 24s linear infinite reverse; }
.orb-ring-3 { animation: ringrot2 20s linear infinite; }
@keyframes ringrot1 { to { transform: rotate(360deg); } }
@keyframes ringrot2 { to { transform: rotate(-360deg); } }
.orb-core { animation: corepulse 3.4s ease-in-out infinite; transform-origin: 200px 200px; }
.orb-sat-1 { animation: satorbit1 9s linear infinite; }
.orb-sat-2 { animation: satorbit2 13s linear infinite; }
@keyframes satorbit1 {
  from { transform: translate(200px, 200px) rotate(0deg) translateX(150px); }
  to { transform: translate(200px, 200px) rotate(360deg) translateX(150px); }
}
@keyframes satorbit2 {
  from { transform: translate(200px, 200px) rotate(120deg) translateX(98px); }
  to { transform: translate(200px, 200px) rotate(480deg) translateX(98px); }
}

/* ============================================================
   VERTICALS — floating panels
   ============================================================ */
.verticals__field {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 22px;
}
.panel {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  padding: 38px 32px;
  border-radius: 20px;
  background: rgba(18, 18, 18, .5);
  border: 1px solid var(--border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .5s, box-shadow .5s, background .5s;
  will-change: transform;
}
.panel:hover {
  border-color: rgba(42, 245, 255, .35);
  background: rgba(20, 22, 26, .62);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5), 0 0 40px rgba(0, 200, 255, .1);
}
.panel__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 200, 255, .12), transparent 45%);
  opacity: 0; transition: opacity .45s;
}
.panel:hover .panel__glow { opacity: 1; }
.panel__icon { width: 52px; height: 52px; }
.panel__icon svg { width: 100%; height: 100%; overflow: visible; }
.pi-node { fill: var(--cyan); transition: filter .4s; }
.pi-line { stroke: rgba(255, 255, 255, .5); stroke-width: 1.4; fill: none; transition: stroke .4s; }
.panel:hover .pi-node { filter: drop-shadow(0 0 7px rgba(42, 245, 255, .9)); }
.panel:hover .pi-line { stroke: rgba(42, 245, 255, .85); }
.panel h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(21px, 1.8vw, 26px); line-height: 1.15; letter-spacing: -.01em;
}
.panel p { color: var(--grey); font-size: 14.5px; max-width: 34ch; }
.panel__cta {
  margin-top: auto; padding-top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--grey);
  opacity: 0; transform: translateY(8px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out), color .45s;
}
.panel__cta i { font-style: normal; transition: transform .4s var(--ease-out); }
.panel:hover .panel__cta { opacity: 1; transform: translateY(0); color: var(--cyan); }
.panel:hover .panel__cta i { transform: translateX(6px); }

/* light mode: futuristic holo-glass panels */
html[data-theme="light"] .panel {
  background: linear-gradient(155deg,
    rgba(255, 255, 255, .94) 0%,
    rgba(235, 248, 253, .9) 55%,
    rgba(238, 240, 255, .92) 100%);
  border: 1px solid rgba(14, 126, 150, .22);
  box-shadow:
    0 12px 34px rgba(20, 40, 70, .10),
    inset 0 1px 0 rgba(255, 255, 255, .95);
}
/* cyan→violet energy line along the top edge */
html[data-theme="light"] .panel::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #00C8FF, #7B61FF 55%, transparent 92%);
  opacity: .85;
  pointer-events: none;
}
html[data-theme="light"] .panel:hover {
  border-color: rgba(0, 168, 204, .5);
  box-shadow:
    0 18px 48px rgba(20, 40, 70, .16),
    0 0 34px rgba(0, 200, 255, .2),
    inset 0 1px 0 rgba(255, 255, 255, .98);
}
html[data-theme="light"] .panel__glow {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(0, 200, 255, .18), transparent 45%);
}
html[data-theme="light"] .pi-line { stroke: rgba(11, 100, 128, .7); }
html[data-theme="light"] .pi-node { fill: #0B7C99; }
html[data-theme="light"] .panel:hover .pi-line { stroke: #00A8CC; }
html[data-theme="light"] .panel:hover .pi-node { filter: drop-shadow(0 0 7px rgba(0, 168, 204, .8)); }
html[data-theme="light"] .panel:hover .panel__cta { color: #0B7C99; }

/* ============================================================
   AI — neural network
   ============================================================ */
.ai { background: var(--bg); overflow: hidden; }
.ai .tags { margin-top: 40px; }

/* ============================================================
   ENTERPRISE — floating dashboards
   ============================================================ */
.enterprise { background: var(--bg-2); overflow: hidden; }
.enterprise .tags { margin-top: 40px; }
.enterprise__stage {
  position: relative;
  min-height: 620px;
  perspective: 1200px;
}
.dash { position: absolute; border-radius: 18px; overflow: hidden; will-change: transform; }
.dash__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}
.dash__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.dash__bar i:first-child { background: rgba(255, 99, 99, .5); }
.dash__bar i:nth-child(2) { background: rgba(255, 200, 80, .5); }
.dash__bar i:nth-child(3) { background: rgba(90, 220, 130, .5); }
.dash__bar span { margin-left: 10px; font-family: var(--font-display); font-size: 10.5px; letter-spacing: .14em; color: var(--grey); }

.dash--main { top: 4%; left: 4%; width: min(460px, 78vw); z-index: 3; }
.dash__chartwrap { padding: 24px 20px 20px; }
.dash__chart { width: 100%; height: 130px; }
.dash__line { stroke-dasharray: 520; stroke-dashoffset: 520; filter: drop-shadow(0 0 6px rgba(42, 245, 255, .6)); }
.dash__area { opacity: 0; }
.dash__stats { display: flex; gap: 40px; margin-top: 18px; }
.dash__num { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--white); }
.dash__stats em { display: block; font-style: normal; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--grey); }

.dash--code { top: 40%; right: 4%; width: min(400px, 82vw); z-index: 4; }
.dash__code {
  padding: 20px 22px; min-height: 168px;
  font-family: "Consolas", "SF Mono", monospace;
  font-size: 12.5px; line-height: 1.75; color: #9fe8ff;
  white-space: pre-wrap; word-break: break-word;
}
.dash__code .tok-k { color: var(--purple); }
.dash__code .tok-s { color: #7dffb2; }
.dash__code .tok-f { color: var(--cyan); }
.dash__caret {
  display: inline-block; width: 7px; height: 15px; margin-left: 2px;
  background: var(--cyan); vertical-align: text-bottom;
  animation: caretblink 1s steps(2) infinite;
}
@keyframes caretblink { 50% { opacity: 0; } }

.dash--flow { bottom: 2%; left: 22%; width: min(340px, 70vw); z-index: 2; padding: 10px; }
.flow-t { font-family: var(--font-display); font-size: 9px; letter-spacing: .18em; fill: var(--grey); text-anchor: middle; }

/* ============================================================
   ENGINEERING — wireframe city
   ============================================================ */
.engineering { background: var(--bg); overflow: hidden; }
.engineering__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.engineering__blueprint {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(0, 200, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, .05) 1px, transparent 1px),
    linear-gradient(rgba(0, 200, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 255, .025) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  mask-image: linear-gradient(to top, black 20%, transparent 80%);
}
.engineering__content { position: relative; z-index: 2; max-width: 620px; }

/* engineering expertise showcase */
.engineering.section--full { flex-direction: column; justify-content: center; align-items: stretch; }
.eng__gallery {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr));
  gap: 16px;
  margin-top: clamp(40px, 6vh, 72px);
}
.eng__card {
  margin: 0; border-radius: 16px; overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .45s, box-shadow .45s;
}
.eng__card img {
  width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block;
  transition: transform .6s var(--ease-out);
}
.eng__card:hover {
  transform: translateY(-6px);
  border-color: rgba(42, 245, 255, .35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5), 0 0 30px rgba(0, 200, 255, .08);
}
.eng__card:hover img { transform: scale(1.05); }
.eng__card figcaption {
  padding: 13px 16px;
  font-family: var(--font-display); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: #7DFFB2;
  transition: color .35s;
}
.eng__card:hover figcaption { color: var(--white); }

/* ============================================================
   PUBLISHING
   ============================================================ */
.publishing { background: var(--bg-2); }
.publishing__stage {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(44px, 6vw, 100px);
  align-items: center;
}
.pub__book { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); flex-wrap: wrap; }
.pub__page {
  width: min(240px, 42vw);
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 13px;
  will-change: transform;
}
.pub__page--paper { background: rgba(255, 255, 255, .045); }
.pub__page--paper i { display: block; height: 7px; border-radius: 4px; width: 100%; background: rgba(255, 255, 255, .1); }
.pub__pagetitle {
  margin-bottom: 8px;
  font-family: var(--font-display); font-size: 10px; letter-spacing: .4em; color: var(--grey);
}
.pub__pagetitle--xml { color: var(--cyan); letter-spacing: .18em; text-transform: none; }
.pub__page--xml { background: rgba(0, 200, 255, .035); border-color: rgba(0, 200, 255, .16); }
.pub__page--xml code { font-family: "Consolas", monospace; font-size: 11.5px; line-height: 1.5; color: #8fe3ff; }
.pub__arrow { animation: arrownudge 2.2s ease-in-out infinite; }
@keyframes arrownudge { 0%, 100% { transform: translateX(0); opacity: .6; } 50% { transform: translateX(8px); opacity: 1; } }

.pub__timeline { display: flex; flex-direction: column; }
.pub__timeline li {
  position: relative;
  padding: 26px 0 26px 34px;
  border-left: 1px solid var(--border);
}
.pub__timeline li::before {
  content: ""; position: absolute; left: -5px; top: 34px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg-2);
  border: 1.5px solid var(--blue);
  box-shadow: 0 0 14px rgba(0, 200, 255, .5);
  transition: background .4s;
}
.pub__timeline li:hover::before { background: var(--cyan); }
.pub__timeline span {
  font-family: var(--font-display); font-size: 13px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase; color: #7DFFB2;
}
.pub__timeline p { margin-top: 8px; font-size: 14px; color: var(--grey); max-width: 42ch; }

/* ============================================================
   PROCESS — vertical timeline
   ============================================================ */
/* ANIMATION & VFX — reuses the qa card grid */
.vfx { background: var(--bg); }

.process { background: var(--bg-2); }
.process__list { max-width: 780px; }
.step { position: relative; display: flex; gap: clamp(24px, 4vw, 52px); }
.step__rail { position: relative; display: flex; flex-direction: column; align-items: center; width: 20px; flex-shrink: 0; }
.step__dot {
  width: 13px; height: 13px; margin-top: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--blue);
  background: var(--bg);
  box-shadow: 0 0 0 0 rgba(0, 200, 255, .4);
  transition: background .45s, box-shadow .45s;
  z-index: 1;
}
.step__line { width: 1px; flex: 1; background: var(--border); overflow: hidden; position: relative; }
.step__line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(var(--blue), var(--purple));
  transform: scaleY(0); transform-origin: top;
  transition: transform 1s var(--ease-out);
}
.step.is-active .step__dot { background: var(--cyan); box-shadow: 0 0 22px rgba(42, 245, 255, .65); }
.step.is-active .step__line::after { transform: scaleY(1); }
.step__body { padding-bottom: clamp(44px, 7vh, 84px); }
.step__body h3 {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(26px, 3vw, 42px); letter-spacing: -.015em;
  transition: color .45s, text-shadow .45s;
}
.step__body h3 i { font-style: normal; font-size: 12px; letter-spacing: .28em; color: var(--blue); }
.step__body p {
  margin-top: 12px; max-width: 52ch; color: var(--grey); font-size: 15px;
  opacity: .35; transform: translateY(6px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.step.is-active h3 { text-shadow: 0 0 34px rgba(0, 200, 255, .3); }
.step.is-active p { opacity: 1; transform: translateY(0); }
.step:last-child .step__line { display: none; }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--bg-2); overflow: hidden; }
.stats__burst { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stats__grid {
  position: relative;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 20px;
}
.stat {
  padding: clamp(30px, 4vw, 52px) 20px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(18, 18, 18, .35);
  transition: border-color .5s, box-shadow .5s, transform .5s var(--ease-out);
}
.stat:hover { border-color: rgba(0, 200, 255, .3); box-shadow: 0 0 44px rgba(0, 200, 255, .08); transform: translateY(-6px); }
.stat__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(44px, 5.4vw, 76px); line-height: 1;
  background: linear-gradient(120deg, var(--white) 30%, var(--cyan));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat__label { display: block; margin-top: 14px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--grey); }

/* ============================================================
   CLIENTS
   ============================================================ */
.clients { background: var(--bg); }
.clients__wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 16px;
}
.client {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 34px 16px;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .5s var(--ease-out), border-color .5s;
}
.client span {
  font-family: var(--font-display); font-size: 14px; font-weight: 500; letter-spacing: .3em;
  color: #7DFFB2;
  transition: color .45s, text-shadow .45s, transform .45s var(--ease-out);
}
.client::after {
  /* light sweep */
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 55%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .1), transparent);
  transform: skewX(-18deg);
  transition: left .8s var(--ease-out);
}
.client:hover { transform: scale(1.045); border-color: rgba(42, 245, 255, .3); }
.client:hover span { color: var(--white); text-shadow: 0 0 24px rgba(42, 245, 255, .45); transform: scale(1.06); }
.client:hover::after { left: 130%; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg); overflow: hidden; }
.contact__particles { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact__inner {
  position: relative; z-index: 2;
  width: 100%;
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: center;
}
.contact__meta { margin-top: 44px; display: flex; flex-direction: column; gap: 22px; font-size: 14.5px; color: var(--grey); }
.contact__meta span {
  display: block; margin-bottom: 5px;
  font-family: var(--font-display); font-size: 10px; letter-spacing: .4em; text-transform: uppercase;
  color: rgba(184, 184, 184, .5);
}

/* office map — dark-filtered to match the theme */
/* emails + half-size map side by side */
.contact__meta-row { display: flex; gap: 22px; align-items: stretch; flex-wrap: wrap; }
.contact__meta-col { display: flex; flex-direction: column; gap: 22px; flex: 1 1 220px; }
.contact__map {
  flex: 1 1 190px;
  max-width: 250px;
  min-height: 160px;
  border-radius: 14px;
  overflow: hidden;
}
@media (max-width: 560px) { .contact__map { max-width: 100%; height: 180px; } }
.contact__map iframe {
  width: 100%; height: 100%; border: 0; display: block;
  filter: invert(90%) hue-rotate(180deg) saturate(.7) brightness(.92) contrast(.92);
}
html[data-theme="light"] .contact__map iframe { filter: none; }

/* social icon buttons — glass circles matching the theme */
.social-row { display: flex; gap: 12px; margin-top: -12px; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  color: var(--grey);
  border: 1px solid var(--border);
  background: rgba(18, 18, 18, .4);
  transition: color .35s, border-color .35s, box-shadow .35s, transform .35s var(--ease-out);
}
.social-btn:hover {
  color: var(--cyan);
  border-color: rgba(42, 245, 255, .5);
  box-shadow: 0 0 22px rgba(0, 200, 255, .25);
  transform: translateY(-3px);
}
.social-btn svg { width: 18px; height: 18px; }
html[data-theme="light"] .social-btn { background: rgba(255, 255, 255, .6); color: #333E48; }
html[data-theme="light"] .social-btn:hover { color: #0B7C99; border-color: rgba(11, 124, 153, .5); box-shadow: 0 0 18px rgba(11, 124, 153, .2); }

.contact__form {
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: 22px;
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
}
.contact__form::before {
  /* glow border */
  content: ""; position: absolute; inset: -1px; border-radius: 23px; padding: 1px;
  background: linear-gradient(135deg, rgba(0, 200, 255, .5), transparent 35%, transparent 65%, rgba(123, 97, 255, .5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  padding: 16px 2px 10px;
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, .14);
  color: var(--white);
  font: inherit; font-size: 15px;
  outline: none;
  transition: border-color .4s;
  resize: vertical;
}
.field label {
  position: absolute; left: 2px; top: 16px;
  font-size: 14px; color: var(--grey);
  pointer-events: none;
  transition: transform .35s var(--ease-out), font-size .35s, color .35s;
  transform-origin: left;
}
.field input:focus, .field textarea:focus { border-color: var(--cyan); box-shadow: 0 1px 0 0 rgba(42, 245, 255, .5); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-bottom-color: rgba(255, 138, 138, .75); }
/* honeypot: parked far off-screen, invisible to humans */
.hp-field { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-19px); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan);
}
.contact__sent { min-height: 1.2em; font-size: 13px; color: var(--cyan); letter-spacing: .04em; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  padding: 64px var(--pad) 42px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.footer__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px);
  background-size: 52px 52px;
  animation: gridslide 30s linear infinite;
  mask-image: linear-gradient(to top, black, transparent 85%);
}
.footer__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.footer__logo { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 12px; letter-spacing: .4em; }
.footer__nav { display: flex; gap: 26px; font-size: 12.5px; letter-spacing: .1em; }
.footer__legal { font-size: 11.5px; letter-spacing: .06em; color: rgba(184, 184, 184, .55); }

/* ============================================================
   QUALITY ASSURANCE
   ============================================================ */
.qa { background: var(--bg-2); }
.qa__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.qa__card {
  padding: 32px 26px;
  border-radius: 18px;
  transition: transform .45s var(--ease-out), border-color .45s, box-shadow .45s;
}
.qa__card:hover {
  transform: translateY(-6px);
  border-color: rgba(42, 245, 255, .35);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .45), 0 0 30px rgba(0, 200, 255, .08);
}
.qa__card h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #7DFFB2;
  margin-bottom: 12px;
}
.qa__card p { font-size: 14px; line-height: 1.65; color: #D4D3D2; }
@media (max-width: 1024px) { .qa__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .qa__grid { grid-template-columns: 1fr; } }

/* ============================================================
   CSR + CAREERS
   ============================================================ */
.csr { background: var(--bg-2); }
.careers { background: var(--bg); }
.careers__note {
  display: flex; gap: 18px; align-items: flex-start;
  max-width: 760px;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: 22px;
}
.careers__note .pulse-dot { margin-top: 9px; flex-shrink: 0; }
.careers__note h3 {
  font-family: var(--font-display); font-size: 19px; font-weight: 600;
  margin-bottom: 10px;
}
.careers__note p { color: var(--grey); font-size: 15px; line-height: 1.75; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about__grid, .publishing__stage, .contact__inner { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .enterprise__stage { min-height: 0; display: flex; flex-direction: column; gap: 22px; perspective: none; }
  .dash { position: relative; inset: auto; width: 100% !important; max-width: 520px; }
}
@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  /* menu items without numbering on small screens */
  .menu__link i { display: none; }
  .hero__title { font-size: clamp(30px, 8.5vw, 48px); }
  /* phones: each phrase on its own line (inline-block groups don't wrap) */
  .hero__line > span { display: block; }
  .section { padding-left: 22px; padding-right: 22px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
  }
  html { scroll-behavior: auto; }
  body::after { display: none; }
}
html.reduced-motion .split-line > span, html.reduced-motion .char { transform: none !important; }
html.reduced-motion [data-reveal], html.reduced-motion [data-hero-fade] { opacity: 1 !important; transform: none !important; }

/* ============================================================
   SERVICE POPUP — holographic glass info panel
   (deliberately dark in both themes, like the hero)
   ============================================================ */
.svc-link { cursor: pointer; }
.svc-modal {
  position: fixed; inset: 0; z-index: 960;
  display: grid; place-items: center; padding: 20px;
  visibility: hidden; pointer-events: none;
}
.svc-modal.is-open { visibility: visible; pointer-events: auto; }
.svc-modal__veil {
  position: absolute; inset: 0;
  background: rgba(3, 5, 7, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transition: opacity .4s ease;
}
.svc-modal.is-open .svc-modal__veil { opacity: 1; }

.svc-modal__panel {
  position: relative;
  width: min(640px, 92vw);
  padding: clamp(30px, 4vw, 46px);
  border-radius: 32px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  color: #fff;
  overflow: hidden;
  opacity: 0; transform: translateY(26px) scale(.92);
  transition: opacity .45s cubic-bezier(.22, 1, .36, 1), transform .45s cubic-bezier(.22, 1, .36, 1);
  animation: svcglow 3.6s ease-in-out infinite;
}
.svc-modal.is-open .svc-modal__panel { opacity: 1; transform: translateY(0) scale(1); }
@keyframes svcglow {
  0%, 100% { box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 46px rgba(0, 232, 255, .08); }
  50% { box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 64px rgba(140, 82, 255, .14); }
}
/* thin cyan→violet glowing border */
.svc-modal__panel::before {
  content: ""; position: absolute; inset: -1px; border-radius: 33px; padding: 1px;
  background: linear-gradient(135deg, rgba(0, 232, 255, .75), rgba(77, 139, 255, .1) 38%, rgba(77, 139, 255, .1) 62%, rgba(140, 82, 255, .75));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
/* cursor-responsive holographic highlight */
.svc-modal__panel::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(220px 180px at var(--mx, 70%) var(--my, 20%), rgba(160, 220, 255, .1), transparent 70%);
}
/* moving light sweep */
.svc-modal__sweep {
  position: absolute; inset: -20%; pointer-events: none;
  background: linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, .07) 50%, transparent 55%);
  transform: translateX(-130%);
}
.svc-modal.is-open .svc-modal__sweep { animation: svcsweep 4.6s ease-in-out .4s infinite; }
@keyframes svcsweep { 0% { transform: translateX(-130%); } 55%, 100% { transform: translateX(130%); } }
/* tiny floating particles */
.svc-modal__dot {
  position: absolute; width: 4px; height: 4px; border-radius: 50%; pointer-events: none;
  background: rgba(0, 232, 255, .55); box-shadow: 0 0 9px rgba(0, 232, 255, .6);
  animation: svcdot 6s ease-in-out infinite;
}
.svc-modal__dot:nth-of-type(1) { left: 12%; bottom: 18%; }
.svc-modal__dot:nth-of-type(2) { right: 16%; top: 26%; background: rgba(140, 82, 255, .55); box-shadow: 0 0 9px rgba(140, 82, 255, .6); animation-delay: 1.4s; }
.svc-modal__dot:nth-of-type(3) { right: 32%; bottom: 12%; background: rgba(77, 139, 255, .55); box-shadow: 0 0 9px rgba(77, 139, 255, .6); animation-delay: 2.8s; }
@keyframes svcdot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-16px); opacity: 1; } }

.svc-modal__close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  transition: border-color .35s, box-shadow .35s, transform .4s cubic-bezier(.22, 1, .36, 1);
}
.svc-modal__close:hover {
  border-color: rgba(0, 232, 255, .55);
  box-shadow: 0 0 22px rgba(0, 232, 255, .3);
  transform: rotate(90deg) scale(1.05);
}
.svc-modal__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(0, 232, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 0 28px rgba(0, 232, 255, .22);
  margin-bottom: 20px;
}
.svc-modal__icon svg { width: 30px; height: 30px; }
.svc-modal__kicker {
  font-family: var(--font-display); font-size: 10px; letter-spacing: .4em; text-transform: uppercase;
  color: rgba(184, 197, 214, .65);
  margin-bottom: 10px;
}
.svc-modal__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -.01em;
  margin-bottom: 14px;
}
.svc-modal__desc { font-size: 15px; line-height: 1.75; color: #B8C5D6; max-width: 46ch; }
@media (max-width: 480px) {
  .svc-modal__panel { width: 95vw; padding: 28px 24px; border-radius: 28px; }
}

/* ============================================================
   THEME TOGGLE (fixed, bottom-right)
   ============================================================ */
.theme-toggle {
  position: fixed; right: 22px; bottom: 22px; z-index: 930;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  background: rgba(18, 18, 18, .6);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color .35s, box-shadow .35s, background .35s, transform .35s var(--ease-out);
}
.theme-toggle:hover {
  border-color: rgba(42, 245, 255, .5);
  box-shadow: 0 0 26px rgba(0, 200, 255, .25);
  transform: translateY(-2px);
}
.theme-toggle svg { width: 21px; height: 21px; }
.theme-toggle__moon { display: none; }
html[data-theme="light"] .theme-toggle { background: rgba(255, 255, 255, .8); }
html[data-theme="light"] .theme-toggle__sun { display: none; }
html[data-theme="light"] .theme-toggle__moon { display: block; }

/* ============================================================
   LIGHT THEME
   The hero keeps its cinematic dark glass-tunnel in both themes.
   ============================================================ */
html[data-theme="light"] {
  --bg: #F2F4F7;
  --bg-2: #E9EDF2;
  --surface: #FFFFFF;
  --white: #0C1116;
  --grey: #333E48;
  --border: rgba(10, 20, 30, .26);
}
/* card internals drawn in white for dark mode go dark here */
html[data-theme="light"] .dash--flow g[stroke] { stroke: rgba(10, 20, 30, .45); }
html[data-theme="light"] .dash--flow path[id^="fp"] { stroke: rgba(10, 20, 30, .25); }
html[data-theme="light"] .dash__code { color: #1D5E76; }
html[data-theme="light"] .dash__code .tok-s { color: #1D7A46; }
html[data-theme="light"] .dash__code .tok-f { color: #0B7C99; }
html[data-theme="light"] .dash__code .tok-k { color: #6A3FD8; }
html[data-theme="light"] .dash__caret { background: #0B7C99; }
html[data-theme="light"] .pub__page--paper i { background: rgba(10, 20, 30, .14); }
html[data-theme="light"] .qa__card h3 { color: #0E7E96; }
html[data-theme="light"] .tags li { background: rgba(255, 255, 255, .7); color: #0E7E96; }
html[data-theme="light"] .eng__card figcaption { color: #0E7E96; }
html[data-theme="light"] .pub__timeline span { color: #0E7E96; }
html[data-theme="light"] .client span { color: #0E7E96; }
html[data-theme="light"] .qa__card p { color: #333E48; }
html[data-theme="light"] .glass { background: rgba(255, 255, 255, .72); }
html[data-theme="light"] .nav.is-scrolled { background: rgba(244, 246, 248, .72); }
html[data-theme="light"] .menu__veil { background: rgba(235, 238, 242, .55); }
html[data-theme="light"] .menu__panel { background: rgba(250, 251, 253, .92); }
html[data-theme="light"] .menu__grid {
  background-image:
    linear-gradient(rgba(10, 20, 30, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 20, 30, .05) 1px, transparent 1px);
}
html[data-theme="light"] .about::before,
html[data-theme="light"] .footer__grid {
  background-image:
    linear-gradient(rgba(10, 20, 30, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 20, 30, .045) 1px, transparent 1px);
}
html[data-theme="light"] .tags li { background: rgba(255, 255, 255, .6); }
html[data-theme="light"] .qa__card h3 { color: #0E7E96; }
html[data-theme="light"] .btn--ghost { border-color: rgba(15, 25, 35, .28); background: rgba(255, 255, 255, .45); }
html[data-theme="light"] .cursor__ring { border-color: rgba(15, 25, 35, .32); }
html[data-theme="light"] .preloader__bar { background: rgba(15, 25, 35, .12); }
html[data-theme="light"] .field input,
html[data-theme="light"] .field textarea { border-bottom-color: rgba(15, 25, 35, .25); }
html[data-theme="light"] .hero__scrollline { background: rgba(15, 25, 35, .15); }

/* hero pinned dark: tunnel, title, ctas keep their night palette */
html[data-theme="light"] .hero {
  --white: #FFFFFF;
  --grey: #B8B8B8;
  --border: rgba(255, 255, 255, .08);
  color: #fff;
}
html[data-theme="light"] .hero .btn--ghost {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .02);
}
html[data-theme="light"] .hero .hero__scrollline { background: rgba(255, 255, 255, .12); }

/* nav floats over the dark hero until it gains its scrolled glass */
html[data-theme="light"] .nav:not(.is-scrolled) {
  --white: #FFFFFF;
  --grey: #C3C9D2;
  --border: rgba(255, 255, 255, .14);
  color: #fff;
}
