/* ==========================================================================
   E KUPRANS DIGITAT IT — Design System
   --------------------------------------------------------------------------
   ⚠ MOTION POLICY (intentional):
   This site NEVER disables its animations. There is deliberately no
   `@media (prefers-reduced-motion: reduce)` block anywhere in this file, and
   no native `scroll-behavior: smooth` (smooth scrolling is driven by
   requestAnimationFrame in main.js) — so animations keep running even when
   Windows "Show animations in Windows" is turned OFF, which is what the
   client explicitly asked for.
   ========================================================================== */

/* ------------------------------------------------------------------ RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--cy); outline-offset: 3px; border-radius: 6px; }

/* ----------------------------------------------------------------- TOKENS */
:root {
  /* Brand palette — carried over from the company's invoice identity */
  --void:        #04050E;
  --deep:        #070A1A;
  --panel:       #0B0F22;
  --panel-2:     #0E1329;
  --panel-3:     #121838;

  --cy:          #5CC8F5;   /* invoice "Digitat IT" cyan */
  --cy-soft:     #9BE0FF;
  --vi:          #6C63FF;   /* invoice total-bar violet */
  --vi-soft:     #A79BFF;
  --aqua:        #6EE7D7;

  --text:        #EAEEFB;
  --muted:       #9BA5CC;
  --dim:         #737DA3;

  --edge:        rgba(124, 152, 255, .13);
  --edge-2:      rgba(124, 152, 255, .26);
  --edge-hot:    rgba(92, 200, 245, .55);

  --grad:        linear-gradient(100deg, #5CC8F5 0%, #6C63FF 55%, #A176FF 100%);
  --grad-soft:   linear-gradient(100deg, rgba(92,200,245,.16), rgba(108,99,255,.16));

  --glow-cy:     0 0 44px rgba(92, 200, 245, .30);
  --glow-vi:     0 0 54px rgba(108, 99, 255, .34);
  --shadow-lg:   0 30px 80px -30px rgba(0, 0, 0, .85);

  /* Type */
  --f-display: "Instrument Serif", "Playfair Display", Georgia, serif;
  --f-body:    "Manrope", "Segoe UI", system-ui, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Rhythm */
  --shell: 1240px;
  --gut: clamp(1.15rem, 4vw, 2.6rem);
  --sec-y: clamp(4.5rem, 11vw, 9.5rem);
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Easing */
  --ease:      cubic-bezier(.22, 1, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-io:   cubic-bezier(.65, 0, .35, 1);

  /* Z scale */
  --z-bg: 0; --z-body: 10; --z-sticky: 20; --z-nav: 30; --z-overlay: 40; --z-top: 50;
}

/* ------------------------------------------------------------------- BASE */
html { scroll-padding-top: 120px; }

body {
  font-family: var(--f-body);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.68;
  color: var(--text);
  background: var(--void);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

::selection { background: rgba(92, 200, 245, .28); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: #1B2247; border-radius: 99px; border: 3px solid var(--void); }
::-webkit-scrollbar-thumb:hover { background: #2A3468; }

h1, h2, h3, h4 { font-weight: 400; line-height: 1.06; letter-spacing: -.018em; font-family: var(--f-display); }

.d1 { font-size: clamp(2.9rem, 7.4vw, 5.6rem); }
.d2 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); }
.d3 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.d4 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.2; }

em, .em { font-style: italic; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lede { font-size: clamp(1.02rem, 1.35vw, 1.16rem); color: var(--muted); max-width: 62ch; line-height: 1.75; }
.small { font-size: .875rem; color: var(--dim); }

/* ----------------------------------------------------------------- LAYOUT */
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gut); }
.shell-wide { max-width: 1420px; }
.section { position: relative; padding-block: var(--sec-y); z-index: var(--z-body); }
.section-tight { padding-block: clamp(3rem, 7vw, 5.5rem); }

.hairline {
  height: 1px; border: 0; width: 100%;
  background: linear-gradient(90deg, transparent, var(--edge-2) 18%, var(--edge-hot) 50%, var(--edge-2) 82%, transparent);
  opacity: .8;
}

.stack-sm > * + * { margin-top: .7rem; }
.stack   > * + * { margin-top: 1.15rem; }
.stack-lg > * + * { margin-top: 2rem; }

.row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }
.center { text-align: center; margin-inline: auto; }
.center .lede { margin-inline: auto; }

/* =============================================================== ATMOSPHERE
   Layered background: blueprint grid + aurora blooms + starfield + grain
   ========================================================================= */
.atmos { position: fixed; inset: 0; z-index: var(--z-bg); pointer-events: none; overflow: hidden; }

.atmos__grid {
  position: absolute; inset: -12%;
  background-image:
    linear-gradient(to right, rgba(120, 150, 255, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(120, 150, 255, .055) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 82% 62% at 50% 32%, #000 12%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 82% 62% at 50% 32%, #000 12%, transparent 78%);
  animation: gridDrift 44s linear infinite;
}
@keyframes gridDrift { to { transform: translate3d(74px, 74px, 0); } }

.atmos__blob { position: absolute; border-radius: 50%; filter: blur(96px); opacity: .5; will-change: transform; }
.atmos__blob--a { width: 46vw; height: 46vw; left: -12vw; top: -14vw; background: radial-gradient(circle, #2E42D8, transparent 66%); animation: floatA 26s var(--ease-io) infinite; }
.atmos__blob--b { width: 40vw; height: 40vw; right: -10vw; top: 6vh;  background: radial-gradient(circle, #0E7FB8, transparent 66%); animation: floatB 32s var(--ease-io) infinite; }
.atmos__blob--c { width: 52vw; height: 52vw; left: 22vw; bottom: -26vw; background: radial-gradient(circle, #5B2FC9, transparent 68%); animation: floatC 38s var(--ease-io) infinite; opacity: .34; }

@keyframes floatA { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(7vw, 6vh, 0) scale(1.16); } }
@keyframes floatB { 0%,100% { transform: translate3d(0,0,0) scale(1.1); } 50% { transform: translate3d(-8vw, 9vh, 0) scale(.9); } }
@keyframes floatC { 0%,100% { transform: translate3d(0,0,0) scale(.95); } 50% { transform: translate3d(6vw, -8vh, 0) scale(1.2); } }

.atmos__stars { position: absolute; inset: 0; opacity: .75; }
.star {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: #BFD4FF; box-shadow: 0 0 6px rgba(191, 212, 255, .9);
  animation: twinkle var(--dur, 4s) ease-in-out var(--del, 0s) infinite;
}
@keyframes twinkle { 0%, 100% { opacity: .1; transform: scale(.7); } 50% { opacity: .95; transform: scale(1.25); } }

.atmos__grain {
  position: absolute; inset: -200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  opacity: .045; mix-blend-mode: overlay;
  animation: grainShift 700ms steps(4) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-3%, 2%); }
  50%  { transform: translate(2%, -3%); }
  75%  { transform: translate(-2%, -2%); }
  100% { transform: translate(0, 0); }
}

/* Pointer spotlight — follows the cursor across the whole page */
.atmos__spot {
  position: absolute; width: 620px; height: 620px; border-radius: 50%;
  left: 0; top: 0; margin: -310px 0 0 -310px;
  background: radial-gradient(circle, rgba(92, 200, 245, .13), rgba(108, 99, 255, .055) 42%, transparent 68%);
  transform: translate3d(var(--sx, 50vw), var(--sy, 40vh), 0);
  transition: opacity .5s ease; opacity: 0; will-change: transform;
}
body.has-pointer .atmos__spot { opacity: 1; }

/* ============================================================ SCROLL METER */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: var(--z-top); pointer-events: none; background: transparent;
}
.progress__bar {
  height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0);
  background: var(--grad); box-shadow: 0 0 14px rgba(92, 200, 245, .8);
}

/* ==================================================================== NAV */
.nav {
  position: fixed; z-index: var(--z-nav);
  top: 14px; left: clamp(10px, 2.6vw, 26px); right: clamp(10px, 2.6vw, 26px);
  transition: top .5s var(--ease);
}
.nav__inner {
  max-width: 1360px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .68rem .72rem .68rem 1.1rem;
  border: 1px solid var(--edge); border-radius: 18px;
  background: rgba(9, 12, 28, .55);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: background .45s var(--ease), border-color .45s var(--ease),
              box-shadow .45s var(--ease), padding .45s var(--ease);
}
body.scrolled .nav__inner {
  background: rgba(7, 10, 24, .85);
  border-color: var(--edge-2);
  box-shadow: 0 18px 50px -22px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .05);
  padding-block: .5rem;
}

.nav__links { display: flex; align-items: center; gap: .15rem; }
.nav__link {
  position: relative; padding: .55rem .82rem; border-radius: 10px;
  font-size: .875rem; font-weight: 500; color: var(--muted);
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: .82rem; right: .82rem; bottom: .32rem; height: 1px;
  background: var(--grad); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .45s var(--ease);
}
.nav__link:hover { color: var(--text); background: rgba(124, 152, 255, .07); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--text); }

/* Dropdown */
.nav__drop { position: relative; }
.nav__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; width: min(560px, 84vw);
  transform: translate(-50%, 10px); opacity: 0; visibility: hidden;
  padding: .55rem; border: 1px solid var(--edge-2); border-radius: 20px;
  background: rgba(9, 12, 30, .93);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-lg);
  transition: opacity .38s var(--ease), transform .38s var(--ease), visibility .38s;
  display: grid; gap: .28rem;
}
.nav__drop:hover .nav__panel,
.nav__drop:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav__panel-item {
  display: grid; grid-template-columns: 40px 1fr auto; gap: .9rem; align-items: center;
  padding: .78rem .9rem; border-radius: 14px; border: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.nav__panel-item:hover { background: rgba(124, 152, 255, .08); border-color: var(--edge); transform: translateX(4px); }
.nav__panel-item svg { width: 40px; height: 40px; }
.nav__panel-item strong { display: block; font-size: .93rem; font-weight: 600; letter-spacing: -.01em; }
.nav__panel-item span { display: block; font-size: .77rem; color: var(--dim); line-height: 1.45; }
.nav__panel-item .arw { color: var(--dim); transition: transform .3s var(--ease), color .3s var(--ease); }
.nav__panel-item:hover .arw { transform: translateX(4px); color: var(--cy); }

.nav__cta { display: flex; align-items: center; gap: .5rem; }

/* Burger */
.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--edge); cursor: pointer; position: relative;
  background: rgba(124, 152, 255, .05); transition: border-color .3s, background .3s;
}
.burger:hover { border-color: var(--edge-2); background: rgba(124, 152, 255, .1); }
.burger i {
  position: absolute; left: 12px; width: 20px; height: 1.5px; border-radius: 2px;
  background: var(--text); transition: transform .45s var(--ease), opacity .25s var(--ease), width .45s var(--ease);
}
.burger i:nth-child(1) { top: 16px; }
.burger i:nth-child(2) { top: 21.5px; width: 14px; }
.burger i:nth-child(3) { top: 27px; }
body.menu-open .burger i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .burger i:nth-child(2) { opacity: 0; width: 20px; }
body.menu-open .burger i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 29; display: flex; flex-direction: column;
  padding: 108px var(--gut) 2.5rem;
  background: rgba(4, 5, 14, .97);
  backdrop-filter: blur(26px); -webkit-backdrop-filter: blur(26px);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
  overflow-y: auto;
}
body.menu-open .drawer { opacity: 1; visibility: visible; }
.drawer__link {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--edge);
  font-family: var(--f-display); font-size: clamp(1.7rem, 7vw, 2.4rem); line-height: 1;
  opacity: 0; transform: translateY(26px);
  transition: opacity .6s var(--ease) var(--d, 0s), transform .6s var(--ease) var(--d, 0s), color .3s;
}
.drawer__link:hover { color: var(--cy); }
.drawer__link .num { font-family: var(--f-mono); font-size: .68rem; color: var(--vi-soft); letter-spacing: .1em; }
body.menu-open .drawer__link { opacity: 1; transform: none; }

/* ------------------------------------------------------------------- LOGO */
.logo { display: inline-flex; align-items: center; gap: .68rem; }
.logo__mark { width: 38px; height: 38px; flex: none; overflow: visible; }
.logo__mark .lm-ring { transform-origin: 24px 24px; animation: spin 16s linear infinite; }
.logo__mark .lm-ring-2 { transform-origin: 24px 24px; animation: spin 11s linear infinite reverse; }
.logo__mark .lm-core { transform-origin: 24px 24px; animation: corePulse 3.4s var(--ease-io) infinite; }
.logo__mark .lm-node { transform-box: fill-box; transform-origin: center; animation: nodeBlink 2.2s var(--ease-io) infinite; }
.logo__mark .lm-k { transition: transform .7s var(--ease); transform-origin: 24px 24px; }
.logo:hover .lm-k { transform: rotate(-360deg); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes corePulse { 0%, 100% { opacity: .28; transform: scale(.9); } 50% { opacity: .6; transform: scale(1.08); } }
@keyframes nodeBlink { 0%, 100% { opacity: .35; transform: scale(.75); } 50% { opacity: 1; transform: scale(1.3); } }

.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--f-display); font-size: 1.24rem; letter-spacing: -.01em; white-space: nowrap; }
.logo__name b { font-weight: 400; }
.logo__name .accent { color: var(--cy); }
.logo__tag {
  font-family: var(--f-mono); font-size: .48rem; letter-spacing: .38em;
  color: var(--dim); margin-top: 4px; text-transform: uppercase;
}

/* ---------------------------------------------------------------- BUTTONS */
.btn {
  --btn-bg: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.4rem; min-height: 46px; border-radius: 12px;
  font-size: .875rem; font-weight: 600; letter-spacing: .005em;
  cursor: pointer; overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: transform .32s var(--ease), box-shadow .38s var(--ease),
              border-color .32s var(--ease), color .3s var(--ease), background .32s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.985); }

.btn--primary { color: #05060F; background: var(--grad); background-size: 190% 100%; background-position: 0% 50%; box-shadow: 0 12px 34px -14px rgba(92, 200, 245, .8); }
.btn--primary:hover { background-position: 100% 50%; box-shadow: 0 18px 46px -14px rgba(108, 99, 255, .95); transform: translateY(-2px); }
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, .55) 50%, transparent 75%);
  transform: translateX(-130%); transition: transform .85s var(--ease);
}
.btn--primary:hover::after { transform: translateX(130%); }

.btn--ghost { color: var(--text); border: 1px solid var(--edge-2); background: rgba(124, 152, 255, .04); }
.btn--ghost:hover { border-color: var(--edge-hot); background: rgba(92, 200, 245, .09); transform: translateY(-2px); box-shadow: var(--glow-cy); }

.btn--sm { padding: .58rem 1rem; min-height: 38px; font-size: .8rem; border-radius: 10px; }
.btn--lg { padding: 1.02rem 1.9rem; min-height: 56px; font-size: .95rem; border-radius: 14px; }
.btn--block { width: 100%; }

.btn .ico { width: 16px; height: 16px; flex: none; transition: transform .38s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }

/* Text link with animated rule */
.tlink {
  position: relative; display: inline-flex; align-items: center; gap: .45rem;
  font-size: .875rem; font-weight: 600; color: var(--cy); padding-bottom: 3px;
}
.tlink::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .5s var(--ease);
}
.tlink:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.tlink svg { width: 14px; height: 14px; transition: transform .38s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- EYEBROWS */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .26em; text-transform: uppercase; color: var(--cy-soft);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--cy); flex: none;
  box-shadow: 0 0 0 0 rgba(92, 200, 245, .65); animation: ping 2.4s var(--ease-io) infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 rgba(92, 200, 245, .6); }
  70%  { box-shadow: 0 0 0 11px rgba(92, 200, 245, 0); }
  100% { box-shadow: 0 0 0 0 rgba(92, 200, 245, 0); }
}
.eyebrow .rule { width: 34px; height: 1px; background: linear-gradient(90deg, var(--cy), transparent); }

.sec-head { max-width: 720px; }
.sec-head .d2 { margin-top: 1.1rem; }
.sec-head .lede { margin-top: 1.15rem; }

/* ------------------------------------------------------------------ CHIPS */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .78rem; border-radius: 99px; border: 1px solid var(--edge);
  background: rgba(124, 152, 255, .05);
  font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; color: var(--muted);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease), background .3s;
}
.chip:hover { border-color: var(--edge-hot); color: var(--text); transform: translateY(-2px); background: rgba(92, 200, 245, .08); }
.chip--hot { border-color: rgba(92, 200, 245, .38); color: var(--cy-soft); background: rgba(92, 200, 245, .08); }
.chip .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

.price-chip {
  display: inline-flex; align-items: baseline; gap: .5rem;
  padding: .5rem 1rem; border-radius: 12px;
  border: 1px solid rgba(92, 200, 245, .3); background: rgba(92, 200, 245, .07);
}
.price-chip .lbl { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.price-chip .val { font-family: var(--f-display); font-size: 1.5rem; color: var(--cy-soft); }

/* ------------------------------------------------------------------ PANEL */
.panel {
  position: relative; border: 1px solid var(--edge); border-radius: var(--r-lg);
  background: linear-gradient(168deg, rgba(18, 24, 56, .72), rgba(8, 11, 26, .82));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
}
.panel::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), transparent 42%);
}

/* Corner ticks that grow on hover */
.ticks::before, .ticks::after {
  content: ""; position: absolute; width: 15px; height: 15px; pointer-events: none;
  border-color: var(--edge-hot); opacity: 0; transition: opacity .4s var(--ease), width .45s var(--ease), height .45s var(--ease);
}
.ticks::before { top: 12px; left: 12px; border-top: 1.5px solid; border-left: 1.5px solid; border-top-left-radius: 5px; }
.ticks::after  { bottom: 12px; right: 12px; border-bottom: 1.5px solid; border-right: 1.5px solid; border-bottom-right-radius: 5px; }
.ticks:hover::before, .ticks:hover::after { opacity: 1; width: 26px; height: 26px; }

/* =========================================================== SERVICE CARDS */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(304px, 1fr)); gap: 1.15rem; }

.svc {
  --mx: 50%; --my: 50%;
  position: relative; display: flex; flex-direction: column; gap: 1.1rem;
  padding: 1.9rem 1.7rem 1.7rem; cursor: pointer; isolation: isolate;
  border: 1px solid var(--edge); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(168deg, rgba(17, 23, 54, .68), rgba(8, 11, 26, .8));
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .45s var(--ease), box-shadow .5s var(--ease);
}
.svc:hover { border-color: var(--edge-hot); box-shadow: 0 34px 70px -30px rgba(0, 0, 0, .92), 0 0 0 1px rgba(92, 200, 245, .18), var(--glow-cy); }

/* pointer-follow glow */
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(340px circle at var(--mx) var(--my), rgba(92, 200, 245, .16), transparent 62%);
  transition: opacity .45s var(--ease);
}
.svc:hover::before { opacity: 1; }
/* diagonal sheen */
.svc::after {
  content: ""; position: absolute; inset: -60% -20%; z-index: -1;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 255, 255, .07) 50%, transparent 58%);
  transform: translateX(-70%); transition: transform 1s var(--ease);
}
.svc:hover::after { transform: translateX(70%); }

.svc__idx {
  position: absolute; top: 1.25rem; right: 1.4rem;
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .22em; color: var(--dim);
  transition: color .35s var(--ease);
}
.svc:hover .svc__idx { color: var(--cy); }

.svc__art { width: 78px; height: 78px; }
.svc__title { font-family: var(--f-display); font-size: 1.62rem; line-height: 1.12; transition: color .35s var(--ease); }
.svc:hover .svc__title { color: var(--cy-soft); }
.svc__desc { font-size: .92rem; color: var(--muted); line-height: 1.66; }

.svc__list { display: grid; gap: .52rem; margin-top: auto; padding-top: .3rem; }
.svc__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .84rem; color: var(--dim); }
.svc__list svg { width: 13px; height: 13px; flex: none; margin-top: 5px; color: var(--cy); }

.svc__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-top: 1.1rem; border-top: 1px solid var(--edge);
}
.svc__price { font-family: var(--f-display); font-size: 1.42rem; color: var(--text); }
.svc__price small { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .18em; color: var(--dim); display: block; text-transform: uppercase; margin-bottom: 2px; }
.svc__go {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .8rem; font-weight: 700; color: var(--cy);
}
.svc__go svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.svc:hover .svc__go svg { transform: translateX(5px); }

/* ---------------------------------------------------------------- MARQUEE */
.marquee {
  position: relative; overflow: hidden; padding-block: .95rem;
  border-block: 1px solid var(--edge); background: rgba(8, 11, 26, .55);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; gap: 2.6rem; animation: slide var(--speed, 42s) linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 2.6rem;
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--dim); white-space: nowrap;
}
.marquee__item .sep { color: var(--vi); font-size: 1rem; }
.marquee__item b { color: var(--muted); font-weight: 500; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ STATS */
.stats { display: grid; gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: var(--r-lg); overflow: hidden; }
.stat { padding: 1.9rem 1.5rem; background: rgba(9, 12, 28, .78); position: relative; transition: background .45s var(--ease); }
.stat:hover { background: rgba(17, 23, 54, .8); }
.stat::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease);
}
.stat:hover::after { transform: scaleX(1); }
.stat__num { font-family: var(--f-display); font-size: clamp(2.3rem, 4.3vw, 3.1rem); line-height: 1; letter-spacing: -.02em; }
.stat__num .suf { color: var(--cy); }
.stat__lbl { margin-top: .6rem; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }

/* ---------------------------------------------------------------- PROCESS */
.flow { position: relative; display: grid; gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: var(--r-lg); overflow: hidden; }
.step { position: relative; padding: 2rem 1.6rem 1.9rem; background: rgba(9, 12, 28, .8); overflow: hidden; transition: background .45s var(--ease); }
.step:hover { background: rgba(17, 23, 54, .82); }
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 12px; margin-bottom: 1.1rem;
  border: 1px solid var(--edge-2); font-family: var(--f-mono); font-size: .78rem; color: var(--cy);
  background: rgba(92, 200, 245, .07); position: relative;
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.step:hover .step__n { transform: rotate(-8deg) scale(1.08); border-color: var(--edge-hot); background: rgba(92, 200, 245, .14); }
.step h3 { font-family: var(--f-body); font-size: 1.02rem; font-weight: 700; letter-spacing: -.005em; margin-bottom: .55rem; }
.step p { font-size: .86rem; color: var(--dim); line-height: 1.65; }
.step__beam {
  position: absolute; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--grad); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .9s var(--ease) var(--d, 0s);
}
.step.in .step__beam { transform: scaleX(1); }

/* ------------------------------------------------------------------ BENTO */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.cell {
  position: relative; padding: 1.6rem; border: 1px solid var(--edge); border-radius: var(--r-lg);
  background: linear-gradient(168deg, rgba(17, 23, 54, .62), rgba(8, 11, 26, .8));
  overflow: hidden; transition: border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.cell:hover { border-color: var(--edge-2); transform: translateY(-3px); box-shadow: 0 26px 56px -28px rgba(0, 0, 0, .9); }
.cell h3 { font-family: var(--f-body); font-size: 1.02rem; font-weight: 700; margin-bottom: .5rem; letter-spacing: -.005em; }
.cell p { font-size: .86rem; color: var(--dim); line-height: 1.65; }
.cell__art { margin-bottom: 1.15rem; height: 84px; display: flex; align-items: center; }
.c-4 { grid-column: span 4; } .c-5 { grid-column: span 5; }
.c-6 { grid-column: span 6; } .c-7 { grid-column: span 7; }
.c-8 { grid-column: span 8; } .c-12 { grid-column: span 12; }

/* -------------------------------------------------------------- SCOPE LIST */
.scope { display: grid; gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: var(--r-lg); overflow: hidden; }
.scope__item { padding: 1.55rem 1.5rem; background: rgba(9, 12, 28, .8); display: flex; gap: 1rem; align-items: flex-start; transition: background .4s var(--ease); }
.scope__item:hover { background: rgba(17, 23, 54, .82); }
.scope__check { width: 26px; height: 26px; flex: none; margin-top: 1px; }
.scope__check circle { stroke: var(--edge-2); }
.scope__check path { stroke: var(--cy); stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .7s var(--ease) var(--d, 0s); }
.scope__item.in .scope__check path { stroke-dashoffset: 0; }
.scope__item h4 { font-family: var(--f-body); font-size: .95rem; font-weight: 700; margin-bottom: .32rem; }
.scope__item p { font-size: .84rem; color: var(--dim); line-height: 1.6; }

/* ---------------------------------------------------------------- ACCORDION */
.faq { border: 1px solid var(--edge); border-radius: var(--r-lg); overflow: hidden; background: rgba(9, 12, 28, .6); }
.qa + .qa { border-top: 1px solid var(--edge); }
.qa__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.28rem 1.5rem; cursor: pointer; text-align: left;
  font-size: .99rem; font-weight: 600; letter-spacing: -.005em;
  transition: background .35s var(--ease), color .3s var(--ease);
}
.qa__q:hover { background: rgba(124, 152, 255, .05); color: var(--cy-soft); }
.qa__ico { width: 22px; height: 22px; flex: none; position: relative; }
.qa__ico::before, .qa__ico::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--cy);
  transform: translate(-50%, -50%); transition: transform .45s var(--ease), opacity .35s;
}
.qa__ico::before { width: 13px; height: 1.5px; }
.qa__ico::after  { width: 1.5px; height: 13px; }
.qa[open] .qa__ico::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.qa__a { overflow: hidden; }
.qa__a-inner { padding: 0 1.5rem 1.38rem; font-size: .9rem; color: var(--muted); line-height: 1.72; max-width: 78ch; }

/* -------------------------------------------------------------- FORM/CONTACT */
.field { position: relative; }
.field label {
  display: block; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--dim); margin-bottom: .55rem; transition: color .3s var(--ease);
}
.field:focus-within label { color: var(--cy); }
.field input, .field textarea, .field select {
  width: 100%; padding: .88rem 1rem; border-radius: 12px;
  border: 1px solid var(--edge); background: rgba(6, 9, 22, .72);
  color: var(--text); font-size: .93rem; font-family: var(--f-body);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.field textarea { min-height: 138px; resize: vertical; line-height: 1.6; }
.field select { appearance: none; cursor: pointer; padding-right: 2.6rem; }
.field .caret { position: absolute; right: 1rem; bottom: 1.05rem; width: 13px; height: 13px; color: var(--dim); pointer-events: none; transition: transform .3s var(--ease); }
.field:focus-within .caret { transform: translateY(2px); color: var(--cy); }
.field input::placeholder, .field textarea::placeholder { color: #4E577C; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--edge-hot); background: rgba(10, 15, 34, .9);
  box-shadow: 0 0 0 4px rgba(92, 200, 245, .09), var(--glow-cy);
}
.field.err input, .field.err textarea, .field.err select { border-color: #FF6B7A; box-shadow: 0 0 0 4px rgba(255, 107, 122, .1); }
.field__err {
  display: block; font-size: .74rem; color: #FF8E99; margin-top: .42rem;
  opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s;
}
.field.err .field__err { opacity: 1; transform: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }

.form-ok {
  display: none; padding: 2.4rem 1.8rem; text-align: center;
  border: 1px solid rgba(110, 231, 215, .32); border-radius: var(--r-lg); background: rgba(110, 231, 215, .06);
}
.form-ok.show { display: block; animation: popIn .6s var(--ease) both; }
.form-ok svg { width: 58px; height: 58px; margin: 0 auto 1.1rem; }
@keyframes popIn { from { opacity: 0; transform: scale(.94) translateY(14px); } to { opacity: 1; transform: none; } }

.contact-card {
  display: flex; gap: 1.05rem; align-items: flex-start; padding: 1.4rem;
  border: 1px solid var(--edge); border-radius: var(--r); background: rgba(9, 12, 28, .68);
  transition: border-color .4s var(--ease), transform .4s var(--ease), background .4s;
}
.contact-card:hover { border-color: var(--edge-hot); transform: translateX(5px); background: rgba(17, 23, 54, .72); }
.contact-card__ico {
  width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--edge-2); background: rgba(92, 200, 245, .07); color: var(--cy);
}
.contact-card__ico svg { width: 19px; height: 19px; }
.contact-card .k { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.contact-card .v { font-size: 1rem; font-weight: 600; margin-top: .28rem; word-break: break-word; }
.contact-card .n { font-size: .78rem; color: var(--dim); margin-top: .2rem; }

/* Registry / detail table */
.dl { display: grid; gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; }
.dl__row { display: grid; grid-template-columns: minmax(150px, 34%) 1fr; gap: 1rem; padding: .92rem 1.25rem; background: rgba(9, 12, 28, .8); transition: background .35s; }
.dl__row:hover { background: rgba(17, 23, 54, .8); }
.dl__row dt { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.dl__row dd { font-size: .9rem; font-weight: 500; word-break: break-word; }

/* ------------------------------------------------------------------- HERO */
.hero { position: relative; padding-top: clamp(8.5rem, 16vw, 11.5rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); z-index: var(--z-body); }
.hero__wrap { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(2rem, 5vw, 4.2rem); align-items: center; }
.hero__art { position: relative; }

/* Word-by-word headline reveal */
.reveal-words .w {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding: 0 .05em .15em; margin: 0 -.05em -.15em;   /* breathing room for descenders + italic overhang */
}
.reveal-words .w > span {
  display: inline-block; transform: translateY(112%) rotate(4deg); opacity: 0;
  transition: transform 1.05s var(--ease-out) var(--d, 0s), opacity .8s var(--ease-out) var(--d, 0s);
}
html.js .reveal-words.in .w > span { transform: none; opacity: 1; }
html:not(.js) .reveal-words .w > span { transform: none; opacity: 1; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 1.7rem; padding-top: 1.7rem; border-top: 1px solid var(--edge); }
.hero__meta div { min-width: 96px; }
.hero__meta .k { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.hero__meta .v { font-size: .95rem; font-weight: 600; margin-top: .3rem; }

/* Page hero (inner pages) */
.phero { position: relative; padding-top: clamp(8rem, 14vw, 10.5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); z-index: var(--z-body); }
.crumbs { display: flex; align-items: center; gap: .55rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; color: var(--dim); margin-bottom: 1.6rem; flex-wrap: wrap; }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--cy); }
.crumbs .sep { opacity: .4; }
.crumbs .cur { color: var(--cy-soft); }

/* --------------------------------------------------------------- CTA BAND */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(3rem, 8vw, 5.2rem) clamp(1.4rem, 5vw, 4rem);
  border: 1px solid var(--edge-2); border-radius: var(--r-xl);
  background: linear-gradient(150deg, rgba(23, 30, 74, .8), rgba(8, 11, 26, .9));
}
.cta-band::before {
  content: ""; position: absolute; width: 130%; height: 260%; left: -15%; top: -80%;
  background: conic-gradient(from 0deg, transparent, rgba(92, 200, 245, .13), transparent 28%, rgba(108, 99, 255, .13), transparent 55%);
  animation: spin 22s linear infinite; pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .row { justify-content: center; }

/* ----------------------------------------------------------------- FOOTER */
.footer { position: relative; z-index: var(--z-body); border-top: 1px solid var(--edge); margin-top: clamp(3rem, 8vw, 6rem); background: rgba(4, 6, 16, .78); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 2.4rem; padding-block: clamp(3rem, 6vw, 4.4rem); }
.footer h4 { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--cy-soft); margin-bottom: 1.1rem; }
.footer__list { display: grid; gap: .62rem; }
.footer__list a, .footer__list span { font-size: .875rem; color: var(--muted); transition: color .3s var(--ease), transform .3s var(--ease); display: inline-block; }
.footer__list a:hover { color: var(--cy); transform: translateX(4px); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between;
  padding-block: 1.5rem; border-top: 1px solid var(--edge); font-size: .8rem; color: var(--dim);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer__legal a { transition: color .3s; }
.footer__legal a:hover { color: var(--cy); }
.footer__wave { display: block; width: 100%; height: 42px; opacity: .5; }

/* ------------------------------------------------------------ LEGAL LAYOUT */
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.toc { position: sticky; top: 118px; }
.toc h4 { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; }
.toc a {
  display: block; padding: .48rem .8rem; border-left: 2px solid var(--edge); border-radius: 0 8px 8px 0;
  font-size: .82rem; color: var(--dim); transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), padding-left .3s var(--ease);
}
.toc a:hover { color: var(--text); background: rgba(124, 152, 255, .05); padding-left: 1rem; }
.toc a.active { color: var(--cy); border-color: var(--cy); background: rgba(92, 200, 245, .07); }

.prose h2 { font-family: var(--f-display); font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-bottom: .9rem; scroll-margin-top: 120px; }
.prose h3 { font-family: var(--f-body); font-size: 1rem; font-weight: 700; margin-bottom: .55rem; margin-top: 1.5rem; color: var(--cy-soft); }
.prose p, .prose li { font-size: .93rem; color: var(--muted); line-height: 1.8; }
.prose p + p { margin-top: .9rem; }
.prose ul { display: grid; gap: .55rem; margin-top: .9rem; }
.prose ul li { display: flex; gap: .7rem; align-items: flex-start; }
.prose ul li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cy); flex: none; margin-top: .68rem; }
.prose section { padding-block: clamp(1.6rem, 3vw, 2.3rem); }
.prose section + section { border-top: 1px solid var(--edge); }
.prose a:not(.btn) { color: var(--cy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(92, 200, 245, .35); transition: text-decoration-color .3s; }
.prose a:not(.btn):hover { text-decoration-color: var(--cy); }
.prose strong { color: var(--text); font-weight: 700; }

/* =============================================================== ORNAMENTS
   Small decorative animated elements sprinkled across the pages
   ========================================================================= */
.orn { position: absolute; pointer-events: none; z-index: 1; opacity: .62; }
.orn--tr { top: clamp(1rem, 4vw, 3rem); right: clamp(1rem, 4vw, 3rem); }
.orn--tl { top: clamp(1rem, 4vw, 3rem); left: clamp(1rem, 4vw, 3rem); }
.orn--br { bottom: clamp(1rem, 4vw, 3rem); right: clamp(1rem, 4vw, 3rem); }
.orn--bl { bottom: clamp(1rem, 4vw, 3rem); left: clamp(1rem, 4vw, 3rem); }

.spin-slow  { animation: spin 26s linear infinite; transform-origin: center; }
.spin-med   { animation: spin 14s linear infinite; transform-origin: center; }
.spin-rev   { animation: spin 19s linear infinite reverse; transform-origin: center; }
.pulse-soft { animation: pulseSoft 3.6s var(--ease-io) infinite; transform-origin: center; }
.float-y    { animation: floatY 7s var(--ease-io) infinite; }
.float-y-2  { animation: floatY 9.5s var(--ease-io) infinite reverse; }
.blink      { animation: blink 2.6s var(--ease-io) infinite; }
.dash-run   { stroke-dasharray: 5 7; animation: dashRun 2.2s linear infinite; }
.dash-run-slow { stroke-dasharray: 3 9; animation: dashRun 5s linear infinite; }
.draw       { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); animation: draw 3.4s var(--ease-io) infinite alternate; }
.sweep      { transform-origin: center; animation: spin 4.5s linear infinite; }
.wave-path  { animation: waveMove 5.5s var(--ease-io) infinite alternate; }

@keyframes pulseSoft { 0%, 100% { opacity: .32; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes floatY    { 0%, 100% { transform: translateY(-7px); } 50% { transform: translateY(7px); } }
@keyframes blink     { 0%, 100% { opacity: .18; } 50% { opacity: 1; } }
@keyframes dashRun   { to { stroke-dashoffset: -24; } }
@keyframes draw      { to { stroke-dashoffset: 0; } }
@keyframes waveMove  { to { d: path("M0 12 Q 15 2, 30 12 T 60 12"); } }

/* bars equalizer ornament */
.eq rect { animation: eqBar 1.5s var(--ease-io) infinite; transform-origin: center bottom; }
.eq rect:nth-child(1) { animation-delay: 0s; }
.eq rect:nth-child(2) { animation-delay: .18s; }
.eq rect:nth-child(3) { animation-delay: .36s; }
.eq rect:nth-child(4) { animation-delay: .54s; }
.eq rect:nth-child(5) { animation-delay: .72s; }
@keyframes eqBar { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* packet travelling along a path */
.packet { animation: packetRun var(--pdur, 3s) linear var(--pdel, 0s) infinite; }
@keyframes packetRun { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }

/* typing caret */
.caret-blink { animation: caretBlink 1.05s steps(1) infinite; }
@keyframes caretBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* orbiting satellite dot */
.orbit-dot { transform-origin: var(--ox, 50%) var(--oy, 50%); animation: spin var(--odur, 9s) linear infinite; }

/* Floating decorative chips (absolute over hero art) */
.fchip {
  position: absolute; display: inline-flex; align-items: center; gap: .45rem;
  padding: .42rem .72rem; border-radius: 10px;
  border: 1px solid var(--edge-2); background: rgba(8, 11, 28, .86);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family: var(--f-mono); font-size: .64rem; letter-spacing: .1em; color: var(--muted);
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .95);
  animation: floatY var(--fdur, 7s) var(--ease-io) var(--fdel, 0s) infinite;
}
.fchip .led { width: 6px; height: 6px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 8px var(--aqua); animation: blink 2.2s var(--ease-io) infinite; }
.fchip .led--cy { background: var(--cy); box-shadow: 0 0 8px var(--cy); }
.fchip .led--vi { background: var(--vi-soft); box-shadow: 0 0 8px var(--vi-soft); }

/* ============================================================ SCROLL REVEAL */
html.js [data-rev] { opacity: 0; transform: translateY(26px); }
html.js [data-rev="left"]  { transform: translateX(-30px); }
html.js [data-rev="right"] { transform: translateX(30px); }
html.js [data-rev="scale"] { transform: scale(.955); }
html.js [data-rev="blur"]  { filter: blur(9px); transform: translateY(18px); }
html.js [data-rev].in {
  opacity: 1; transform: none; filter: none;
  transition: opacity .95s var(--ease-out) var(--d, 0s),
              transform 1.05s var(--ease-out) var(--d, 0s),
              filter .95s var(--ease-out) var(--d, 0s);
}

/* ============================================================ PAGE CURTAIN */
.curtain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: linear-gradient(160deg, #070A1A, #04050E);
  transform: translateY(0); transition: transform 1.05s var(--ease-out);
  display: grid; place-items: center;
}
.curtain.up   { transform: translateY(-101%); }
.curtain.down { transform: translateY(0); }
.curtain__mark { width: 62px; height: 62px; opacity: .9; animation: pulseSoft 1.6s var(--ease-io) infinite; }

/* ============================================================= COOKIE BAR */
.cookiebar {
  position: fixed; left: clamp(10px, 2.6vw, 26px); right: clamp(10px, 2.6vw, 26px); bottom: clamp(10px, 2.6vw, 22px);
  z-index: var(--z-overlay); max-width: 720px; margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.25rem; border: 1px solid var(--edge-2); border-radius: 18px;
  background: rgba(8, 11, 26, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  transform: translateY(140%); opacity: 0; visibility: hidden;
  transition: transform .85s var(--ease-out), opacity .6s var(--ease), visibility .6s;
}
.cookiebar.show { transform: none; opacity: 1; visibility: visible; }
.cookiebar p { font-size: .82rem; color: var(--muted); flex: 1 1 300px; line-height: 1.6; }
.cookiebar p a { color: var(--cy); text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------- BACK TO TOP */
.totop {
  position: fixed; right: clamp(10px, 2.6vw, 26px); bottom: clamp(72px, 12vw, 96px); z-index: var(--z-sticky);
  width: 46px; height: 46px; border-radius: 14px; cursor: pointer; display: grid; place-items: center;
  border: 1px solid var(--edge-2); background: rgba(8, 11, 26, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--cy);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s, border-color .3s, box-shadow .4s;
}
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { border-color: var(--edge-hot); box-shadow: var(--glow-cy); transform: translateY(-3px); }
.totop svg { width: 17px; height: 17px; }

/* ============================================================== RESPONSIVE */
@media (max-width: 1080px) {
  .hero__wrap { grid-template-columns: 1fr; gap: 3rem; }
  .hero__art { max-width: 620px; margin-inline: auto; width: 100%; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .c-4, .c-5, .c-7, .c-8 { grid-column: span 6; }
  .doc { grid-template-columns: 1fr; }
  .toc { position: static; padding-bottom: 1.5rem; border-bottom: 1px solid var(--edge); }
  .toc nav { display: flex; flex-wrap: wrap; gap: .4rem; }
  .toc a { border-left: 0; border: 1px solid var(--edge); border-radius: 99px; padding: .4rem .85rem; }
  .toc a:hover { padding-left: .85rem; }
}

@media (max-width: 880px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .burger { display: block; }
  .bento .cell { grid-column: span 12 !important; }
  .form-grid { grid-template-columns: 1fr; }
  .dl__row { grid-template-columns: 1fr; gap: .3rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo__type { display: none; }
  .nav__inner { padding: .55rem .55rem .55rem .7rem; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__meta { gap: 1.2rem 1.6rem; }
  .svc { padding: 1.5rem 1.3rem; }
  .cookiebar { flex-direction: column; align-items: stretch; }
  .cookiebar .row { justify-content: stretch; }
  .cookiebar .btn { flex: 1; }
  .stat { padding: 1.5rem 1.2rem; }
}

/* ------------------------------------------------------------- ARTWORK */
.art { width: 100%; height: auto; overflow: visible; display: block; }
.art-wrap { position: relative; }
.art-wrap .fchip { z-index: 2; }
.mini { width: 100%; height: 84px; overflow: visible; }

/* stack strip */
.stack-grid { display: grid; gap: 1px; background: var(--edge); border: 1px solid var(--edge); border-radius: var(--r-lg); overflow: hidden; }

/* ------------------------------------------------------------ SEAM GRIDS
   These four grids draw their dividers with a 1px gap over a coloured
   container. auto-fit would leave the seam colour showing through the empty
   cells of a partly-filled last row, so the column counts are explicit and
   always divide the item count evenly (.scope has 6 items, the rest have 4). */
.scope                    { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats, .flow, .stack-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1080px) {
  .scope, .stats, .flow, .stack-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .scope, .flow, .stack-grid { grid-template-columns: minmax(0, 1fr); }
  /* .stats keeps two columns — four stacked numbers is a lot of scrolling */
}
.stack-col { padding: 1.6rem 1.5rem; background: rgba(9, 12, 28, .8); transition: background .4s var(--ease); }
.stack-col:hover { background: rgba(17, 23, 54, .82); }
.stack-col h4 { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--cy-soft); margin-bottom: 1rem; }
.stack-col .row { gap: .5rem; }

/* -------------------------------------------------------------- CONTACT */
.two-col { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 1rem; }
.map { width: 100%; display: block; border-radius: var(--r); overflow: hidden; }
.map-wrap { position: relative; border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; background: rgba(6, 9, 22, .9); }
.map-wrap figcaption {
  display: flex; flex-wrap: wrap; gap: .4rem 1rem; justify-content: space-between;
  padding: .8rem 1.1rem; border-top: 1px solid var(--edge);
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim);
}
@media (max-width: 980px) { .two-col { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- HARDENING */
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
.field select option { background: #0B0F22; color: #EAEEFB; }
/* If JS never runs, the curtain must not stay over the page */
html:not(.js) .curtain,
html:not(.js) .progress { display: none; }
[hidden] { display: none !important; }

/* Print */
@media print {
  .nav, .atmos, .cookiebar, .totop, .curtain, .progress, .marquee { display: none !important; }
  body { background: #fff; color: #000; }
}
