/* ============================================================
   PRIMENESS TECHNOLOGY SOLUTIONS
   Stylesheet — volt-green / black / white, electric vibe
   ------------------------------------------------------------
   Swap the whole palette from --bg / --volt / --white below.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:        #0A0A0B;
  --bg-1:      #0E0E10;   /* raised panel */
  --bg-2:      #131316;   /* card */
  --volt:      #BFFF00;
  --volt-700:  #9ed000;
  --white:     #FFFFFF;
  --ink:       #f4f4f5;   /* near-white text */
  --muted:     #9a9aa2;   /* secondary text */
  --faint:     #6b6b73;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.05);
  --volt-glow: rgba(191,255,0,.45);
  --volt-soft: rgba(191,255,0,.12);

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

  --container: 1240px;
  --pad: clamp(20px, 5vw, 80px);
  --radius: 14px;

  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html.is-loading, html.menu-open { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip (not hidden) so position:sticky keeps working */
  overflow-wrap: break-word; /* long strings (emails) wrap instead of overflowing on mobile */
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: normal; }
sup { font-size: .5em; color: var(--volt); top: -.8em; }

::selection { background: var(--volt); color: #000; }

/* Remove the browser's blue focus/tap highlight; use an on-theme volt ring for keyboard nav only */
* { -webkit-tap-highlight-color: transparent; }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 6px; }

/* Custom scrollbar (the page's own bar, themed) */
* { scrollbar-width: thin; scrollbar-color: var(--volt-700) #000; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #2a2a2e; border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--volt-700); }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  background: var(--volt); color: #000; padding: 10px 16px; border-radius: 8px;
  font: 600 13px/1 var(--font-mono); transform: translateY(-150%); transition: transform .25s;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Layout utils ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(80px, 12vh, 160px); position: relative; }
section[id], [id].section { scroll-margin-top: 88px; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section__intro { color: var(--muted); margin-top: 18px; font-size: clamp(16px, 2vw, 19px); max-width: 60ch; }

.eyebrow {
  font: 600 13px/1 var(--font-mono);
  letter-spacing: .18em; text-transform: uppercase; color: var(--volt);
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.eyebrow__num { display: none; }

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 5.2vw, 60px);
  line-height: 1.02; letter-spacing: -.02em; color: var(--white);
}
.volt { color: var(--volt); }
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--ink); line-height: 1.55; }

/* ---------- Buttons ---------- */
.btn {
  --bg-btn: transparent;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 100px;
  font: 600 15px/1 var(--font-display); letter-spacing: .01em;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), color .25s, box-shadow .35s, border-color .25s;
  will-change: transform; touch-action: manipulation;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--volt { background: var(--volt); color: #07090A; box-shadow: 0 0 0 rgba(191,255,0,0); }
.btn--volt::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.85) 50%, transparent 80%);
  transform: translateX(-130%); transition: transform .6s var(--ease);
}
.btn--volt:hover { box-shadow: 0 10px 40px -8px var(--volt-glow); }
.btn--volt:hover::before { transform: translateX(130%); }

.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--volt);
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.btn--ghost:hover { color: #07090A; border-color: var(--volt); }
.btn--ghost:hover::before { transform: scaleX(1); }

.btn--block { width: 100%; justify-content: center; padding-block: 18px; }
.btn--lg { padding: 19px 34px; font-size: 17px; }

/* ============================================================
   PRELOADER
   ============================================================ */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__inner { width: min(360px, 76vw); text-align: center; }
.preloader__mark { color: var(--volt); display: flex; justify-content: center; margin-bottom: 26px; filter: drop-shadow(0 0 12px var(--volt-glow)); }
.preloader__mark svg { animation: pre-pulse 1.4s var(--ease) infinite; }
@keyframes pre-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.preloader__bar { height: 3px; background: rgba(255,255,255,.1); border-radius: 4px; overflow: hidden; }
.preloader__fill { display: block; height: 100%; width: 0%; background: var(--volt); box-shadow: 0 0 14px var(--volt-glow); }
.preloader__status { margin-top: 16px; font: 500 11px/1 var(--font-mono); letter-spacing: .25em; color: var(--muted); }

/* ============================================================
   SCROLL RAIL (top progress)
   ============================================================ */
.scroll-rail { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 900; background: transparent; }
.scroll-rail__fill { display: block; height: 100%; width: 0%; background: var(--volt); box-shadow: 0 0 12px var(--volt-glow); }

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor { position: fixed; top: 0; left: 0; z-index: 9000; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 7px; height: 7px; background: var(--volt); }
.cursor__ring {
  width: 38px; height: 38px; border: 1.5px solid var(--volt);
  transition: width .25s var(--ease), height .25s var(--ease), opacity .25s, background .25s;
  opacity: .6;
}
.cursor.is-hover .cursor__ring { width: 60px; height: 60px; background: var(--volt-soft); opacity: 1; }
.cursor.is-down .cursor__ring { width: 26px; height: 26px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ============================================================
   SIDE VOLTAGE METER (scroll indicator)
   ============================================================ */
.meter {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 700; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.meter__track { width: 4px; height: 180px; background: rgba(255,255,255,.08); border-radius: 4px; overflow: hidden; position: relative; }
.meter__fill { position: absolute; left: 0; bottom: 0; width: 100%; height: 0%; background: linear-gradient(180deg, var(--volt), var(--volt-700)); box-shadow: 0 0 12px var(--volt-glow); }
.meter__label { font: 600 11px/1 var(--font-mono); color: var(--volt); }
.meter__label small { color: var(--faint); }
.meter__ticks { display: flex; flex-direction: column; gap: 9px; }
.meter__ticks li { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--line); transition: all .3s var(--ease); cursor: pointer; }
.meter__ticks li.is-active { background: var(--volt); border-color: var(--volt); box-shadow: 0 0 10px var(--volt-glow); transform: scale(1.25); }
@media (max-width: 1100px) { .meter { display: none; } }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; top: 0; inset-inline: 0; z-index: 800; transition: transform .4s var(--ease); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--container); margin-inline: auto;
  padding-block: 22px;
  padding-inline: max(var(--pad), env(safe-area-inset-left)) max(var(--pad), env(safe-area-inset-right));
  transition: padding .35s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10,10,11,.72); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .35s var(--ease);
}
.nav.is-stuck::before { opacity: 1; }
.nav.is-stuck .nav__inner { padding-block: 13px; }
.nav.is-hidden { transform: translateY(-100%); }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { color: var(--volt); display: grid; place-items: center; filter: drop-shadow(0 0 8px var(--volt-glow)); }
.brand__pulse { stroke-dasharray: 40; stroke-dashoffset: 0; animation: trace 3.2s linear infinite; }
@keyframes trace { from { stroke-dashoffset: 80; } to { stroke-dashoffset: 0; } }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 18px/1 var(--font-display); letter-spacing: .02em; color: var(--white); }
.brand__sub { font: 500 8.5px/1 var(--font-mono); letter-spacing: .28em; color: var(--muted); margin-top: 5px; }

/* Links */
.nav__links { position: relative; display: flex; align-items: center; gap: 6px; }
.nav__links a {
  position: relative; padding: 9px 16px; border-radius: 100px;
  font: 500 14.5px/1 var(--font-body); color: var(--muted);
  transition: color .25s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 1.5px;
  background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease-out);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__indicator {
  position: absolute; top: 0; left: 0; height: 30px; width: 0; border-radius: 100px;
  background: var(--volt-soft); border: 1px solid rgba(191,255,0,.25);
  opacity: 0; transition: all .35s var(--ease); pointer-events: none; z-index: -1;
}

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__cta { padding: 12px 20px; font-size: 14px; }

/* Hamburger */
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; border-radius: 10px; border: 1px solid var(--line); }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
html.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--volt); }
html.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
html.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--volt); }

@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: block; }
}

/* ============================================================
   OVERLAY MENU
   ============================================================ */
.overlay {
  position: fixed; inset: 0; z-index: 790; background: #060607;
  clip-path: circle(0% at calc(100% - 46px) 46px);
  transition: clip-path .7s var(--ease-out);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad); visibility: hidden;
}
html.menu-open .overlay { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; }
.overlay__grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 70% 30%, #000, transparent 75%);
}
.overlay__nav { display: flex; flex-direction: column; gap: clamp(2px, 1vw, 8px); max-width: var(--container); margin-inline: auto; width: 100%; }
.overlay__nav a {
  display: flex; align-items: baseline; gap: 22px; padding: clamp(6px, 1.4vh, 14px) 0;
  border-bottom: 1px solid var(--line-2);
  opacity: 0; transform: translateY(40px);
}
html.menu-open .overlay__nav a { opacity: 1; transform: translateY(0); transition: opacity .5s var(--ease) var(--d, 0s), transform .6s var(--ease-out) var(--d, 0s); }
.overlay__idx { font: 500 14px/1 var(--font-mono); color: var(--volt); }
.overlay__word { font-family: var(--font-display); font-weight: 600; font-size: clamp(34px, 8vw, 86px); line-height: 1; letter-spacing: -.02em; color: var(--ink); transition: color .25s, transform .35s var(--ease); }
.overlay__nav a:hover .overlay__word { color: var(--volt); transform: translateX(18px); }
.overlay__foot { display: flex; flex-wrap: wrap; gap: 12px 30px; max-width: var(--container); margin: 40px auto 0; width: 100%; }
.overlay__contact { font: 500 14px/1.4 var(--font-mono); color: var(--muted); border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; overflow-wrap: anywhere; min-width: 0; max-width: 100%; }
.overlay__contact:hover { color: var(--volt); border-color: var(--volt); }
@media (max-width: 380px) {
  .overlay__word { font-size: clamp(26px, 7.5vw, 86px); }
  .overlay__nav a { gap: 14px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding-top: 90px; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 80% 10%, transparent 40%, rgba(10,10,11,.55) 100%),
    linear-gradient(180deg, rgba(10,10,11,.35) 0%, transparent 25%, rgba(10,10,11,.85) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); width: 100%; }

.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 13px/1 var(--font-mono); letter-spacing: .2em; color: var(--ink);
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 100px;
  background: rgba(255,255,255,.02); margin-bottom: 30px;
}
.hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 0 var(--volt-glow); animation: blip 1.8s var(--ease) infinite; }
@keyframes blip { 0% { box-shadow: 0 0 0 0 var(--volt-glow); } 70% { box-shadow: 0 0 0 9px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(46px, 11vw, 138px); line-height: .98; letter-spacing: -.03em; color: var(--white); }
/* No overflow:hidden here — it was clipping descenders (the tail on "y")
   and hard-cropping the underline glow into a green box. */
.hero__title .line { display: block; padding-bottom: .04em; }
.hero__title em { color: var(--volt); position: relative; }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: .055em;
  background: var(--volt); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease-out) .9s;
}
.hero.is-in .hero__title em::after { transform: scaleX(1); }

.hero__lead { max-width: 60ch; margin-top: 28px; font-size: clamp(17px, 2.1vw, 21px); color: var(--ink); }
.hero__lead strong { color: var(--volt); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 42px; }
.hero__badges li { position: relative; padding-left: 20px; font: 500 13px/1 var(--font-mono); letter-spacing: .04em; color: var(--muted); }
.hero__badges li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--volt); }

.hero__scroll { position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; font: 500 10px/1 var(--font-mono); letter-spacing: .3em; color: var(--muted); }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--volt), transparent); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--volt); animation: scrolldrop 1.8s var(--ease) infinite; }
@keyframes scrolldrop { 0% { top: -50%; } 100% { top: 100%; } }

/* ============================================================
   TRUST MARQUEE
   ============================================================ */
.trust { border-block: 1px solid var(--line); background: var(--bg-1); overflow: hidden; padding-top: 24px; }
.trust__label { text-align: center; font: 500 11px/1 var(--font-mono); letter-spacing: .24em; text-transform: uppercase; color: var(--faint); margin-bottom: 4px; }
.marquee { display: flex; overflow: hidden; padding-block: 20px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 26px; white-space: nowrap; animation: marquee 38s linear infinite; will-change: transform; }
/* Keep it flowing even on hover (no pause). */
.marquee__track span { font: 600 clamp(16px, 2.4vw, 26px) var(--font-display); letter-spacing: .02em; color: var(--ink); }
.marquee__track i { color: var(--volt); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 5vw, 80px); }
.about__head { align-self: start; }
.about__body p { color: var(--muted); margin-bottom: 20px; }
.about__body .lead { color: var(--ink); }
.about__stats { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 40px; -webkit-user-select: none; user-select: none; cursor: default; }
.ministat { flex: 1 1 140px; min-width: 0; padding: 22px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.ministat__num { display: block; font: 700 clamp(28px, 4.2vw, 46px) var(--font-display); color: var(--volt); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-shadow: 0 0 24px var(--volt-glow); will-change: transform; white-space: nowrap; }
.ministat__label { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__head { position: static; } }

/* ============================================================
   CAPABILITIES / CARDS
   ============================================================ */
.caps__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  position: relative; padding: 34px 30px; border-radius: var(--radius); text-align: center;
  background: var(--bg-2); border: 1px solid var(--line); overflow: hidden;
  transition: transform .4s var(--ease), border-color .35s, background .35s;
  transform-style: preserve-3d;
}
.card::before { /* corner trace that lights up */
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); padding: 1px;
  background: linear-gradient(135deg, var(--volt), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .35s;
}
.card:hover { background: #17171b; border-color: transparent; }
.card:hover::before { opacity: 1; }
.card__num { display: none; }
.card:hover .card__num { color: var(--volt); }
.card__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-inline: auto; border-radius: 12px; background: var(--bg-1); border: 1px solid var(--line); color: var(--volt); margin-bottom: 22px; transition: transform .4s var(--ease), box-shadow .35s; }
.card__icon svg { width: 30px; height: 30px; }
.card:hover .card__icon { transform: translateY(-3px); box-shadow: 0 0 24px -6px var(--volt-glow); }
.card h3 { font: 600 clamp(20px, 2.4vw, 24px)/1.15 var(--font-display); color: var(--white); margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--muted); line-height: 1.55; max-width: 40ch; margin-inline: auto; }
.card__list { margin: 20px auto 0; width: fit-content; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 26px; justify-items: start; text-align: left; }
.card__list li { position: relative; padding-left: 18px; font: 500 13px/1.4 var(--font-mono); color: var(--faint); transition: color .3s; }
.card__list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 6px; height: 6px; border: 1px solid var(--volt); transform: rotate(45deg); }
.card:hover .card__list li { color: var(--muted); }
@media (max-width: 560px) { .caps__grid { grid-template-columns: 1fr; } .card__list { grid-template-columns: 1fr; } }

/* ============================================================
   WHY
   ============================================================ */
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.why__item { background: var(--bg); padding: 32px 26px; transition: background .35s; }
.why__item:hover { background: var(--bg-2); }
.why__k { display: none; }
.why__item h3 { font: 600 18px/1.2 var(--font-display); color: var(--white); margin: 0 0 10px; }
.why__item p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 980px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why__grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROCESS / STEPS
   ============================================================ */
.steps { position: relative; display: grid; gap: 0; }
/* Track + fill sit at negative z-index so they can NEVER paint over the
   circles/numbers — even mid-reveal, when the steps' opacity/transform
   transitions create temporary stacking contexts. */
.steps::before { content: ""; position: absolute; z-index: -2; left: 27px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.steps::after { content: ""; position: absolute; z-index: -1; left: 27px; top: 10px; width: 2px; height: var(--steps-progress, 0%); background: var(--volt); box-shadow: 0 0 12px var(--volt-glow); transition: height .2s linear; }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 26px; padding: 22px 0; }
.step__no { position: relative; z-index: 2; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); font: 600 16px/1 var(--font-mono); color: var(--muted); transition: all .35s var(--ease); }
.step.is-in .step__no { color: var(--volt); border-color: var(--volt); box-shadow: 0 0 20px -4px var(--volt-glow); }
.step__body h3 { font: 600 clamp(20px, 3vw, 28px) var(--font-display); color: var(--white); margin-bottom: 8px; }
.step__body p { color: var(--muted); max-width: 60ch; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats { position: relative; border-block: 1px solid var(--line); background: var(--bg-1); overflow: hidden; padding-block: clamp(50px, 8vw, 90px); -webkit-user-select: none; user-select: none; cursor: default; }
.stats__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.stats__grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; text-align: center; }
.stat { min-width: 0; }
.stat__num {
  display: block; font: 700 clamp(46px, 8.5vw, 100px) var(--font-display);
  color: var(--volt); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
  text-shadow: 0 0 28px var(--volt-glow); will-change: transform, filter;
}
/* ---- Glitch numbers: volt-only jolt + flicker + digit corruption (no ghost layers) ---- */
.stat__num.glitch, .ministat__num.glitch { position: relative; will-change: transform, opacity; animation: voltBreath 2.6s ease-in-out infinite; }
@keyframes voltBreath { 0%, 100% { text-shadow: 0 0 20px var(--volt-glow); } 50% { text-shadow: 0 0 40px var(--volt-glow); } }
/* hard burst (JS adds .glitch--burst while the digits corrupt into glyphs) */
.stat__num.glitch--burst, .ministat__num.glitch--burst { animation: glitchJolt .1s steps(2, end) infinite; }
/* No transforms here on purpose — only opacity + glow flash, so the glitch can
   never shift the layout. The motion is the digit scramble (JS) + this flicker. */
@keyframes glitchJolt {
  0%   { opacity: 1;   text-shadow: 0 0 24px var(--volt-glow); }
  20%  { opacity: .5;  text-shadow: 0 0 56px var(--volt); }
  40%  { opacity: 1; }
  60%  { opacity: .78; text-shadow: 0 0 56px var(--volt); }
  80%  { opacity: 1; }
  100% { opacity: 1;   text-shadow: 0 0 24px var(--volt-glow); }
}
.stat__label { display: block; margin-top: 12px; font: 500 13px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 620px) { .stats__grid { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   MARKETS
   ============================================================ */
.markets__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line);
  --mkt-py: clamp(14px, 1.9vw, 22px); --mkt-inset: clamp(22px, 3vw, 50px); }
.markets__list li { border-bottom: 1px solid var(--line); }
.markets__list li:nth-child(even) { border-left: 1px solid var(--line); }   /* center divider anchors the two columns */
.markets__list li span {
  display: block; position: relative; padding: var(--mkt-py) 0;
  font: 600 clamp(18px, 2.5vw, 30px) var(--font-display); color: var(--faint);
  letter-spacing: -.01em; white-space: nowrap; transform-origin: left center; will-change: transform;
  transition: color .3s var(--ease), transform .42s var(--ease), letter-spacing .42s var(--ease), text-shadow .3s;
}
.markets__list li:nth-child(odd) span { padding-right: var(--mkt-inset); }   /* breathing room before divider (col 1 stays flush to heading's left) */
.markets__list li:nth-child(even) span { padding-left: var(--mkt-inset); }   /* breathing room after divider */
/* base hover = volt + glow; then each item gets its OWN move */
.markets__list li:hover span { color: var(--volt); text-shadow: 0 0 26px var(--volt-glow); }
.markets__list li:nth-child(1):hover span { transform: translateX(22px); }                                   /* slide */
.markets__list li:nth-child(2):hover span { letter-spacing: .16em; }                                          /* spread */
.markets__list li:nth-child(3):hover span { transform: skewX(-11deg); }                                       /* skew */
.markets__list li:nth-child(4):hover span { color: var(--white); text-shadow: none; }                         /* underline sweep */
.markets__list li:nth-child(5):hover span { transform: scale(1.07); }                                         /* scale */
.markets__list li:nth-child(6):hover span { color: transparent; -webkit-text-stroke: 1.5px var(--volt); text-shadow: none; } /* outline */
.markets__list li:nth-child(7):hover span { color: #07090A; text-shadow: none; }                              /* highlight wipe */
.markets__list li:nth-child(8):hover span { animation: mktGlitch .34s steps(2) 1; }                           /* glitch */
.markets__list li:nth-child(9):hover span { transform: translateX(22px); }                                    /* slide */
.markets__list li:nth-child(10):hover span { letter-spacing: .16em; }                                          /* spread */
.markets__list li:nth-child(11):hover span { transform: skewX(-11deg); }                                       /* skew */
.markets__list li:nth-child(12):hover span { transform: scale(1.07); }                                         /* scale */
.markets__list li:nth-child(4) span::after { content: ""; position: absolute; left: var(--mkt-inset); bottom: var(--mkt-py); height: 3px; width: calc(100% - var(--mkt-inset)); background: var(--volt); box-shadow: 0 0 12px var(--volt-glow); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.markets__list li:nth-child(4):hover span::after { transform: scaleX(1); }
.markets__list li:nth-child(7) span::before { content: ""; position: absolute; inset: clamp(8px, 1.6vw, 16px) var(--mkt-inset) clamp(8px, 1.6vw, 16px) 0; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); z-index: -1; }
.markets__list li:nth-child(7):hover span::before { transform: scaleX(1); }
@keyframes mktGlitch { 0%,100% { transform: translate(0); } 20% { transform: translate(-4px,1px) skewX(-7deg); } 45% { transform: translate(4px,-1px) skewX(5deg); } 70% { transform: translate(-2px,0) skewX(-3deg); } }
@media (max-width: 700px) {
  .markets__list { grid-template-columns: 1fr; }
  .markets__list li:nth-child(even) { border-left: none; }                              /* no divider in single column */
  .markets__list li:nth-child(odd) span, .markets__list li:nth-child(even) span { padding-left: 0; padding-right: 0; }
  .markets__list li span { white-space: normal; font-size: clamp(20px, 6.5vw, 32px); }
}

/* ============================================================
   CREDENTIALS
   ============================================================ */
.creds__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 80px); align-items: start; }
.creds__head .btn { margin-top: 30px; }
.creds__list { display: grid; gap: 0; }
.creds__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.creds__list li:first-child { border-top: 1px solid var(--line); }
.creds__k { font: 500 13px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.creds__v { font: 600 clamp(16px, 2.4vw, 22px) var(--font-display); color: var(--white); text-align: right; }
@media (max-width: 820px) { .creds__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .creds__list li { flex-direction: column; align-items: flex-start; gap: 6px; }
  .creds__list li > * { min-width: 0; }
  .creds__v { text-align: left; }
}

/* ============================================================
   CONTACT / BIDFORM
   ============================================================ */
.contact { background: var(--bg-1); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 80px); align-items: start; }
.contact__title { font-size: clamp(32px, 6vw, 68px); }
.contact__pitch .lead { color: var(--muted); margin-top: 22px; }
.contact__direct { margin-top: 36px; display: grid; gap: 18px; }
.contact__direct li { display: grid; gap: 4px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.contact__lbl { font: 500 11px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.contact__direct li { min-width: 0; }
.contact__direct a, .contact__direct li > span:last-child { font: 600 clamp(16px, 2.4vw, 20px) var(--font-display); color: var(--white); transition: color .25s; overflow-wrap: anywhere; }
.contact__direct a:hover { color: var(--volt); }

/* Form */
/* ---- "Live wire" intake panel: each field is a wire that energizes ---- */
.bidform { position: relative; padding: clamp(28px, 3.6vw, 46px); background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
/* instrument corner brackets (diagonal) */
.bidform::before, .bidform::after { content: ""; position: absolute; width: 20px; height: 20px; pointer-events: none; opacity: .55; }
.bidform::before { top: 14px; left: 14px; border-top: 2px solid var(--volt); border-left: 2px solid var(--volt); }
.bidform::after { bottom: 14px; right: 14px; border-bottom: 2px solid var(--volt); border-right: 2px solid var(--volt); }
.bidform__row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2.2vw, 30px); }

.wire { position: relative; margin-bottom: clamp(20px, 2.4vw, 30px); }
.wire__tag { display: flex; align-items: center; gap: 8px; font: 600 11px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--volt); margin-bottom: 9px; transition: text-shadow .25s; }
.wire input, .wire select, .wire textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid var(--line);
  border-radius: 0; padding: 9px 2px; color: var(--white); font: 500 16px/1.5 var(--font-body);
  transition: border-color .25s;
}
/* 16px, not smaller — anything smaller triggers iOS Safari's auto-zoom-on-focus. */
.wire input::placeholder, .wire textarea::placeholder { color: var(--faint); }
.wire input:focus, .wire select:focus, .wire textarea:focus { outline: none; }
.wire textarea { resize: vertical; min-height: 118px; }
.wire:focus-within .wire__tag { text-shadow: 0 0 12px var(--volt-glow); }

/* the wire itself — charges left to right when focused */
.wire__line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--volt); box-shadow: 0 0 10px var(--volt-glow); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out), opacity .25s, background-color .2s; }
/* filled but not focused: dim, persistent charge so completed fields read as "live" */
.wire input:not(:placeholder-shown) ~ .wire__line,
.wire textarea:not(:placeholder-shown) ~ .wire__line,
.wire--select select:valid ~ .wire__line { transform: scaleX(1); opacity: .38; }
/* focused: full charge (declared after, same specificity, so it wins) */
.wire:focus-within input ~ .wire__line,
.wire:focus-within textarea ~ .wire__line,
.wire:focus-within select ~ .wire__line { transform: scaleX(1); opacity: 1; }
/* travelling current pulse rides the wire while focused */
.wire__line::after { content: ""; position: absolute; top: 50%; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px var(--volt-glow); transform: translate(-50%, -50%); opacity: 0; }
.wire:focus-within .wire__line::after { animation: wirePulse 1.5s var(--ease) infinite; }
@keyframes wirePulse { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* select: volt caret, dim until a real scope is chosen (label sits above, so no overlap) */
.wire--select select { appearance: none; -webkit-appearance: none; padding-right: 26px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23BFFF00' stroke-width='2.2'%3E%3Cpath d='M3 5l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; }
.wire--select select:invalid { color: var(--faint); }
.wire--select select option { background: var(--bg-2); color: var(--white); }

/* invalid (JS toggles .invalid on the control) — the wire turns red and locks on */
.wire input.invalid, .wire select.invalid, .wire textarea.invalid { border-bottom-color: #ff5470; }
.wire input.invalid ~ .wire__line, .wire select.invalid ~ .wire__line, .wire textarea.invalid ~ .wire__line { transform: scaleX(1); opacity: 1; background: #ff5470; box-shadow: 0 0 10px rgba(255,84,112,.5); }
.bidform__note { margin-top: 14px; font: 500 12.5px/1.4 var(--font-mono); color: var(--faint); text-align: center; }

.bidform__success {
  position: absolute; inset: 0; z-index: 4; background: var(--bg-2); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 30px;
  opacity: 0; visibility: hidden; transform: scale(.97); transition: all .45s var(--ease-out);
}
.bidform__success.is-shown { opacity: 1; visibility: visible; transform: scale(1); }
.bidform__success svg { color: var(--volt); filter: drop-shadow(0 0 14px var(--volt-glow)); }
.bidform__success h3 { font: 600 26px/1.1 var(--font-display); color: var(--white); }
.bidform__success p { color: var(--muted); max-width: 36ch; }
.btn--loading .btn__label { opacity: .5; }

@media (max-width: 820px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .bidform__row { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER (live circuit)
   ============================================================ */
.footer { position: relative; background: #060607; border-top: 1px solid var(--line); overflow: hidden; padding-top: clamp(70px, 10vw, 130px); }
.footer__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .85; }
.footer .container { position: relative; z-index: 2; }

.footer__top { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: clamp(40px, 6vw, 90px); align-items: center; padding-bottom: clamp(50px, 7vw, 80px); }
.footer__big { font: 700 clamp(38px, 6vw, 84px) var(--font-display); line-height: .95; letter-spacing: -.03em; color: var(--white); margin-bottom: 30px; }
.footer__big span { display: block; white-space: nowrap; }   /* keep "Ready to" / "power up?" each on one line */
.footer__cta .btn { }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 44px); align-self: stretch; align-content: center; border-left: 1px solid var(--line); padding-left: clamp(30px, 4vw, 60px); }
.footer__col { display: flex; flex-direction: column; gap: 14px; }
.footer__h { font: 500 11px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--volt); margin-bottom: 6px; }
.footer__col a { font-size: 15px; color: var(--muted); width: fit-content; position: relative; transition: color .25s; }
.footer__col a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--volt); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.footer__col a:hover { color: var(--white); }
.footer__col a:hover::after { transform: scaleX(1); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 26px; padding: 28px 0; border-top: 1px solid var(--line); }
.footer__bottom-group { display: inline-flex; align-items: center; gap: clamp(14px, 2.5vw, 28px); flex-wrap: wrap; }
.footer__copy, .footer__meta { font: 500 12.5px/1.5 var(--font-mono); color: var(--faint); }
.footer__meta { display: inline-flex; gap: 8px; align-items: center; }
.footer__top-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--white); overflow: hidden; transition: color .3s, border-color .3s; }
.footer__top-btn svg { position: relative; z-index: 2; }
.footer__top-fill { position: absolute; inset: 0; background: var(--volt); transform: translateY(100%); transition: transform .35s var(--ease); }
.footer__top-btn:hover { color: #000; border-color: var(--volt); }
.footer__top-btn:hover .footer__top-fill { transform: translateY(0); }

.footer__watermark { position: relative; z-index: 1; text-align: center; white-space: nowrap; font: 700 clamp(36px, 16vw, 240px) var(--font-display); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); margin-top: 10px; user-select: none; pointer-events: none; }

@media (max-width: 820px) {
  .footer__top { grid-template-columns: 1fr; align-items: start; }
  .footer__cols { border-left: none; padding-left: 0; align-self: start; }
}
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer__cols { grid-template-columns: 1fr; } }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: .08s; }
[data-reveal][data-d="2"] { transition-delay: .16s; }
[data-reveal][data-d="3"] { transition-delay: .24s; }
[data-reveal][data-d="4"] { transition-delay: .32s; }
[data-reveal][data-d="5"] { transition-delay: .40s; }

/* Hero lines rise + fade (no overflow clip, so descenders never get cut) */
.hero__title .line[data-reveal] { transform: translateY(44px); opacity: 0; transition: transform .9s var(--ease-out), opacity .9s var(--ease-out); }
.hero__title .line[data-reveal].is-in { transform: translateY(0); opacity: 1; }
.hero__title .line[data-reveal][data-d="2"] { transition-delay: .12s; }

/* ============================================================
   REDUCED MOTION — intentionally NOT honored.
   This site is meant to be fully animated for every visitor.
   ============================================================ */

/* ============================================================
   NON-SELECTABLE DISPLAY TEXT
   Large decorative headings/labels shouldn't show a text-cursor
   or highlight on click. Contact info (email/phone) and data
   values (credentials) are deliberately left OUT of this list
   so visitors can still copy them.
   ============================================================ */
.eyebrow,
.hero__title,
.hero__badges,
.h2,
.footer__big,
.brand__name,
.brand__sub,
.card h3,
.why__item h3,
.step__body h3,
.markets__list li span {
  -webkit-user-select: none;
  user-select: none;
  cursor: default;
}
