/* ==========================================================
   LDV INNOVATIONS
   Palette : ink #050B18 / abyss #0A1730 / blue #1E6BFF
             cyan #35E0F0 / mist #F5F8FF / line #DCE6F7
   Type    : Space Grotesk (display) / Inter (body)
             IBM Plex Mono (labels + data)
   ========================================================== */

:root {
  --ink: #050B18;
  --abyss: #0A1730;
  --navy: #12244A;
  --blue: #1E6BFF;
  --blue-deep: #0D4CD6;
  --cyan: #35E0F0;
  --mist: #F5F8FF;
  --sky: #E9F0FF;
  --line: #DCE6F7;
  --slate: #5A6E8C;
  --white: #FFFFFF;

  --radius: 16px;
  --radius-lg: 26px;
  --maxw: 1180px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-deep); }

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 26px; }

section[id] { scroll-margin-top: 96px; }

/* ---------------- Typography ---------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.022em;
}

h1 { font-size: clamp(2.15rem, 4.3vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); }
h3 { font-size: 1.22rem; }

.lead { font-size: 1.14rem; color: var(--slate); max-width: 660px; }
.on-dark .lead, .lead-light { color: #A9BEDF; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.on-dark .eyebrow { color: var(--cyan); }

.grad-text {
  background: linear-gradient(96deg, var(--cyan), #7FA8FF 55%, var(--white));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- Page transition ---------------- */

.transition-veil {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
  transition: transform 0.42s var(--ease);
}

body.is-leaving .transition-veil {
  transform: scaleY(1);
  transform-origin: bottom;
}

body.is-entering .transition-veil {
  transform: scaleY(1);
  transform-origin: top;
}

body.entered .transition-veil {
  transform: scaleY(0);
  transform-origin: top;
}

/* page content entrance */
main { animation: pageIn 0.7s var(--ease) both; }

@keyframes pageIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(1.5);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 30px rgba(5, 11, 24, 0.05);
}

/* dark header variant on pages with dark hero */
.site-header.on-ink {
  background: rgba(5, 11, 24, 0.62);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-header.on-ink .nav-links a { color: #DCE6F7; }
.site-header.on-ink .nav-links a:hover,
.site-header.on-ink .nav-links a.active { color: var(--cyan); }
.site-header.on-ink .logo-text { color: var(--white); }
.site-header.on-ink .logo-sub { color: #7F98C4; }
.site-header.on-ink .nav-toggle span { background: var(--white); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

/* ---------------- Logo ---------------- */

.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.site-header.on-ink .logo { color: rgba(255, 255, 255, 0.55); }
.logo:hover .logo-mark { transform: rotate(-4deg) scale(1.04); }

.logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease);
}

.logo-mark .lm-frame { stroke: currentColor; }
.logo-mark .lm-arm { stroke: var(--blue); }
.logo-mark .lm-core { fill: var(--blue); }
.on-ink .logo-mark .lm-arm { stroke: var(--cyan); }
.on-ink .logo-mark .lm-core { fill: var(--cyan); }

.logo-lockup { display: flex; flex-direction: column; line-height: 1; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.24rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  color: var(--slate);
  margin-top: 4px;
}

/* ---------------- Nav ---------------- */

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }

.nav-links a {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 0;
  background: currentColor;
  transition: width 0.3s var(--ease);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }

.nav-cta {
  background: linear-gradient(100deg, var(--blue), #3D86FF);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(30, 107, 255, 0.28);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30, 107, 255, 0.4);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.3s var(--ease);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s, color 0.25s, border-color 0.25s;
}

.btn-primary {
  background: linear-gradient(100deg, var(--blue), #3D86FF);
  color: var(--white);
  box-shadow: 0 8px 26px rgba(30, 107, 255, 0.3);
}

.btn-primary:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(30, 107, 255, 0.42);
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transition: left 0.6s var(--ease);
}

.btn-primary:hover::after { left: 130%; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(6px);
}

.btn-outline-light:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------------- Hero (dark, futuristic) ---------------- */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  padding: 96px 0 110px;
  margin-top: -76px;
  padding-top: 172px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.07) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, #000 25%, transparent 78%);
  z-index: -2;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

.aurora-1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(30, 107, 255, 0.75), transparent 66%);
  top: -180px; left: -140px;
  animation: drift1 18s ease-in-out infinite alternate;
}

.aurora-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(53, 224, 240, 0.42), transparent 66%);
  bottom: -200px; right: -80px;
  animation: drift2 22s ease-in-out infinite alternate;
}

@keyframes drift1 {
  to { transform: translate(90px, 70px) scale(1.12); }
}
@keyframes drift2 {
  to { transform: translate(-70px, -60px) scale(1.08); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}

.hero h1 { margin-bottom: 22px; }
.hero .lead { color: #A9BEDF; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: #7F98C4;
  text-transform: uppercase;
}

/* staggered hero entrance */
.hero-stagger > * { opacity: 0; transform: translateY(22px); animation: riseIn 0.85s var(--ease) forwards; }
.hero-stagger > *:nth-child(1) { animation-delay: 0.12s; }
.hero-stagger > *:nth-child(2) { animation-delay: 0.22s; }
.hero-stagger > *:nth-child(3) { animation-delay: 0.32s; }
.hero-stagger > *:nth-child(4) { animation-delay: 0.42s; }
.hero-stagger > *:nth-child(5) { animation-delay: 0.52s; }

@keyframes riseIn { to { opacity: 1; transform: none; } }

/* ---------------- Lattice (signature visual) ---------------- */

.lattice { width: 100%; height: auto; opacity: 0; animation: riseIn 1s var(--ease) 0.35s forwards; }
.lt-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.16em; fill: #7F98C4; }
.lt-node { fill: rgba(255, 255, 255, 0.04); stroke: rgba(150, 185, 255, 0.42); stroke-width: 1.2; }
.lt-node-txt { font-family: var(--font-mono); font-size: 9.5px; fill: #A9BEDF; letter-spacing: 0.06em; }
.lt-wire { stroke: rgba(120, 165, 255, 0.3); stroke-width: 1.1; fill: none; }
.lt-pulse { fill: var(--cyan); }
.lt-core-ring { fill: none; stroke: rgba(53, 224, 240, 0.5); stroke-width: 1.2; }
.lt-core { fill: url(#coreGrad); }
.lt-core-label { font-family: var(--font-display); font-weight: 700; font-size: 15px; fill: #FFFFFF; letter-spacing: 0.04em; }

.lt-breathe { animation: breathe 3.6s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes breathe {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 0.25; transform: scale(1.22); }
}

/* ---------------- Sections ---------------- */

.section { padding: 92px 0; position: relative; }
.section-mist { background: var(--mist); }

.section-ink {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-ink h2, .section-ink h3 { color: var(--white); }
.section-ink p { color: #A9BEDF; }

.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head .lead { margin-top: 16px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head.center .eyebrow::before { display: none; }

/* thin divider rule with node */
.rule {
  height: 1px;
  background: var(--line);
  position: relative;
  margin: 0;
}

/* ---------------- Marquee strip ---------------- */

.strip {
  background: var(--abyss);
  color: #A9BEDF;
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.strip-track {
  display: flex;
  gap: 54px;
  width: max-content;
  animation: slide 34s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.strip-track span { display: flex; align-items: center; gap: 54px; }
.strip-track i { color: var(--cyan); font-style: normal; }

@keyframes slide { to { transform: translateX(-50%); } }

/* ---------------- Service blocks (full detail) ---------------- */

.service {
  display: grid;
  grid-template-columns: 88px 1fr 300px;
  gap: 36px;
  padding: 46px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background 0.4s var(--ease);
}

.service:last-child { border-bottom: 1px solid var(--line); }

.service:hover { background: linear-gradient(90deg, rgba(233, 240, 255, 0.6), transparent 70%); }

.service-index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--blue);
  letter-spacing: 0.12em;
  padding-top: 6px;
}

.service-body h3 { font-size: 1.5rem; margin-bottom: 14px; }
.service-body p { color: var(--slate); margin-bottom: 14px; }
.service-body p:last-child { margin-bottom: 0; }

.service-deliverables {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.service-deliverables h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}

.service-deliverables ul { list-style: none; }

.service-deliverables li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 9px;
}

.service-deliverables li:last-child { margin-bottom: 0; }

.service-deliverables li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
  transform: rotate(45deg);
}

/* ---------------- Cards ---------------- */

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.card:hover::before { transform: scaleX(1); }

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 107, 255, 0.35);
  box-shadow: 0 20px 46px rgba(10, 23, 48, 0.1);
}

.card h3 { margin: 18px 0 10px; }
.card p { color: var(--slate); font-size: 0.95rem; }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--sky), #F7FAFF);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}

/* dark cards */
.section-ink .card {
  background: rgba(255, 255, 255, 0.035);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.section-ink .card:hover {
  border-color: rgba(53, 224, 240, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.section-ink .card-icon {
  background: rgba(53, 224, 240, 0.09);
  border-color: rgba(53, 224, 240, 0.24);
  color: var(--cyan);
}

/* ---------------- Process timeline ---------------- */

.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

.stage { position: relative; padding-top: 56px; }

.stage::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 26px;
  right: -26px;
  height: 1px;
  background: rgba(53, 224, 240, 0.34);
}

.stage:last-child::after { display: none; }

.stage-dot {
  position: absolute;
  top: 13px;
  left: 0;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--cyan);
}

.stage-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.9;
}

.stage-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
  display: block;
  margin-bottom: 10px;
}

.stage h3 { font-size: 1.2rem; margin-bottom: 10px; }
.stage p { font-size: 0.93rem; }

/* ---------------- Split ---------------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.wide-left { grid-template-columns: 1.15fr 0.85fr; }

.tick-list { list-style: none; margin-top: 24px; }

.tick-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 18px;
  color: var(--slate);
}

.tick-list li strong { color: var(--ink); }
.section-ink .tick-list li strong { color: var(--white); }

.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  background: rgba(30, 107, 255, 0.1);
}

.tick-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 11px;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(42deg);
}

.section-ink .tick-list li::before { border-color: var(--cyan); background: rgba(53, 224, 240, 0.1); }
.section-ink .tick-list li::after { border-color: var(--cyan); }

/* ---------------- Stats ---------------- */

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.stat {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  padding: 30px 26px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 10px;
  background: linear-gradient(120deg, var(--cyan), #86B0FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span { color: #A9BEDF; font-size: 0.92rem; }

/* ---------------- CTA band ---------------- */

.cta-band {
  position: relative;
  background: linear-gradient(130deg, var(--abyss), var(--ink) 60%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 62px 54px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 107, 255, 0.5), transparent 68%);
  filter: blur(70px);
  top: -160px;
  right: -80px;
}

.cta-band > * { position: relative; }
.cta-band h2 { color: var(--white); max-width: 560px; }
.cta-band p { color: #A9BEDF; margin-top: 10px; max-width: 500px; }

.cta-stack { display: flex; flex-direction: column; gap: 12px; }

/* ---------------- Forms ---------------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: 0 24px 60px rgba(10, 23, 48, 0.07);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .hint { font-size: 0.79rem; color: var(--slate); font-weight: 400; }

.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 0.97rem;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  background: #FCFDFF;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.field input:hover, .field select:hover, .field textarea:hover { border-color: #B9CCEC; }

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(30, 107, 255, 0.12);
}

.field textarea { min-height: 128px; resize: vertical; }

fieldset { border: 0; border-top: 1px solid var(--line); padding-top: 30px; margin: 34px 0 8px; }
fieldset.first { border-top: 0; padding-top: 0; margin-top: 0; }

fieldset .form-grid, fieldset > .field { margin-top: 20px; }

legend {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  padding-right: 16px;
}

.radio-row { display: flex; gap: 12px; flex-wrap: wrap; }

.radio-row label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  transition: border-color 0.2s, background 0.2s;
}

.radio-row label:hover { border-color: var(--blue); background: var(--sky); }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.87rem;
  color: var(--slate);
  margin: 8px 0 24px;
}

.consent input { margin-top: 4px; }

.form-status { margin-top: 18px; font-size: 0.94rem; display: none; padding: 14px 18px; border-radius: 12px; }
.form-status.success { display: block; background: #E7F8EF; color: #10653A; border: 1px solid #B7E6CC; }
.form-status.error { display: block; background: #FDECEE; color: #9E2430; border: 1px solid #F5C4CA; }

/* ---------------- Contact ---------------- */

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; align-items: start; }

.info-block {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.info-block:first-child { border-top: 0; padding-top: 0; }

.info-block h3 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 8px;
}

.info-block p { color: var(--ink); font-size: 0.98rem; }
.info-block a { font-size: 0.98rem; font-weight: 500; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--ink);
  color: #A9BEDF;
  padding: 74px 0 32px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(53, 224, 240, 0.5), transparent);
}

.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 52px; }
.site-footer h4 { color: var(--white); font-size: 0.92rem; margin-bottom: 18px; }
.site-footer a { color: #A9BEDF; display: block; margin-bottom: 11px; font-size: 0.9rem; }
.site-footer a:hover { color: var(--cyan); }
.site-footer p { font-size: 0.9rem; }
.site-footer .logo { display: flex; margin-bottom: 20px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-sub { color: #7F98C4; }
.footer-brand .logo-mark { color: rgba(255, 255, 255, 0.5); }
.footer-brand .logo-mark .lm-arm { stroke: var(--cyan); }
.footer-brand .logo-mark .lm-core { fill: var(--cyan); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 26px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}

/* ---------------- Cookie banner ---------------- */

.cookie-banner {
  position: fixed;
  bottom: 22px;
  right: 22px;
  left: auto;
  width: min(400px, calc(100vw - 44px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(5, 11, 24, 0.22);
  padding: 24px 26px;
  z-index: 800;
  transform: translateY(140%);
  transition: transform 0.55s var(--ease);
}

.cookie-banner.visible { transform: none; }
@media (max-width: 660px) { .cookie-banner { left: 16px; right: 16px; bottom: 16px; width: auto; } }
.cookie-banner p { font-size: 0.83rem; color: var(--slate); margin-bottom: 16px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 10px 22px; font-size: 0.89rem; }

/* ---------------- Scroll reveal ---------------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------------- Page hero (inner pages) ---------------- */

.page-hero {
  background: var(--ink);
  color: var(--white);
  margin-top: -76px;
  padding: 170px 0 84px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120, 160, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 255, 0.06) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 80% 90% at 30% 50%, #000 20%, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 30% 50%, #000 20%, transparent 76%);
  z-index: -2;
}

.page-hero .lead { color: #A9BEDF; margin-top: 18px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }

/* ---------------- Scroll progress bar ---------------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  z-index: 600;
  transition: width 0.1s linear;
}

/* ---------------- Reduced motion ---------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-stagger > *, .lattice { opacity: 1; transform: none; }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1000px) {
  .hero-grid, .split, .split.wide-left, .contact-grid { grid-template-columns: 1fr; }
  .service { grid-template-columns: 60px 1fr; }
  .service-deliverables { grid-column: 2; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stage::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 660px) {
  body { font-size: 16px; }
  .card-grid, .card-grid.two, .timeline, .stat-row, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .service { grid-template-columns: 1fr; gap: 20px; }
  .service-deliverables { grid-column: 1; }
  .section { padding: 68px 0; }
  .hero { padding: 140px 0 78px; }
  .page-hero { padding: 138px 0 62px; }
  .cta-band { padding: 40px 28px; }
  .form-card { padding: 28px 22px; }
  .logo-sub { display: none; }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    height: calc(100vh - 76px);
    background: #050B18;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 34px 26px;
    gap: 26px;
    transform: translateY(-120%);
    transition: transform 0.5s var(--ease);
    overflow-y: auto;
  }

  .nav-links li { opacity: 0; transform: translateY(-10px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
  .nav-links.open li { opacity: 1; transform: none; }
  .nav-links.open li:nth-child(1) { transition-delay: 0.12s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.17s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.22s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.27s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.32s; }
  .nav-links.open li:nth-child(6) { transition-delay: 0.37s; }

  .nav-links.open { transform: none; }
  .nav-links a { color: #DCE6F7 !important; font-size: 1.05rem; }
  .nav-links .nav-cta { display: block; text-align: center; color: var(--white) !important; margin-top: 8px; padding: 15px 22px; }
  .nav-toggle { display: block; }
}
