/* ============================================================
   EXELIQ — obsidian / volt design system
   Fonts: Clash Display (display) · Satoshi (body) · JetBrains Mono (technical)
   ============================================================ */

:root {
  --bg: #07070b;
  --bg-2: #0b0b12;
  --surface: #10101a;
  --surface-2: #16161f;
  --line: rgba(240, 240, 234, 0.09);
  --line-strong: rgba(240, 240, 234, 0.18);
  --text: #f2f1ea;
  --muted: #a3a2ab;
  --faint: #6d6c76;
  --volt: #cdff44;
  --volt-deep: #9dcc1e;
  --violet: #8f7bff;
  --font-display: "Clash Display", "Arial Narrow", sans-serif;
  --font-body: "Satoshi", "Helvetica Neue", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", monospace;
  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-pad: clamp(3.5rem, 6vw, 5.5rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 2000;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--volt);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--volt);
}

.h-xl { font-size: clamp(2.9rem, 8.5vw, 6.8rem); }
.h-lg { font-size: clamp(2.2rem, 5.5vw, 4.2rem); }
.h-md { font-size: clamp(1.5rem, 3.2vw, 2.3rem); }

.lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.65;
  max-width: 38em;
}

.volt-text { color: var(--volt); }

.outline-word {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(242, 241, 234, 0.55);
}

/* ---------- Layout ---------- */
.wrap {
  width: min(1240px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

section { padding-block: var(--section-pad); position: relative; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 46rem;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 11, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: baseline;
}
.logo .dot { color: var(--volt); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}
.nav-links a:not(.btn) {
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:not(.btn):hover,
.nav-links a.active:not(.btn) { color: var(--text); }
.nav-links a.active:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 18px;
  height: 2px;
  background: var(--volt);
}

.nav .btn {
  padding: 0.55rem 0.6rem 0.55rem 1.1rem;
  font-size: 0.88rem;
  border-radius: 11px;
  gap: 0.6rem;
}
.nav .btn .arrow { width: 24px; height: 24px; border-radius: 7px; font-size: 0.8rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.8rem 1.05rem 0.8rem 1.5rem;
  border-radius: 14px;
  border: 1px solid transparent;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.1), box-shadow 0.3s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}
.btn .arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1.2);
}
.btn:hover .arrow { transform: translateX(3px); }
.btn:not(:has(.arrow)) { padding-inline: 1.5rem; }

.btn-volt {
  background: linear-gradient(180deg, #ddff70 0%, var(--volt) 55%, #b9ef2e 100%);
  color: #0a0d02;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 10px 28px -10px rgba(205, 255, 68, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.35);
}
.btn-volt .arrow { background: #0a0d02; color: var(--volt); }
.btn-volt::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn-volt:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 16px 38px -10px rgba(205, 255, 68, 0.65),
    0 3px 8px rgba(0, 0, 0, 0.4);
}
.btn-volt:hover::after { left: 120%; }

.btn-ghost {
  background: rgba(242, 241, 234, 0.045);
  border-color: var(--line-strong);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(242, 241, 234, 0.06);
}
.btn-ghost .arrow { background: rgba(205, 255, 68, 0.12); color: var(--volt); }
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(205, 255, 68, 0.45);
  background: rgba(205, 255, 68, 0.07);
  box-shadow: inset 0 1px 0 rgba(242, 241, 234, 0.06), 0 10px 26px -12px rgba(205, 255, 68, 0.35);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  overflow: hidden;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(45% 38% at 78% 30%, rgba(205, 255, 68, 0.10), transparent 70%),
    radial-gradient(38% 32% at 12% 82%, rgba(143, 123, 255, 0.09), transparent 70%),
    radial-gradient(60% 55% at 50% 115%, rgba(205, 255, 68, 0.05), transparent 70%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(242, 241, 234, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 241, 234, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  position: relative;
}
.hero h1 { margin-block: 0 1.8rem; }
.hero-lede {
  position: relative;
  color: #c6c5cf;
  padding-left: 1.4rem;
  max-width: 34em;
}
.hero-lede::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  bottom: 0.35em;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--volt), rgba(205, 255, 68, 0.1));
}
.hero-lede strong { color: var(--text); font-weight: 600; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.4rem;
}
.hero-meta {
  margin-top: 3.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--faint);
  letter-spacing: 0.08em;
}
.hero-meta strong {
  display: block;
  color: var(--text);
  font-size: 1.35rem;
  font-family: var(--font-display);
  letter-spacing: 0;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  justify-self: end;
  width: 100%;
  margin-top: -5.5rem;
}
.hero-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(205, 255, 68, 0.13), transparent 62%);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.07); opacity: 1; }
}
/* HUD annotations — engineered readouts, not pills */
.hero-visual .hud-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  animation: hud-drift 7s ease-in-out infinite;
}
.hud-tag .hud-ping {
  position: relative;
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 10px rgba(205, 255, 68, 0.8);
}
.hud-tag .hud-ping::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(205, 255, 68, 0.7);
  animation: hud-ping 2.4s ease-out infinite;
}
.hud-tag .hud-line {
  width: 30px;
  height: 1px;
  flex: none;
  background: linear-gradient(90deg, rgba(205, 255, 68, 0.65), rgba(205, 255, 68, 0.05));
}
.hud-tag .hud-text {
  display: grid;
  gap: 0.15rem;
  line-height: 1.2;
}
.hud-tag strong {
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 0 14px rgba(7, 7, 11, 0.9);
}
.hud-tag em {
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--faint);
}
.hud-tag.flip { flex-direction: row-reverse; text-align: right; }
.hud-tag.flip .hud-line {
  background: linear-gradient(270deg, rgba(205, 255, 68, 0.65), rgba(205, 255, 68, 0.05));
}
.hud-tag.t1 { top: 10%; left: -7%; animation-delay: 0s; }
.hud-tag.t2 { bottom: 24%; right: -9%; animation-delay: -2.3s; }
.hud-tag.t3 { bottom: 2%; left: 8%; animation-delay: -4.6s; }
@keyframes hud-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
@keyframes hud-ping {
  0% { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2.6); opacity: 0; }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.15rem;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--faint);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
}
.marquee-track span::after {
  content: "✦";
  color: var(--volt);
  font-size: 0.8rem;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Services bento ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.service-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(205, 255, 68, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(205, 255, 68, 0.12);
}
.service-card .card-img {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.service-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.service-card:hover .card-img img { transform: scale(1.06); }
.service-card .card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--surface) 100%);
}
.service-card .card-body {
  padding: 1.8rem 1.9rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}
.service-card .num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--volt);
  letter-spacing: 0.18em;
}
.service-card h3 { font-size: 1.6rem; }
.service-card p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.card-link {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.card-link .arrow { color: var(--volt); transition: transform 0.25s ease; }
.service-card:hover .card-link .arrow { transform: translateX(5px); }

/* ---------- Stats ---------- */
.stats-band {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat { text-align: left; }
.stat .value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  color: var(--text);
  line-height: 1;
}
.stat .value em { color: var(--volt); font-style: normal; }
.stat .label {
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- Case studies ---------- */
.case-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1.5rem, 3.5vw, 3.2rem);
  margin-bottom: 1.6rem;
  overflow: hidden;
  position: relative;
}
.case-card.flip { grid-template-columns: 0.95fr 1.05fr; }
.case-card.flip .case-media { order: 2; }
.case-media {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/11;
  background: var(--bg-2);
}
.case-media img { width: 100%; height: 100%; object-fit: cover; }

/* Browser-framed screenshot variant */
.case-media.browser {
  display: flex;
  flex-direction: column;
  background: #171720;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.case-media.browser::before {
  content: "";
  flex: none;
  height: 34px;
  border-bottom: 1px solid var(--line);
  background-color: #10101a;
  background-image:
    radial-gradient(circle at 18px 17px, #ff5f57 4.5px, transparent 5.5px),
    radial-gradient(circle at 38px 17px, #febc2e 4.5px, transparent 5.5px),
    radial-gradient(circle at 58px 17px, #28c840 4.5px, transparent 5.5px);
}
.case-media.browser img {
  flex: 1;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
}
.case-body .client {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--volt);
}
.case-body h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-block: 0.9rem 1rem; }
.case-body p { color: var(--muted); }
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

/* ---------- Process ---------- */
.process-list { counter-reset: step; display: grid; gap: 0; }
.process-step {
  display: grid;
  grid-template-columns: 90px 1fr 1.2fr;
  gap: 2rem;
  align-items: baseline;
  padding-block: 2.2rem;
  border-top: 1px solid var(--line);
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.process-step:last-child { border-bottom: 1px solid var(--line); }
.process-step:hover { background: rgba(205, 255, 68, 0.03); padding-left: 0.8rem; }
.process-step .step-num {
  font-family: var(--font-mono);
  color: var(--volt);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
}
.process-step h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.process-step p { color: var(--muted); font-size: 1rem; }

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.feature {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 1.7rem 1.6rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(205, 255, 68, 0.35); }
.feature .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(205, 255, 68, 0.1);
  color: var(--volt);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}
.feature h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; margin-bottom: 0.5rem; }
.feature p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Checklist (plain bullet sentences) ---------- */
.checklist { list-style: none; display: grid; gap: 0.9rem; }
.checklist li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--muted);
}
.checklist li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--volt);
  line-height: 1.6;
}
.checklist li strong { color: var(--text); }

/* ---------- Spec list (interactive accordion) ---------- */
.spec-list { list-style: none; border-top: 1px solid var(--line); }
.spec-item { border-bottom: 1px solid var(--line); }
.spec-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 0.3rem;
  background: none;
  border: none;
  text-align: left;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  transition: color 0.25s ease, padding-left 0.3s cubic-bezier(0.2, 0.8, 0.3, 1.1);
}
.spec-head:hover { color: var(--volt); padding-left: 0.9rem; }
.spec-marker {
  color: var(--volt);
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1.3);
}
.spec-item.open .spec-marker { transform: rotate(90deg); }
.spec-plus {
  position: relative;
  margin-left: auto;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.spec-plus::before,
.spec-plus::after {
  content: "";
  position: absolute;
  background: var(--faint);
  border-radius: 2px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.3, 1.2), background 0.25s ease;
}
.spec-plus::before { left: 0; right: 0; top: 6.5px; height: 2px; }
.spec-plus::after { top: 0; bottom: 0; left: 6.5px; width: 2px; }
.spec-head:hover .spec-plus::before,
.spec-head:hover .spec-plus::after { background: var(--volt); }
.spec-item.open .spec-plus::before { background: var(--volt); }
.spec-item.open .spec-plus::after { transform: scaleY(0); }
.spec-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.spec-body > p {
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding-left: 1.75rem;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.35s ease, transform 0.35s ease, padding-bottom 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.spec-item.open .spec-body { grid-template-rows: 1fr; }
.spec-item.open .spec-body > p {
  opacity: 1;
  transform: none;
  padding-bottom: 1.15rem;
  transition-delay: 0.08s, 0.08s, 0s;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding-top: clamp(9rem, 16vw, 13rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero .h-xl { margin-block: 1.3rem 1.4rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.split .media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.split .media img {
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.split .media:hover img { transform: scale(1.045); }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band .h-lg { margin-bottom: 1.2rem; }
.cta-band .lede { margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; }
.cta-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, rgba(205, 255, 68, 0.1), transparent 70%);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-channels { display: grid; gap: 1rem; }
.channel {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 1.2rem 1.4rem;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.channel:hover { transform: translateX(6px); border-color: rgba(205, 255, 68, 0.4); }
.channel .icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(205, 255, 68, 0.1);
  color: var(--volt);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
.channel h4 { font-family: var(--font-display); font-size: 1.1rem; }
.channel p { color: var(--muted); font-size: 0.88rem; }

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(1.6rem, 3vw, 2.5rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; margin-bottom: 1.1rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}
.field input,
.field select,
.field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--volt);
  box-shadow: 0 0 0 3px rgba(205, 255, 68, 0.15);
}
.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
}
.form-status.ok { display: block; background: rgba(205, 255, 68, 0.1); color: var(--volt); }
.form-status.err { display: block; background: rgba(255, 92, 92, 0.12); color: #ff8a8a; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.1rem;
}
.footer-grid ul { list-style: none; display: grid; gap: 0.65rem; }
.footer-grid a { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer-grid a:hover { color: var(--volt); }
.footer-blurb { color: var(--muted); font-size: 0.95rem; max-width: 26em; margin-top: 1rem; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--faint);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

/* ---------- Reveal animations (JS adds .in) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.65, 0.25, 1), transform 0.9s cubic-bezier(0.2, 0.65, 0.25, 1);
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-44px); }
[data-reveal="right"] { transform: translateX(44px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal="left"].in,
[data-reveal="right"].in,
[data-reveal="scale"].in { transform: none; }

/* ---------- Big outline strip ---------- */
.giant-word {
  position: absolute;
  top: 0.5rem;
  left: 0;
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 13rem);
  line-height: 0.95;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 241, 234, 0.16);
  user-select: none;
  pointer-events: none;
}
#work .wrap { position: relative; z-index: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 420px; margin-top: 1rem; }
  .split, .contact-grid, .case-card, .case-card.flip { grid-template-columns: 1fr; }
  .case-card.flip .case-media { order: 0; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-step { grid-template-columns: 60px 1fr; }
  .process-step p { grid-column: 2; }
}

@media (max-width: 700px) {
  .services-grid, .feature-grid, .form-row { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(7, 7, 11, 0.97);
    flex-direction: column;
    justify-content: center;
    font-size: 1.4rem;
    gap: 2rem;
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1), visibility 0s linear 0.4s;
  }
  .nav-links.open { transform: none; visibility: visible; transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1); }
  .nav-links a:not(.btn) { font-size: 1.4rem; }
  .nav-toggle { display: grid; place-items: center; z-index: 950; }
}

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

/* ---------- EXELIQ Assistant chat widget ---------- */
.exchat {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 1500;
  font-family: var(--font-body);
}
.exchat-launcher {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: transparent;
  overflow: visible;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.3, 1.2);
}
.exchat-launcher:hover { transform: translateY(-2px); }
.exchat.open .exchat-launcher { transform: scale(0.92); }
.exchat-orb {
  position: absolute;
  inset: -39px;
  width: 150px;
  height: 150px;
  pointer-events: none;
}

.exchat-panel {
  position: absolute;
  padding: 0; /* override global section padding */
  right: 0;
  bottom: 76px;
  width: min(390px, calc(100vw - 2rem));
  height: min(560px, calc(100dvh - 8rem));
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(205, 255, 68, 0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.2, 0.8, 0.3, 1.1);
  pointer-events: none;
}
.exchat.open .exchat-panel {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.exchat-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.exchat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ddff70, #b9ef2e);
  color: #0a0d02;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.exchat-head h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.15;
}
.exchat-head p {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.exchat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 8px rgba(205, 255, 68, 0.8);
}
.exchat-close {
  margin-left: auto;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  color: var(--muted);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  transition: color 0.2s, border-color 0.2s;
}
.exchat-close:hover { color: var(--text); border-color: var(--volt); }

.exchat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.exchat-msg {
  max-width: 85%;
  padding: 0.7rem 0.95rem;
  border-radius: 15px;
  font-size: 0.94rem;
  line-height: 1.5;
  animation: exchat-in 0.3s cubic-bezier(0.2, 0.8, 0.3, 1.1);
}
@keyframes exchat-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.exchat-msg.from-ai {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text);
  border-bottom-left-radius: 5px;
}
.exchat-msg.from-user {
  align-self: flex-end;
  background: rgba(205, 255, 68, 0.14);
  border: 1px solid rgba(205, 255, 68, 0.28);
  color: var(--text);
  border-bottom-right-radius: 5px;
}
.exchat-typing { display: flex; gap: 5px; padding: 0.9rem 1rem; }
.exchat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--volt);
  animation: exchat-bounce 1.2s ease-in-out infinite;
}
.exchat-typing span:nth-child(2) { animation-delay: 0.15s; }
.exchat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes exchat-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-5px); opacity: 1; }
}

.exchat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0 1.1rem 0.6rem;
}
.exchat-chips:empty { display: none; }
.exchat-chips button {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.exchat-chips button:hover {
  color: var(--volt);
  border-color: rgba(205, 255, 68, 0.45);
  transform: translateY(-2px);
}

.exchat-form {
  display: flex;
  gap: 0.55rem;
  padding: 0.8rem 1.1rem 1rem;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.exchat-form input {
  flex: 1;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.exchat-form input:focus {
  outline: none;
  border-color: var(--volt);
  box-shadow: 0 0 0 3px rgba(205, 255, 68, 0.14);
}
.exchat-form button {
  width: 44px;
  border: none;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ddff70, #b9ef2e);
  color: #0a0d02;
  transition: transform 0.2s, box-shadow 0.2s;
}
.exchat-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px rgba(205, 255, 68, 0.5);
}

@media (max-width: 480px) {
  .exchat-panel {
    position: fixed;
    inset: auto 0.75rem 5.6rem 0.75rem;
    width: auto;
    height: min(70dvh, 540px);
  }
}

/* ---------- Showreel ---------- */
.reel { padding-bottom: 0; }
.reel-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(205, 255, 68, 0.07),
    0 0 80px -20px rgba(205, 255, 68, 0.18);
  transform-origin: center bottom;
}
.reel-video {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  background: var(--bg-2);
}
.reel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 0%, transparent 60%, rgba(7, 7, 11, 0.35) 100%);
}
.reel-badge {
  position: absolute;
  left: 1.3rem;
  bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow: 0 1px 8px rgba(7, 7, 11, 0.9);
}
.reel-captions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  padding-block: clamp(1.8rem, 3.5vw, 2.8rem);
}
.reel-captions > div {
  border-top: 1px solid var(--line-strong);
  padding-top: 1rem;
  display: grid;
  gap: 0.3rem;
}
.reel-captions strong {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--volt);
}
.reel-captions span { color: var(--muted); font-size: 0.92rem; }

@media (max-width: 700px) {
  .reel-video { aspect-ratio: 16 / 10; }
  .reel-captions { grid-template-columns: 1fr; gap: 1rem; }
}

/* ---------- Showreel: scroll-driven scrub ---------- */
.reel { padding-block: 0; }
.reel-pin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(1.2rem, 2.5vw, 2rem);
  padding-block: clamp(4.5rem, 8vh, 6rem) 1.5rem;
}
.reel-head { display: flex; flex-direction: column; gap: 1rem; }
.reel-hint {
  position: absolute;
  right: 1.3rem;
  bottom: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--volt);
  text-shadow: 0 1px 8px rgba(7, 7, 11, 0.9);
  transition: opacity 0.4s ease;
}
.reel-hint .chev { animation: chev-nudge 1.4s ease-in-out infinite; }
.reel-hint.dim { opacity: 0; }
@keyframes chev-nudge {
  0%, 100% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(5px); opacity: 1; }
}
.reel-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(242, 241, 234, 0.08);
}
.reel-progress i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--volt-deep), var(--volt));
  box-shadow: 0 0 12px rgba(205, 255, 68, 0.7);
}
.reel-captions { padding-bottom: 0.5rem; }

@media (max-height: 700px) {
  .reel-head .h-lg { font-size: clamp(1.6rem, 4vw, 2.6rem); }
}

/* (launcher orb styles live with the widget block above) */

/* ---------- Chat teaser bubble ---------- */
.exchat-teaser {
  position: absolute;
  right: 92px;
  bottom: 16px;
  width: max-content;
  max-width: 240px;
  background: var(--surface);
  border: 1px solid rgba(205, 255, 68, 0.35);
  border-radius: 15px 15px 4px 15px;
  padding: 0.8rem 2rem 0.8rem 1rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted);
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 24px -8px rgba(205, 255, 68, 0.35);
  opacity: 0;
  transform: translateX(14px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.15);
  pointer-events: none;
}
.exchat-teaser.show { opacity: 1; transform: none; pointer-events: auto; }
.exchat-teaser strong { color: var(--text); }
.exchat-teaser p { margin: 0; }
.exchat-teaser:hover { border-color: rgba(205, 255, 68, 0.6); }
.exchat-teaser-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  border-radius: 7px;
  color: var(--faint);
  font-size: 0.7rem;
  transition: color 0.2s;
}
.exchat-teaser-close:hover { color: var(--text); }

@media (max-width: 480px) {
  .exchat-teaser { right: 80px; max-width: min(240px, calc(100vw - 7.5rem)); }
}

/* ---------- Plug-in automations ---------- */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.auto-tile {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 1.35rem 1.25rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.auto-tile:hover { transform: translateY(-4px); border-color: rgba(205, 255, 68, 0.35); }
.auto-tile .num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--volt);
}
.auto-tile h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; line-height: 1.2; }
.auto-tile p { color: var(--muted); font-size: 0.85rem; line-height: 1.5; flex: 1; }
.auto-tile .for {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}
.auto-tile.cta {
  background: rgba(205, 255, 68, 0.06);
  border-color: rgba(205, 255, 68, 0.3);
  justify-content: center;
}
.auto-tile.cta:hover { background: rgba(205, 255, 68, 0.1); }

/* Automations detail rows */
.auto-rows { display: grid; }
.auto-row {
  display: grid;
  grid-template-columns: 90px 0.9fr 1.4fr;
  gap: 2rem;
  padding-block: 2.6rem;
  border-top: 1px solid var(--line);
  align-items: start;
}
.auto-row:last-child { border-bottom: 1px solid var(--line); }
.auto-row h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); margin-bottom: 0.9rem; }
.auto-row p { color: var(--muted); margin-bottom: 1.1rem; }
.auto-row .checklist li { font-size: 0.94rem; }

@media (max-width: 1000px) {
  .auto-grid { grid-template-columns: repeat(2, 1fr); }
  .auto-row { grid-template-columns: 60px 1fr; }
  .auto-row > div:last-child { grid-column: 2; }
}
@media (max-width: 600px) {
  .auto-grid { grid-template-columns: 1fr; }
}

/* ---------- Case study live-site link ---------- */
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--volt);
  border-bottom: 1px solid rgba(205, 255, 68, 0.3);
  padding-bottom: 2px;
  width: fit-content;
  transition: border-color 0.25s ease, gap 0.25s ease;
}
.case-link:hover { border-color: var(--volt); gap: 0.55rem; }

/* ---------- Automation tiles: imagery + tilt + live scan ---------- */
.auto-tile {
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease-out, border-color 0.35s ease, box-shadow 0.35s ease;
}
.auto-img {
  height: 112px;
  margin: -1.35rem -1.25rem 0.5rem;
  overflow: hidden;
  position: relative;
}
.auto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
}
.auto-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, var(--surface) 100%);
}
.auto-tile:hover { border-color: rgba(205, 255, 68, 0.45); box-shadow: 0 18px 44px -16px rgba(0, 0, 0, 0.8), 0 0 34px -12px rgba(205, 255, 68, 0.35); }
.auto-tile:hover .auto-img img { transform: scale(1.14); filter: brightness(1.25) saturate(1.15); }
.auto-tile:hover .num { text-shadow: 0 0 12px rgba(205, 255, 68, 0.9); }

/* scanning "live" pulse sweeping across the grid */
.auto-tile.live { border-color: rgba(205, 255, 68, 0.5); box-shadow: 0 0 36px -12px rgba(205, 255, 68, 0.45); }
.auto-tile.live .auto-img img { filter: brightness(1.3) saturate(1.2); }
.auto-tile.live .num::after {
  content: " · live";
  color: var(--volt);
  animation: live-blink 0.9s steps(2) infinite;
}
@keyframes live-blink { 50% { opacity: 0.25; } }

.auto-tile.cta .volt-text { display: inline-block; transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1.3); }
.auto-tile.cta:hover .volt-text { transform: translateX(6px); }

/* ---------- Why EXELIQ bento ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.1rem;
}
.why-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 1.7rem 1.6rem;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(205, 255, 68, 0.09), transparent 70%);
}
.why-card:hover { border-color: rgba(205, 255, 68, 0.35); transform: translateY(-4px); box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.8); }
.why-card:hover::before { opacity: 1; }
.why-card .span, .why-card h4 { position: relative; }
.why-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.why-card p { color: var(--muted); font-size: 0.94rem; position: relative; }
.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(205, 255, 68, 0.09);
  color: var(--volt);
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.3, 1.3), box-shadow 0.35s ease;
}
.why-card:hover .why-icon { transform: translateY(-3px) rotate(-4deg); box-shadow: 0 0 24px -6px rgba(205, 255, 68, 0.5); }
.ghost {
  position: absolute;
  top: 0.4rem;
  right: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1.1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 241, 234, 0.08);
  transition: -webkit-text-stroke-color 0.4s ease;
  pointer-events: none;
}
.why-card:hover .ghost { -webkit-text-stroke-color: rgba(205, 255, 68, 0.3); }
.span2 { grid-column: span 2; }
.span4 { grid-column: span 4; }
.span6 { grid-column: span 6; }
.why-hero {
  justify-content: flex-end;
  min-height: 240px;
  background:
    radial-gradient(60% 80% at 85% 15%, rgba(205, 255, 68, 0.07), transparent 65%),
    radial-gradient(40% 60% at 10% 90%, rgba(143, 123, 255, 0.05), transparent 70%),
    var(--surface);
}
.why-hero h4 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.why-hero p { max-width: 44em; }
.why-chip {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--volt);
  border: 1px solid rgba(205, 255, 68, 0.3);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  position: relative;
}
.why-chip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 8px rgba(205, 255, 68, 0.9);
  animation: live-blink 1.4s steps(2) infinite;
}
.why-grow {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.why-grow-copy { display: flex; flex-direction: column; gap: 0.4rem; max-width: 34em; }
.grow-path {
  position: relative;
  flex: 1;
  min-width: 300px;
  max-width: 620px;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.grow-path span { position: relative; z-index: 1; background: var(--surface); padding-inline: 0.15rem; }
.grow-path i {
  flex: 1;
  min-width: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(205, 255, 68, 0.45), rgba(205, 255, 68, 0.12));
}
.grow-path::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--volt);
  box-shadow: 0 0 12px rgba(205, 255, 68, 0.9);
  transform: translateY(-50%);
  animation: grow-travel 5.5s ease-in-out infinite;
}
@keyframes grow-travel {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(100% - 7px); opacity: 0; }
}

@media (max-width: 1000px) {
  .span4, .span2 { grid-column: span 3; }
  .span6 { grid-column: span 6; }
}
@media (max-width: 640px) {
  .span4, .span2, .span6 { grid-column: span 6; }
  .why-hero { min-height: 0; }
}

/* ---------- Nav services dropdown ---------- */
.has-drop { position: relative; }
.drop-caret {
  display: inline-block;
  font-size: 0.62em;
  margin-left: 0.15rem;
  color: var(--faint);
  transition: transform 0.25s ease, color 0.25s ease;
}
.has-drop:hover .drop-caret,
.has-drop:focus-within .drop-caret { transform: rotate(180deg); color: var(--volt); }
.nav-drop {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 238px;
  background: rgba(10, 10, 16, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 0.5rem;
  list-style: none;
  display: grid;
  gap: 2px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(205, 255, 68, 0.05);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.nav-drop::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.has-drop:hover .nav-drop,
.has-drop:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.nav-links .nav-drop a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: 9px;
  font-size: 0.9rem;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-links .nav-drop a b {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  color: var(--volt);
}
.nav-links .nav-drop a:hover { background: rgba(205, 255, 68, 0.09); color: var(--text); }
.nav-links .nav-drop a.active::after { display: none; }

@media (max-width: 700px) {
  .has-drop { display: flex; flex-direction: column; align-items: center; }
  .drop-caret { display: none; }
  .nav-drop {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 0.4rem 0 0;
    gap: 0.55rem;
    min-width: 0;
    justify-items: center;
  }
  .nav-links .nav-drop a { font-size: 1rem; padding: 0.15rem 0.5rem; }
}
