/* =========================================================
   BlueBlazeTech: glossy blue / deep-space theme
   Layers (back → front):
     #space canvas (WebGL deep field, blurred by --bg-blur)
     .vignette + .grain (atmosphere)
     content (glass panels with backdrop blur = depth-of-field)
   ========================================================= */

:root {
  --bg: #02050f;
  --bg-2: #050b1f;
  --ink: #e8f1ff;
  --ink-2: #a9bddf;
  --ink-3: #6f83a8;
  --blue-900: #0b1f5c;
  --blue-700: #13307a;
  --blue-500: #1e6bff;
  --blue-400: #1e9bff;
  --blue-300: #4cc3ff;
  --cyan: #6fe3ff;
  --violet: #7c5cff;
  --grad: linear-gradient(100deg, #2f6bff 0%, #1e9bff 45%, #6fe3ff 100%);
  --grad-deep: linear-gradient(135deg, #13307a, #1e6bff 60%, #1e9bff);

  --glass: rgba(12, 26, 64, 0.38);
  --glass-strong: rgba(10, 22, 56, 0.62);
  --glass-border: rgba(120, 190, 255, 0.18);
  --glass-hi: rgba(160, 215, 255, 0.35);
  --glow: 0 0 0 1px rgba(76, 195, 255, .25), 0 10px 40px -10px rgba(30, 155, 255, .55);

  --radius: 22px;
  --radius-sm: 14px;
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --bg-blur: 0px;     /* driven by JS: depth-of-field "focus pull" */
  --bg-dim: 1;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue-300); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan); }
button { font: inherit; color: inherit; cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 700; }
h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.9vw, 3.1rem); letter-spacing: .01em; }
h3 { font-size: 1.2rem; letter-spacing: .01em; }
p { margin: 0 0 1em; }
::selection { background: rgba(30, 155, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(30, 155, 255, .35));
}

/* ---------- Space / depth layers ---------- */
#space {
  position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -3; display: block;
  filter: blur(var(--bg-blur)) brightness(var(--bg-dim));
  transform: scale(1.04); /* hide blur edge bleed */
  transition: filter .9s var(--ease);
}
.vignette {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 80% at 50% 40%, transparent 40%, rgba(1, 3, 10, .75) 100%),
    linear-gradient(180deg, rgba(2, 5, 15, .0) 60%, rgba(2, 5, 15, .55));
}
.grain {
  position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: -1;
  border-radius: 50%; pointer-events: none; opacity: .55; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(30, 155, 255, .16), transparent 62%);
  transform: translate3d(-999px, -999px, 0); will-change: transform;
}

/* ---------- Glass (the foreground focal plane) ---------- */
.glass {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,0) 38%),
    var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    inset 0 1px 0 var(--glass-hi),
    inset 0 -1px 0 rgba(0,0,0,.25),
    0 30px 60px -30px rgba(0, 0, 0, .8),
    0 0 0 1px rgba(0,0,0,.2);
}
.glass::before { /* glossy specular sweep */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 30%);
  mask: linear-gradient(#000, transparent 55%);
}

.hud-corner { position: absolute; width: 18px; height: 18px; border: 2px solid var(--blue-300); opacity: .8; pointer-events: none; z-index: 3; }
.hud-corner.tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.hud-corner.tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.hud-corner.bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.hud-corner.br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 600; font-size: .98rem; letter-spacing: .02em; white-space: nowrap; color: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  isolation: isolate; overflow: hidden;
}
.btn svg { font-size: 1.15em; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--glow {
  background: linear-gradient(180deg, #49b4ff 0%, #1e7bff 55%, #1452d6 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -2px 6px rgba(0,20,80,.45), 0 10px 30px -8px rgba(30, 140, 255, .8), 0 0 0 1px rgba(120, 200, 255, .5);
}
.btn--glow::before { /* gloss */
  content: ""; position: absolute; left: 6%; right: 6%; top: 2px; height: 48%; border-radius: 999px; z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,0));
}
.btn--glow::after { /* shimmer */
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg); transition: left .7s var(--ease);
}
.btn--glow:hover { transform: translateY(-2px); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 16px 40px -8px rgba(30, 155, 255, .95), 0 0 0 1px rgba(150, 215, 255, .7); }
.btn--glow:hover::after { left: 130%; }
.btn--ghost {
  background: rgba(30, 110, 255, .08); color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(120, 190, 255, .35), inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(30, 140, 255, .2); color: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(120, 200, 255, .7), 0 10px 30px -10px rgba(30,155,255,.7); }
.btn:active { transform: translateY(0) scale(.98); }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--glass); display: grid; place-items: center; font-size: 1.15rem; transition: .25s var(--ease); backdrop-filter: blur(10px); }
.icon-btn:hover { border-color: var(--blue-300); box-shadow: var(--glow); }

.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); display: inline-block; box-shadow: 0 0 0 0 rgba(111, 227, 255, .7); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(111, 227, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 227, 255, 0); } }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; gap: 22px; justify-items: center; background: radial-gradient(circle at 50% 50%, #071535, #01030a 70%); transition: opacity .8s var(--ease), visibility .8s; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__ring { position: relative; width: 86px; height: 86px; }
.preloader__ring span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--blue-400); animation: spin 1.1s linear infinite; }
.preloader__ring span:nth-child(2) { inset: 12px; border-top-color: var(--cyan); animation-duration: .8s; animation-direction: reverse; }
.preloader__ring span:nth-child(3) { inset: 26px; border-top-color: #fff; animation-duration: .6s; }
.preloader__text { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .3em; color: var(--ink-2); }
.preloader__text b { color: var(--cyan); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 100;
  width: min(1280px, calc(100% - 28px)); height: var(--nav-h);
  display: flex; align-items: center; gap: 20px; padding: 0 14px 0 18px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background .4s, border-color .4s, box-shadow .4s, top .4s;
}
.nav.is-scrolled {
  top: 10px; background: rgba(6, 14, 38, .55); border-color: var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(160,215,255,.2), 0 20px 50px -20px rgba(0,0,0,.8);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 44px; height: 44px; filter: drop-shadow(0 0 12px rgba(30,155,255,.6)); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(360deg); }
.brand__text { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; letter-spacing: .12em; line-height: 1.1; display: flex; flex-direction: column; }
.brand__text b { color: var(--blue-400); display: contents; }
.brand__text small { font-family: var(--font); font-weight: 500; font-size: .66rem; letter-spacing: .28em; color: var(--ink-3); text-transform: uppercase; margin-top: 3px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { position: relative; padding: 9px 14px; border-radius: 999px; color: var(--ink-2); font-size: .93rem; font-weight: 500; transition: .25s; }
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(30, 155, 255, .12); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.nav__cta { flex: none; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--glass-border); background: var(--glass); position: relative; margin-left: auto; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: .3s var(--ease); }
.nav__burger span:nth-child(1) { top: 16px; } .nav__burger span:nth-child(2) { top: 22px; } .nav__burger span:nth-child(3) { top: 28px; }
.nav.is-open .nav__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 50px) 0 90px; }
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); background: rgba(30, 110, 255, .1); border: 1px solid var(--glass-border); backdrop-filter: blur(8px); }
.hero__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: .005em; line-height: 1.02; margin: 22px 0 18px; text-shadow: 0 0 40px rgba(30, 120, 255, .25); }
.hero__rotator { font-family: var(--font-mono); font-size: clamp(.95rem, 1.4vw, 1.1rem); color: var(--ink-2); margin-bottom: 18px; }
.rotator { color: var(--cyan); display: inline-block; min-width: 12ch; border-right: 2px solid var(--cyan); padding-right: 4px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--ink-2); max-width: 580px; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 32px; }
.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; font-size: .86rem; color: var(--ink-2); background: rgba(10, 24, 60, .45); border: 1px solid var(--glass-border); backdrop-filter: blur(8px); transition: .3s var(--ease); }
.hero__chips li svg { color: var(--blue-300); font-size: 1.1rem; }
.hero__chips li:hover { color: #fff; border-color: rgba(111, 227, 255, .6); transform: translateY(-3px); box-shadow: var(--glow); }

.hero__stage { position: relative; }
.holo { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 620px; margin-inline: auto; }
.holo::before { /* floor glow */
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 2%; height: 16%; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(30, 155, 255, .4), transparent 70%); filter: blur(18px);
}
#coreCanvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
#coreCanvas:active { cursor: grabbing; }
.holo__hud { position: absolute; inset: 0; pointer-events: none; }
.holo__label { position: absolute; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .2em; color: var(--ink-3); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.holo__label.top { top: 16px; } .holo__label.bottom { bottom: 16px; color: var(--ink-2); }
.holo__readout { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: grid; gap: 14px; font-family: var(--font-mono); text-align: right; }
.holo__readout small { display: block; font-size: .62rem; letter-spacing: .2em; color: var(--ink-3); }
.holo__readout b { font-size: .95rem; color: var(--cyan); font-weight: 600; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 2px solid rgba(160, 210, 255, .4); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Ticker ---------- */
.ticker { position: relative; overflow: hidden; padding: 20px 0; border-block: 1px solid var(--glass-border); background: linear-gradient(90deg, rgba(10, 30, 80, .55), rgba(20, 80, 200, .3), rgba(10, 30, 80, .55)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: rotate(-1.2deg) scale(1.02); }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 40s linear infinite; font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.35rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ticker__track span:nth-of-type(odd) { color: transparent; -webkit-text-stroke: 1px rgba(160, 215, 255, .7); }
.ticker__track i { color: var(--cyan); font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.section__head { text-align: center; max-width: 980px; margin: 0 auto clamp(40px, 6vw, 64px); }
.section__head--left { text-align: left; margin-left: 0; }
.eyebrow { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--blue-300); margin-bottom: 16px; }
.section__sub { color: var(--ink-2); font-size: 1.08rem; margin: 20px auto 0; max-width: 640px; }

/* ---------- Lab ---------- */
.lab__tabs { position: relative; display: flex; gap: 6px; padding: 6px; margin: 0 auto 26px; width: max-content; max-width: 100%; overflow-x: auto; border-radius: 999px; background: rgba(6, 16, 44, .6); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); scrollbar-width: none; }
.lab__tabs::-webkit-scrollbar { display: none; }
.lab__tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border: 0; background: none; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: .93rem; white-space: nowrap; transition: color .3s; }
.lab__tab svg { font-size: 1.25rem; }
.lab__tab:hover { color: #fff; }
.lab__tab.is-active { color: #fff; }
.lab__tab-ink { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: linear-gradient(180deg, #3aa8ff, #1a62e6); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 24px -6px rgba(30,155,255,.9); transition: transform .5s var(--ease), width .5s var(--ease); }

.lab__grid { display: grid; grid-template-columns: 1fr 360px; gap: 22px; }
.lab__stage { min-height: 560px; overflow: hidden; padding: 0; background: radial-gradient(ellipse at 50% 30%, rgba(20, 60, 160, .35), rgba(2, 6, 20, .75)); }
.lab__mount { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.lab__mount canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; }
.lab__mount video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lab__status { position: absolute; left: 22px; bottom: 18px; z-index: 4; display: flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; color: var(--ink-2); padding: 6px 12px; border-radius: 999px; background: rgba(2, 8, 24, .55); backdrop-filter: blur(6px); pointer-events: none; }
.lab__fs { position: absolute; right: 18px; bottom: 14px; z-index: 4; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--glass-border); background: rgba(2, 8, 24, .55); display: grid; place-items: center; font-size: 1.1rem; }
.lab__fs:hover { border-color: var(--cyan); }
.lab__stage:fullscreen { border-radius: 0; }
.lab__overlay { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; text-align: center; gap: 12px; padding: 24px; background: radial-gradient(circle, rgba(4, 14, 40, .55), rgba(2, 6, 18, .85)); backdrop-filter: blur(4px); transition: opacity .4s; }
.lab__overlay.is-hidden { opacity: 0; pointer-events: none; }
.lab__overlay h4 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.6rem); letter-spacing: .06em; }
.lab__overlay p { color: var(--ink-2); margin: 0; }
.lab__overlay .btn { justify-self: center; margin-top: 8px; }
.lab__hint { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 3; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--ink-2); padding: 6px 14px; border-radius: 999px; background: rgba(2, 8, 24, .55); backdrop-filter: blur(6px); pointer-events: none; white-space: nowrap; }
.lab__label3d { position: absolute; z-index: 3; pointer-events: none; transform: translate(-50%, -100%); padding: 6px 12px; border-radius: 10px; font-size: .78rem; font-weight: 600; white-space: nowrap; background: rgba(6, 18, 50, .75); border: 1px solid rgba(111, 227, 255, .4); box-shadow: 0 0 20px rgba(30, 155, 255, .35); transition: opacity .3s; }

.lab__panel { padding: 28px; display: flex; flex-direction: column; gap: 14px; animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }
.lab__panel .eyebrow { margin: 0; font-size: .72rem; }
.lab__panel h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: .04em; }
.lab__panel p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.lab__panel p b { color: var(--ink); }
.lab__panel hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--glass-border), transparent); margin: 4px 0; width: 100%; }
.panel__note { font-size: .88rem !important; }
.panel__fine { font-size: .78rem !important; color: var(--ink-3) !important; }
.kbd-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .85rem; color: var(--ink-3); }
kbd { font-family: var(--font-mono); font-size: .75rem; padding: 4px 8px; border-radius: 7px; background: rgba(30, 110, 255, .15); border: 1px solid var(--glass-border); border-bottom-width: 2px; color: var(--ink); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-row > div { padding: 12px; border-radius: 12px; background: rgba(2, 10, 30, .5); border: 1px solid var(--glass-border); text-align: center; }
.stat-row small { display: block; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.stat-row b { font-family: var(--font-display); font-size: 1.2rem; color: var(--cyan); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.info-card { padding: 12px 14px; border-radius: 12px; background: rgba(2, 10, 30, .5); border: 1px solid var(--glass-border); }
.info-card small { display: block; font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.info-card b { display: block; font-weight: 600; }
.info-card span { display: block; color: var(--ink-2); font-size: .88rem; margin-top: 4px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; }
.chip-list button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--glass-border); background: rgba(30,110,255,.08); font-size: .82rem; color: var(--ink-2); transition: .25s; }
.chip-list button:hover, .chip-list button.is-active { color: #fff; border-color: var(--cyan); background: rgba(30, 155, 255, .25); }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(2, 10, 30, .6); border: 1px solid var(--glass-border); }
.seg button { flex: 1 1 auto; padding: 8px 10px; border-radius: 9px; border: 0; background: none; font-size: .84rem; font-weight: 600; color: var(--ink-2); transition: .25s; }
.seg button:hover { color: #fff; }
.seg button.is-active { color: #fff; background: linear-gradient(180deg, #3aa8ff, #1a62e6); box-shadow: inset 0 1px 0 rgba(255,255,255,.4); }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.toggle input { display: none; }
.toggle span { width: 42px; height: 24px; border-radius: 99px; background: rgba(255,255,255,.12); position: relative; transition: .3s; }
.toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .3s var(--ease); }
.toggle input:checked + span { background: var(--blue-400); box-shadow: 0 0 14px rgba(30,155,255,.6); }
.toggle input:checked + span::after { transform: translateX(18px); }
.controls { display: grid; gap: 12px; }
.range { display: grid; gap: 4px; }
.range__top { display: flex; justify-content: space-between; font-size: .84rem; color: var(--ink-2); }
.range__top b { font-family: var(--font-mono); color: var(--cyan); font-weight: 600; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--blue-400) var(--p, 50%), rgba(255,255,255,.12) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-400); box-shadow: 0 0 12px rgba(30,155,255,.8); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--blue-400); box-shadow: 0 0 12px rgba(30,155,255,.8); cursor: pointer; }
.stat-row--3 b { font-size: 1rem; }

/* ---------- Services ---------- */
.svc-switch { position: relative; display: flex; gap: 4px; padding: 5px; margin: 0 auto 36px; width: max-content; max-width: 100%; border-radius: 999px; background: rgba(6, 16, 44, .6); border: 1px solid var(--glass-border); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); overflow-x: auto; scrollbar-width: none; }
.svc-switch button { position: relative; z-index: 1; border: 0; background: none; padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--ink-2); white-space: nowrap; transition: color .3s; }
.svc-switch button.is-active { color: #fff; }
.svc-switch__ink { position: absolute; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: linear-gradient(180deg, #3aa8ff, #1a62e6); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 24px -6px rgba(30,155,255,.9); transition: transform .5s var(--ease), width .5s var(--ease); }
.svc-grid { display: none; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 20px; }
.svc-grid.is-active { display: grid; animation: gridIn .6s var(--ease); }
@keyframes gridIn { from { opacity: 0; transform: translateY(20px); } }

.card {
  position: relative; padding: 30px 26px 28px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0) 40%), var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: inset 0 1px 0 var(--glass-hi), 0 30px 50px -30px rgba(0,0,0,.8);
  transition: border-color .4s, box-shadow .4s;
  transform-style: preserve-3d;
}
.card::after { /* cursor-follow sheen */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(76, 195, 255, .18), transparent 45%);
}
.card:hover { border-color: rgba(111, 227, 255, .45); box-shadow: inset 0 1px 0 var(--glass-hi), 0 30px 60px -25px rgba(30, 120, 255, .55); }
.card:hover::after { opacity: 1; }
.card__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 20px; color: #fff; background: linear-gradient(160deg, rgba(76,195,255,.9), rgba(20,82,214,.9)); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 26px -6px rgba(30,155,255,.8); transform: translateZ(30px); }
.card h3 { margin-bottom: 10px; transform: translateZ(20px); }
.card p { color: var(--ink-2); font-size: .94rem; margin: 0; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__copy > p { color: var(--ink-2); font-size: 1.05rem; margin-top: 24px; }
.about__copy > p b { color: var(--ink); }
.about__visual { position: relative; }
.orbit { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin-inline: auto; }
.orbit__core { position: absolute; inset: 33%; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 6px rgba(30,155,255,.25), 0 0 60px rgba(30, 155, 255, .8), 0 0 140px rgba(30, 155, 255, .4); animation: corePulse 4s ease-in-out infinite; }
.orbit__core img { width: 118%; max-width: none; margin-top: 4%; }
@keyframes corePulse { 50% { box-shadow: 0 0 0 10px rgba(30,155,255,.18), 0 0 80px rgba(30, 155, 255, 1), 0 0 180px rgba(30, 155, 255, .5); } }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(120, 190, 255, .25); }
.orbit__ring.r1 { inset: 22%; border-style: dashed; animation: spin 40s linear infinite; }
.orbit__ring.r2 { inset: 9%; border-color: rgba(76,195,255,.35); }
.orbit__ring.r2::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.orbit__ring.r2 { animation: spin 18s linear infinite; }
.orbit__ring.r3 { inset: 0; border-color: rgba(120, 190, 255, .12); }
.orbit__node {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) rotate(calc(var(--a) * 1deg + var(--spin, 0deg))) translateY(calc(var(--r, 200px) * -1)) rotate(calc(var(--a) * -1deg - var(--spin, 0deg)));
  padding: 9px 15px; border-radius: 999px; font-size: .82rem; font-weight: 600; white-space: nowrap;
  border: 1px solid var(--glass-border); background: rgba(8, 22, 60, .7); backdrop-filter: blur(10px); color: var(--ink-2);
  transition: color .3s, border-color .3s, box-shadow .3s, background .3s;
}
.orbit__node:hover, .orbit__node.is-active { color: #fff; border-color: var(--cyan); background: rgba(30, 110, 255, .55); box-shadow: 0 0 24px rgba(30, 155, 255, .7); }
.orbit__caption { max-width: 420px; margin: 20px auto 0; padding: 18px 22px; text-align: center; }
.orbit__caption small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-300); }
.orbit__caption b { display: block; font-family: var(--font-display); font-size: 1.15rem; margin: 4px 0 6px; }
.orbit__caption p { color: var(--ink-2); font-size: .92rem; margin: 0; }
.mvv { margin-top: 28px; }
.mvv__tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.mvv__tabs button { border: 1px solid var(--glass-border); background: rgba(30,110,255,.06); padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--ink-2); transition: .25s; }
.mvv__tabs button.is-active { color: #fff; border-color: var(--cyan); background: rgba(30, 155, 255, .25); box-shadow: 0 0 18px rgba(30,155,255,.35); }
.mvv__body { padding: 22px 24px; min-height: 140px; }
.mvv__pane { display: none; }
.mvv__pane.is-active { display: block; animation: panelIn .4s var(--ease); }
.mvv__pane p { margin: 0; color: var(--ink-2); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .94rem; line-height: 1.45; }
.ticks svg { color: var(--cyan); font-size: 1.1rem; margin-top: 2px; stroke-width: 2.4; }
.insight { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.insight div { padding: 16px; border-radius: 16px; border: 1px solid var(--glass-border); background: rgba(8, 20, 56, .35); backdrop-filter: blur(10px); }
.insight b { display: block; font-family: var(--font-display); font-size: .86rem; letter-spacing: .05em; color: var(--blue-300); margin-bottom: 4px; }
.insight span { font-size: .86rem; color: var(--ink-2); line-height: 1.45; display: block; }

/* Process timeline */
.process { margin-top: clamp(90px, 12vw, 150px); }
.timeline { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: 26px; }
.timeline__beam { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(120, 190, 255, .15); border-radius: 2px; }
.timeline__beam span { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--blue-400), var(--cyan)); box-shadow: 0 0 14px var(--cyan); border-radius: 2px; }
.timeline li { position: relative; display: grid; grid-template-columns: 1fr 70px 1fr; align-items: center; }
.timeline li > div { padding: 22px 26px; grid-column: 1; }
.timeline li:nth-child(odd) > div { grid-column: 3; }
.timeline__n { grid-column: 2; grid-row: 1; justify-self: center; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .95rem; background: var(--bg-2); border: 2px solid rgba(120, 190, 255, .3); color: var(--ink-3); transition: .5s var(--ease); z-index: 1; }
.timeline li.is-lit .timeline__n { color: #fff; border-color: var(--cyan); background: linear-gradient(160deg, #3aa8ff, #1452d6); box-shadow: 0 0 26px rgba(30, 155, 255, .9); }
.timeline li > div { grid-row: 1; }
.timeline h3 { font-family: var(--font-display); font-size: 1.02rem; letter-spacing: .04em; margin-bottom: 8px; }
.timeline p { color: var(--ink-2); font-size: .94rem; margin: 0; }

/* ---------- Work ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 34px; }
.filters button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--glass-border); background: rgba(30, 110, 255, .06); font-weight: 600; font-size: .88rem; color: var(--ink-2); transition: .25s; backdrop-filter: blur(8px); }
.filters button:hover { color: #fff; }
.filters button.is-active { color: #fff; border-color: var(--cyan); background: rgba(30, 155, 255, .28); box-shadow: 0 0 20px rgba(30,155,255,.35); }
.work__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.proj { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); background: var(--glass-strong); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .3s, box-shadow .3s; transform-style: preserve-3d; }
.proj.is-hidden { display: none; }
.proj:hover { border-color: rgba(111, 227, 255, .5); box-shadow: 0 30px 60px -25px rgba(30, 120, 255, .6); }
.proj__img { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; }
.proj__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) hue-rotate(-10deg) brightness(.85); transition: transform .8s var(--ease), filter .5s; }
.proj__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 60, 200, .25), rgba(2, 8, 24, .85)), repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 3px); mix-blend-mode: normal; }
.proj:hover .proj__img img { transform: scale(1.08); filter: saturate(1) brightness(1); }
.proj__body { position: relative; padding: 18px 20px 22px; margin-top: -60px; z-index: 1; }
.proj__body small { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.proj__body h3 { font-size: 1.08rem; margin: 6px 0 6px; }
.proj__body p { font-size: .88rem; color: var(--ink-2); margin: 0; }

/* ---------- Pricing ---------- */
.price-grid { display: none; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-grid.is-active { display: grid; animation: gridIn .6s var(--ease); }
.price { padding: 32px 28px 28px; display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; }
.price:hover { transform: translateY(-6px); border-color: rgba(111, 227, 255, .45); }
.price.is-featured { border-color: rgba(76, 195, 255, .55); background: linear-gradient(180deg, rgba(76,195,255,.16), rgba(20,82,214,.08) 50%), var(--glass); box-shadow: inset 0 1px 0 var(--glass-hi), 0 0 0 1px rgba(76,195,255,.2), 0 30px 70px -25px rgba(30, 140, 255, .65); }
.price__badge { position: absolute; top: 18px; right: 18px; padding: 5px 12px; border-radius: 999px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: linear-gradient(180deg, #49b4ff, #1a62e6); box-shadow: 0 0 18px rgba(30,155,255,.7); }
.price h3 { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: .04em; padding-right: 90px; }
.price__for { color: var(--ink-3); font-size: .88rem; margin: 8px 0 18px; }
.price__amt { font-family: var(--font); font-size: 3.2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1; margin-bottom: 22px; display: flex; align-items: flex-start; gap: 4px; }
.price__amt sup { font-size: 1.2rem; margin-top: 6px; color: var(--blue-300); }
.price__amt span { font-family: var(--font); font-size: .85rem; font-weight: 500; color: var(--ink-3); align-self: flex-end; margin: 0 0 6px 8px; }
.price .ticks { margin-bottom: 26px; flex: 1; }

/* ---------- Testimonials ---------- */
.carousel { position: relative; overflow: hidden; padding: 10px 4px 0; mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.carousel__track { display: flex; gap: 22px; transition: transform .8s var(--ease); }
.quote { flex: 0 0 calc((100% - 44px) / 3); margin: 0; padding: 34px 30px 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 270px; }
.quote::after { content: "”"; position: absolute; top: -6px; right: 22px; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: rgba(76, 195, 255, .18); }
.quote blockquote { margin: 0; font-size: 1.04rem; line-height: 1.6; color: var(--ink); }
.quote figcaption { display: flex; gap: 14px; align-items: center; }
.quote figcaption img, .avatar-initials { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(76,195,255,.6); box-shadow: 0 0 18px rgba(30,155,255,.45); flex: none; }
.avatar-initials { display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .95rem; background: var(--grad-deep); }
.quote figcaption span:last-child { font-size: .84rem; color: var(--ink-3); line-height: 1.35; }
.quote figcaption b { display: block; color: var(--ink); font-size: .98rem; }
.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 30px; }
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(160, 210, 255, .3); transition: .35s var(--ease); }
.carousel__dots button.is-active { width: 28px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.faq .section__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq .section__sub { margin-left: 0; }
.accordion { display: grid; gap: 12px; }
.accordion details { border-radius: 16px; border: 1px solid var(--glass-border); background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(160,215,255,.15); transition: border-color .3s, background .3s; }
.accordion details[open] { border-color: rgba(111, 227, 255, .45); background: rgba(14, 36, 90, .5); }
.accordion summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; position: relative; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 1.2rem; color: var(--cyan); border: 1px solid var(--glass-border); transition: transform .3s var(--ease); }
.accordion details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.accordion p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); font-size: .95rem; }

/* ---------- Contact ---------- */
.contact__wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 64px); padding: clamp(30px, 5vw, 60px); background: linear-gradient(135deg, rgba(30, 110, 255, .16), rgba(6, 14, 40, .55) 60%), var(--glass); }
.contact__info > p { color: var(--ink-2); margin: 18px 0 26px; }
.contact__list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; font-size: .96rem; }
.contact__list li > svg { font-size: 1.25rem; color: #fff; padding: 10px; width: 42px; height: 42px; border-radius: 12px; background: linear-gradient(160deg, rgba(76,195,255,.85), rgba(20,82,214,.85)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 20px -6px rgba(30,155,255,.8); }
.contact__list small { display: block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea, .field select {
  width: 100%; padding: 24px 16px 10px; border-radius: 14px; font: inherit; font-size: .98rem; color: var(--ink);
  background: rgba(2, 10, 30, .55); border: 1px solid var(--glass-border); outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical;
  -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; }
.field--select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field select option { background: #08122e; color: var(--ink); }
.field label { position: absolute; left: 17px; top: 17px; font-size: .95rem; color: var(--ink-3); pointer-events: none; transition: .2s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(30, 155, 255, .15), 0 0 24px rgba(30,155,255,.25); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { top: 7px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-300); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #ff6b8a; }
.form__note { margin: 0; font-size: .9rem; color: var(--ink-2); min-height: 1.4em; }
.form__note.is-ok { color: var(--cyan); }
.form__note.is-err { color: #ff8aa1; }

/* ---------- Footer ---------- */
.footer { position: relative; padding: 80px 0 30px; border-top: 1px solid var(--glass-border); background: linear-gradient(180deg, rgba(4, 10, 30, .6), rgba(2, 5, 15, .95)); backdrop-filter: blur(10px); }
.footer__grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.2fr; gap: 40px; }
.footer h4 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 18px; color: var(--ink); }
.footer a, .footer span { display: block; color: var(--ink-2); font-size: .93rem; margin-bottom: 9px; }
.footer a:hover { color: var(--cyan); }
.footer p { color: var(--ink-2); font-size: .93rem; }
.footer__logo { width: 104px; height: 104px; border-radius: 50%; background: #fff; overflow: hidden; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 0 40px rgba(30, 155, 255, .5); }
.footer__logo img { width: 120%; max-width: none; margin-top: 4%; }
.newsletter { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(2, 10, 30, .6); border: 1px solid var(--glass-border); }
.newsletter input { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: none; color: var(--ink); font: inherit; font-size: .9rem; outline: none; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(120, 190, 255, .1); }
.footer__bar span { margin: 0; font-size: .84rem; color: var(--ink-3); }

/* ---------- Reveal animations ---------- */
.tilt.is-tilting { transition: transform .12s linear, border-color .4s, box-shadow .4s !important; }
.reveal { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links a { padding: 9px 10px; font-size: .88rem; }
  .svc-grid { --cols: 3 !important; } .work__grid { grid-template-columns: repeat(3, 1fr); }
  .lab__grid { grid-template-columns: 1fr 320px; }
}
@media (max-width: 1020px) {
  :root { --nav-h: 66px; }
  .nav__links {
    position: fixed; top: calc(var(--nav-h) + 12px); left: 0; right: 0; margin: 0;
    flex-direction: column; padding: 14px; border-radius: 24px;
    background: rgba(6, 14, 38, .92); border: 1px solid var(--glass-border); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .3s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav__links a { padding: 14px 16px; font-size: 1rem; }
  .nav__burger { display: block; }
  .nav__cta { display: none; }
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__stage { order: -1; max-width: 440px; width: 100%; margin: 0 auto -20px; }
  .holo__readout { display: none; }
  .lab__grid { grid-template-columns: 1fr; }
  .lab__stage { min-height: 0; aspect-ratio: 4 / 3.4; }
  .about__grid, .faq__grid, .contact__wrap { grid-template-columns: 1fr; }
  .faq .section__head { position: static; }
  .svc-grid { --cols: 2 !important; }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid--3 { grid-template-columns: 1fr 1fr; }
  .quote { flex-basis: calc((100% - 22px) / 2); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, 1240px); }
  .brand__text { font-size: .88rem; }
  .brand__mark { width: 38px; height: 38px; }
  .svc-grid { --cols: 1 !important; } .work__grid, .price-grid, .price-grid--3, .price-grid--2 { grid-template-columns: 1fr; }
  .work__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .proj__body p { display: none; }
  .proj__body { padding: 14px; margin-top: -50px; }
  .proj__body h3 { font-size: .95rem; }
  .lab__stage { aspect-ratio: 3 / 3.6; }
  .lab__tab span { display: none; }
  .lab__tab { padding: 12px 16px; }
  .lab__tab svg { font-size: 1.45rem; }
  .insight { grid-template-columns: 1fr; }
  .orbit .orbit__node { font-size: .72rem; padding: 7px 11px; }
  .timeline__beam { left: 26px; }
  .timeline li { grid-template-columns: 52px 1fr; gap: 14px; }
  .timeline li > div, .timeline li:nth-child(odd) > div { grid-column: 2; }
  .timeline__n { grid-column: 1; }
  .quote { flex-basis: 100%; }
  .contact__form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
}

/* ---------- CMS additions ---------- */
.price-grid--2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
a.proj { color: inherit; display: block; }
a.proj:hover { color: inherit; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.socials { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 6px; }
.socials a { display: inline-block; margin: 0; font-size: .86rem; padding: 4px 12px; border-radius: 99px; border: 1px solid var(--glass-border); }
.newsletter__note { font-size: .85rem !important; color: var(--cyan) !important; margin-top: 8px; min-height: 1.2em; }
.admin-pill { position: fixed; left: 14px; bottom: 14px; z-index: 150; padding: 8px 14px; border-radius: 99px; font-size: .8rem; font-weight: 600; color: #fff;
  background: rgba(10,30,80,.85); border: 1px solid rgba(111,227,255,.5); backdrop-filter: blur(8px); box-shadow: 0 6px 20px rgba(0,0,0,.5); }
.admin-pill:hover { color: #fff; background: rgba(30,110,255,.6); }
