/* ==========================================================================
   NexaSpectra v2 — "deep-tech lab" design system
   Dark-first. Spectral gradient signature. Instrument-panel UI.
   ========================================================================== */

:root {
  --bg-0: #F5F7F3;            /* warm paper */
  --bg-1: #FFFFFF;            /* white section */
  --bg-2: #EDF2EC;            /* raised light */
  --panel: #FFFFFF;
  --panel-strong: #F0F4EE;
  --line: rgba(18, 32, 25, 0.12);
  --line-soft: rgba(18, 32, 25, 0.07);

  --text: #14211A;
  --muted: #47594F;
  --faint: #5E7269;

  /* bright accents — for dark surfaces (scan hero, instrument) */
  --amber: #E8A33D;
  --teal: #4FB8CE;
  --green: #7BC47F;
  --purple: #B07CD8;
  --red: #E0654F;

  /* ink accents — readable text on light surfaces */
  --amber-ink: #A86E0D;
  --teal-ink: #0E7A90;
  --green-ink: #1E7A46;
  --purple-ink: #7A3EA8;
  --red-ink: #C0452F;

  --spectral: linear-gradient(90deg,
    #4E6BFF 0%, #2E9BE8 16%, #2FBF71 34%, #B8C42E 52%,
    #E8A33D 68%, #E0654F 82%, #9B59D0 100%);

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --max: 1180px;
  --radius: 10px;
  --glow-amber: 0 8px 40px rgba(232, 163, 61, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: #7CD3E4; }

::selection { background: rgba(232, 163, 61, 0.35); color: #fff; }

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  text-wrap: pretty;
  margin: 0;
}

/* ---------- layout ---------- */

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.section { padding: 104px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--alt { background: var(--bg-1); border-block: 1px solid var(--line-soft); }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--faint);
  text-transform: uppercase;
}
.kicker::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--spectral);
  border-radius: 2px;
}
.kicker--amber { color: var(--amber); }
.kicker--teal { color: var(--teal); }
.kicker--green { color: var(--green); }
.kicker--purple { color: var(--purple); }

.h-display {
  font-size: clamp(2.5rem, 5.2vw, 4.2rem);
  font-weight: 600;
  line-height: 1.02;
}
.h-section {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.08;
  max-width: 720px;
}
.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
  text-wrap: pretty;
}
.accent-amber { color: var(--amber); }
.accent-teal { color: var(--teal); }
.accent-green { color: var(--green); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--amber);
  color: #131B08;
  box-shadow: var(--glow-amber);
}
.btn--primary:hover { background: #F2B457; color: #131B08; transform: translateY(-2px); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  background: transparent;
}
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

.link-arrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
}
.link-arrow::after { content: " →"; }

/* ---------- navigation ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(6, 14, 10, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.14em;
}
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.brand .dot { color: var(--amber); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  color: var(--muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--amber); }

.nav-cta {
  padding: 10px 18px;
  border-radius: 6px;
  background: var(--amber);
  color: #131B08 !important;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.15s;
}
.nav-cta:hover { background: #F2B457; transform: translateY(-1px); }

/* CSS-only mobile menu */
.nav-toggle { display: none; }
.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    cursor: pointer;
    padding: 8px;
  }
  .nav-burger span {
    display: block; height: 2px; width: 100%;
    background: var(--text); border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(6, 14, 10, 0.97);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
    display: none;
  }
  .nav-links a { padding: 13px 0; width: 100%; font-size: 13px; }
  .nav-links .nav-cta { margin-top: 10px; text-align: center; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 100px;
  background: var(--bg-0);
}
.hero::before {
  /* blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 35% 30%, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 35% 30%, black 20%, transparent 75%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  width: 640px; height: 640px;
  top: -220px; right: -120px;
  background: radial-gradient(circle, rgba(47, 191, 113, 0.14) 0%, rgba(46, 155, 232, 0.07) 40%, transparent 70%);
  pointer-events: none;
  animation: heroDrift 14s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-60px, 40px) scale(1.12); }
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(400px, 0.98fr);
  gap: 64px;
  align-items: center;
}
.hero-copy { margin: 26px 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 34px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: var(--faint);
}
.hero-meta strong { color: var(--muted); font-weight: 500; }

/* spectral signature bar */
.spectral-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--spectral);
  background-size: 200% 100%;
  animation: spectralFlow 9s linear infinite;
}
@keyframes spectralFlow {
  from { background-position: 0% 0; }
  to { background-position: 200% 0; }
}
.spectral-bar--wide { width: 132px; height: 7px; }

/* full-width spectral divider */
.spectral-divider { height: 3px; background: var(--spectral); opacity: 0.85; }

/* spectrum wave (hero art) */
.spectrum-wave { display: block; width: 100%; height: auto; }
.spectrum-wave path {
  stroke-dasharray: 6 10;
  animation: waveMarch 22s linear infinite;
}
@keyframes waveMarch { to { stroke-dashoffset: -640; } }

/* ---------- stat strip ---------- */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}
.stat-cell {
  padding: 26px 26px 24px;
  border-right: 1px solid var(--line-soft);
}
.stat-cell:last-child { border-right: 0; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--faint);
  text-transform: uppercase;
}

/* ---------- instrument / evidence panel ---------- */

.instrument {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
}
.instrument-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.22);
}
.traffic { display: flex; gap: 7px; }
.traffic span { width: 9px; height: 9px; border-radius: 50%; }
.traffic span:nth-child(1) { background: var(--red); }
.traffic span:nth-child(2) { background: var(--amber); }
.traffic span:nth-child(3) { background: var(--green); }
.instrument-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--faint);
  text-transform: uppercase;
}
.tag-illustrative {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: var(--amber);
  border: 1px solid rgba(232, 163, 61, 0.4);
  border-radius: 4px;
  padding: 3px 8px;
  white-space: nowrap;
}

.demo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 20px 0;
}
.demo-chip {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.16s;
}
.demo-chip:hover { border-color: var(--teal); color: var(--teal); }
.demo-chip.active {
  background: rgba(79, 184, 206, 0.12);
  border-color: var(--teal);
  color: var(--teal);
}

.demo-body { padding: 18px 20px 20px; }
.demo-question {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.35;
}
.demo-question::before {
  content: "Q";
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  margin-right: 10px;
  border-radius: 5px;
  background: var(--spectral);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  vertical-align: 2px;
}

.demo-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}
.demo-metric {
  background: rgba(6, 14, 10, 0.55);
  padding: 12px 12px 10px;
}
.demo-metric strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
}
.demo-metric span {
  display: block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--faint);
}
.demo-metric--confidence strong { color: var(--amber); font-size: 13.5px; letter-spacing: 0.04em; }

.confidence-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.08);
  margin: 0 0 16px;
  overflow: hidden;
}
.confidence-bar i {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--spectral);
  transition: width 0.45s ease;
}

.demo-summary {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0 0 16px;
}

.demo-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.demo-table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--faint);
  font-weight: 500;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
}
.demo-table td {
  font-size: 12.5px;
  color: var(--muted);
  padding: 9px 10px;
  border-bottom: 1px solid var(--line-soft);
  line-height: 1.45;
}
.demo-table td.pos { color: var(--green); font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.demo-table td.neg { color: var(--red); font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }
.demo-table td.neu { color: var(--amber); font-family: var(--font-mono); font-size: 12px; white-space: nowrap; }

.demo-gaps {
  border: 1px solid rgba(176, 124, 216, 0.35);
  background: rgba(176, 124, 216, 0.07);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.demo-gaps h4 {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--purple);
  font-weight: 500;
}
.demo-gaps ul { margin: 0; padding-left: 16px; }
.demo-gaps li { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 3px 0; }

.demo-foot {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
  line-height: 1.6;
}
.demo-fade { animation: demoFade 0.35s ease; }
@keyframes demoFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- cards & grids ---------- */

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

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 28px 26px;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.18);
  background: var(--panel-strong);
}
.card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; line-height: 1.25; }
.card p { margin: 0; font-size: 14.5px; line-height: 1.65; color: var(--muted); }
.card--accent-green { border-top: 2px solid var(--green); }
.card--accent-teal { border-top: 2px solid var(--teal); }
.card--accent-purple { border-top: 2px solid var(--purple); }
.card--accent-amber { border-top: 2px solid var(--amber); }

/* deliverable list inside cards */
.tick-list { list-style: none; margin: 16px 0 0; padding: 0; }
.tick-list li {
  position: relative;
  padding: 7px 0 7px 22px;
  font-size: 13.5px;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
  line-height: 1.5;
}
.tick-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
}

/* ---------- journey strip ---------- */

.journey {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.journey-step {
  position: relative;
  padding: 26px 24px 30px;
  background: var(--panel);
}
.journey-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 1px;
  background: var(--line-soft);
}
.journey-step .j-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--faint);
}
.journey-step h3 { font-size: 17px; margin: 12px 0 8px; font-weight: 600; }
.journey-step p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.journey-step::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--spectral);
  opacity: 0.7;
}

/* ---------- client band ---------- */

.client-band {
  display: block;
  position: relative;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pan-y;
}
.client-band::-webkit-scrollbar { display: none; }
.client-band:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}
.client-band.is-dragging { cursor: grabbing; }
.client-track {
  display: flex;
  width: max-content;
  min-width: 100%;
}
.client-cell {
  display: grid;
  place-items: center;
  flex: 0 0 clamp(180px, 20vw, 225px);
  min-height: 104px;
  background: var(--bg-1);
  border-right: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--faint);
  transition: color 0.2s, background 0.2s;
  padding: 14px 20px;
  user-select: none;
  overflow: hidden;
}
.client-cell img {
  display: block;
  width: 170px;
  height: 58px;
  max-width: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center;
}
.client-cell img.client-logo--tall {
  width: 76px;
  height: 72px;
}

/* Optical normalization: compensate for whitespace and different logo shapes. */
.client-cell img[src$="alesca-life.svg"] { transform: scale(0.84); }
.client-cell img[src$="cubicfarms.jpg"] { transform: scale(1.5); }
.client-cell img[src$="fractal.png"] { transform: scale(1); }
.client-cell img[src$="interius-farms.webp"] { transform: scale(1.22); }
.client-cell img[src$="affinor-growers.jpg"] { transform: scale(1.14); }
.client-cell img[src$="pemberton-new-growth.png"] { transform: scale(1.02); }
.client-cell img[src$="berrymobile.png"] { transform: scale(0.96); filter: brightness(0) saturate(100%); }
.client-cell img[src$="tandem-studios.svg"] { transform: scale(0.98); }
.client-cell img[src$="chambertrust.jpg"] { transform: scale(0.98); border-radius: 4px; }
.client-cell img[src$="revo9.png"] { transform: scale(0.94); }
.client-cell img[src$="biologix-recycle.svg"] { transform: scale(0.86); }
.client-cell img[src$="canadian-roots-farms.png"] { transform: scale(1.08); }
.client-wordmark {
  display: grid;
  align-content: center;
  gap: 1px;
  width: 170px;
  height: 58px;
  text-align: center;
  color: #193B31;
  font-family: var(--font-display);
  line-height: 0.9;
  transform: scale(1.12);
  transform-origin: center;
}
.client-wordmark b {
  font-size: 20px;
  letter-spacing: -0.02em;
}
.client-wordmark em {
  color: var(--green-ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.client-band-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.client-band-hint span { color: var(--teal-ink); font-size: 15px; }
.client-cell:hover { color: var(--text); background: var(--bg-2); }

/* ---------- final CTA ---------- */

.cta-final {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 110px 0;
}
.cta-final::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(79, 184, 206, 0.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-final .wrap { position: relative; z-index: 2; }
.cta-final .h-section { margin-inline: auto; }
.cta-final .lede { margin: 20px auto 36px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta-note {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--faint);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-1);
  padding: 44px 0 36px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand { max-width: 340px; }
.footer-brand p { margin: 14px 0 0; font-size: 13px; color: var(--faint); line-height: 1.6; }
.footer-nav { display: flex; gap: 44px; flex-wrap: wrap; }
.footer-col h4 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--faint);
  font-weight: 500;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  padding: 4px 0;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-col a:hover { color: var(--text); }
.footer-base {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--faint);
}

/* ---------- proof: comparability demo ---------- */

.compare-toggle { display: inline-flex; gap: 8px; margin-bottom: 26px; }
.compare-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  padding: 10px 20px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.16s;
}
.compare-btn.active { background: rgba(176, 124, 216, 0.14); border-color: var(--purple); color: var(--purple); }

.study-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px;
}
.study-ref { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--faint); }
.study-verdict {
  display: inline-block;
  margin: 12px 0;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.study-verdict--teal { background: rgba(79, 184, 206, 0.12); color: var(--teal); }
.study-verdict--red { background: rgba(224, 101, 79, 0.12); color: var(--red); }
.study-verdict--green { background: rgba(123, 196, 127, 0.12); color: var(--green); }
.study-headline { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.study-detail { font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 0 0 14px; }
.study-rows { border-top: 1px solid var(--line-soft); }
.study-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11.5px;
}
.study-row span:first-child { color: var(--faint); letter-spacing: 0.08em; }
.study-row span:last-child { color: var(--text); }

.reconcile {
  margin-top: 26px;
  border: 1px solid rgba(123, 196, 127, 0.3);
  background: rgba(123, 196, 127, 0.06);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.reconcile h4 {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  color: var(--green);
  font-weight: 500;
}
.reconcile p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ---------- timeline (about) ---------- */

.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 52px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--teal), var(--green), var(--amber), var(--purple));
  opacity: 0.4;
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  padding: 20px 0;
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--amber);
  text-align: right;
  letter-spacing: 0.05em;
}
.timeline-body h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.timeline-body p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 640px; }

/* ---------- misc ---------- */

.figure-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.figure-frame img { display: block; width: 100%; height: auto; }
.figure-cap {
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--faint);
  border-top: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, 0.25);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 60px;
  align-items: center;
}

.mono-note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
  line-height: 1.7;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* local review badge */
.review-badge {
  position: fixed;
  right: 14px; bottom: 14px;
  z-index: 100;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #131B08;
  background: var(--amber);
  border-radius: 5px;
  padding: 7px 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .journey-step:nth-child(2)::after { display: none; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .journey-step::after { display: none !important; }
  .demo-metrics { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 40px; }
  .timeline-item { grid-template-columns: 76px 1fr; gap: 18px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   v2.1 — animation-led sections (scan hero, pipeline, prism, auto-demo,
   dose-response, aurora CTA)
   ========================================================================== */

/* ---------- scan hero (home) ---------- */

.hero-scan {
  position: relative;
  overflow: hidden;
  min-height: 94vh;
  display: flex;
  align-items: center;
  background: var(--bg-0);
}
.scan-bg {
  position: absolute; inset: 0;
  background: url('./hero-canopy-v2.jpg') center/cover no-repeat;
  animation: scanDrift 30s ease-in-out infinite alternate;
}
@keyframes scanDrift { from { transform: scale(1.02); } to { transform: scale(1.09) translateX(-1.5%); } }
.scan-veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,14,10,.94) 0%, rgba(6,14,10,.74) 34%, rgba(6,14,10,.32) 62%, rgba(6,14,10,.55) 100%),
              linear-gradient(0deg, rgba(6,14,10,.88) 0%, transparent 30%),
              linear-gradient(180deg, rgba(6,14,10,.6) 0%, transparent 18%);
}
.scan-beam {
  position: absolute; top: 0; bottom: 0; width: 150px;
  pointer-events: none; z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(79,184,206,.10) 55%, rgba(79,184,206,.28) 92%, transparent);
  border-right: 3px solid rgba(126,220,235,.85);
  filter: drop-shadow(0 0 18px rgba(79,184,206,.5));
}
.scan-chip {
  position: absolute; z-index: 4;
  max-width: 300px;
  background: rgba(6,14,10,.82);
  border: 1px solid rgba(79,184,206,.4);
  border-radius: 8px;
  padding: 10px 14px;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s, transform .5s;
}
.scan-chip.on { opacity: 1; transform: none; }
.scan-chip .sc-read {
  display: block;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  color: var(--teal);
}
.scan-chip .sc-resp {
  display: block;
  margin-top: 4px;
  font-size: 12.5px; line-height: 1.45;
  color: var(--text);
}
.scan-chip.warn { border-color: rgba(232,163,61,.45); }
.scan-chip.warn .sc-read { color: var(--amber); }
.scan-chip.gap { border-color: rgba(176,124,216,.45); }
.scan-chip.gap .sc-read { color: var(--purple); }
.hero-scan .wrap { position: relative; z-index: 5; }
.hero-scan .h-display { text-shadow: 0 4px 40px rgba(0,0,0,.6); }
.hero-scan .lede { color: #C4D3CA; }
.scan-caption {
  position: absolute; right: 22px; bottom: 16px; z-index: 6;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; color: rgba(255,255,255,.42);
}

/* ---------- pipeline diagram (how the engine works) ---------- */

.pipe-diagram {
  display: grid; grid-template-columns: 1fr 90px 200px 90px 1fr;
  align-items: center; margin-top: 54px;
}
.pipe-docs { position: relative; height: 300px; }
.pipe-doc {
  position: absolute; left: 50%; width: 150px; height: 190px;
  border: 1px solid var(--line); border-radius: 8px;
  background: linear-gradient(180deg, #10221a, #0b1712);
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  padding: 14px;
  animation: docFloat 5s ease-in-out infinite alternate;
}
.pipe-doc::before { content: ""; display: block; height: 5px; border-radius: 3px; background: var(--spectral); opacity: .7; margin-bottom: 12px; }
.pipe-doc::after {
  content: ""; display: block; height: 74px; border-radius: 4px;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,.14) 0 3px, transparent 3px 10px);
}
.pipe-doc:nth-child(1) { transform: translateX(-50%) rotate(-7deg); animation-delay: 0s; top: 30px; }
.pipe-doc:nth-child(2) { transform: translateX(-50%) rotate(3deg);  animation-delay: .8s; top: 46px; }
.pipe-doc:nth-child(3) { transform: translateX(-50%) rotate(-2deg); animation-delay: 1.6s; top: 62px; }
.pipe-doc:nth-child(4) { transform: translateX(-50%) rotate(6deg);  animation-delay: 2.4s; top: 78px; }
@keyframes docFloat { from { margin-top: 0; } to { margin-top: -14px; } }

.pipe-link { position: relative; height: 2px; background: rgba(255,255,255,.12); }
.pipe-link i {
  position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--teal); box-shadow: 0 0 12px var(--teal);
  animation: pipeDot 1.6s linear infinite;
}
.pipe-link i:nth-child(2) { animation-delay: .55s; background: var(--green); box-shadow: 0 0 12px var(--green); }
.pipe-link i:nth-child(3) { animation-delay: 1.1s; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
@keyframes pipeDot { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }

.pipe-core { position: relative; width: 200px; height: 200px; display: grid; place-items: center; }
.pipe-core .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(79,184,206,.35);
  animation: ringPulse 2.8s ease-out infinite;
}
.pipe-core .ring:nth-child(2) { animation-delay: .9s; border-color: rgba(123,196,127,.3); }
.pipe-core .ring:nth-child(3) { animation-delay: 1.8s; border-color: rgba(232,163,61,.3); }
@keyframes ringPulse { from { transform: scale(.45); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }
.pipe-core .core-dot {
  width: 92px; height: 92px; border-radius: 50%;
  background: conic-gradient(from 180deg, #4E6BFF, #2FBF71, #E8A33D, #9B59D0, #4E6BFF);
  animation: coreSpin 9s linear infinite;
  position: relative;
  box-shadow: 0 0 60px rgba(79,184,206,.35);
}
.pipe-core .core-dot::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--bg-0); }
@keyframes coreSpin { to { transform: rotate(360deg); } }

.pipe-answer {
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255,255,255,.04);
  padding: 20px 22px; min-height: 190px;
  transition: opacity .4s;
  text-align: left;
}
.pipe-answer h4 { margin: 0 0 10px; font-family: var(--font-display); font-size: 15px; font-weight: 600; }
.pipe-answer .pa-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); }
.pipe-answer .pa-row b { font-family: var(--font-mono); font-weight: 500; font-size: 11.5px; }
.pipe-answer .pos { color: var(--green); } .pipe-answer .neg { color: var(--red); } .pipe-answer .neu { color: var(--amber); }
.pipe-caps { display: grid; grid-template-columns: 1fr 90px 200px 90px 1fr; margin-top: 18px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; color: var(--faint); text-align: center; }

/* ---------- prism (split the light) ---------- */

.prism-wrap {
  border: 1px solid var(--line); border-radius: 14px;
  background: radial-gradient(ellipse 80% 80% at 60% 50%, #0c1a22 0%, rgba(255,255,255,.02) 70%);
  padding: 18px;
}
.prism-wrap svg { display: block; width: 100%; height: auto; }
.beam { stroke-dasharray: 10 14; animation: beamFlow 1.6s linear infinite; }
@keyframes beamFlow { to { stroke-dashoffset: -48; } }
.beam-flicker { animation: beamFlicker 3.2s ease-in-out infinite alternate; }
@keyframes beamFlicker { from { opacity: .75; } to { opacity: 1; } }
.prism-glow { animation: prismPulse 3.5s ease-in-out infinite alternate; }
@keyframes prismPulse { from { opacity: .5; } to { opacity: .95; } }

/* ---------- self-playing demo ---------- */

.auto-status { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; color: var(--teal); min-height: 16px; margin-bottom: 12px; }
.auto-status .dots::after { content: ""; animation: dotsAnim 1.2s steps(4) infinite; }
@keyframes dotsAnim { 0% { content: ""; } 25% { content: "·"; } 50% { content: "··"; } 75% { content: "···"; } }
.auto-question { min-height: 52px; }
.auto-question .caret { display: inline-block; width: 9px; height: 18px; background: var(--amber); vertical-align: -3px; margin-left: 3px; animation: caretBlink .8s steps(1) infinite; }
@keyframes caretBlink { 50% { opacity: 0; } }
.auto-summary { min-height: 96px; }
.auto-table tr { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.auto-table tr.show { opacity: 1; transform: none; }
.auto-gaps { opacity: 0; transition: opacity .5s; }
.auto-gaps.show { opacity: 1; }
.auto-body { min-height: 470px; }

/* ---------- dose–response (proof) ---------- */

.dose-card {
  border: 1px solid var(--line); border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  padding: 26px;
}
.dose-card svg { display: block; width: 100%; height: auto; }
.dose-slider { width: 100%; margin-top: 18px; accent-color: var(--amber); height: 28px; cursor: pointer; }
.dose-readout { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; font-family: var(--font-mono); }
.dose-readout .dose-x { font-size: 11px; letter-spacing: .1em; color: var(--faint); }
.dose-readout .dose-y { font-size: 20px; font-weight: 500; }
.dose-y.pos { color: var(--green); } .dose-y.neg { color: var(--red); }

/* ---------- aurora CTA ---------- */

.cta-final .aurora-blob {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: .3; pointer-events: none;
}
.cta-final .aurora-blob.b1 { width: 520px; height: 520px; left: -120px; bottom: -220px; background: radial-gradient(circle, rgba(46,155,232,.55), transparent 65%); animation: aurA 22s ease-in-out infinite alternate; }
.cta-final .aurora-blob.b2 { width: 560px; height: 560px; right: -140px; top: -200px; background: radial-gradient(circle, rgba(47,191,113,.45), transparent 65%); animation: aurB 26s ease-in-out infinite alternate; }
.cta-final .aurora-blob.b3 { width: 420px; height: 420px; left: 38%; bottom: -260px; background: radial-gradient(circle, rgba(155,89,208,.4), transparent 65%); animation: aurA 28s ease-in-out infinite alternate-reverse; }
@keyframes aurA { from { transform: translate(0,0) scale(1); } to { transform: translate(130px,-70px) scale(1.18); } }
@keyframes aurB { from { transform: translate(0,0) scale(1.08); } to { transform: translate(-140px,80px) scale(.92); } }

/* ---------- responsive additions ---------- */

@media (max-width: 900px) {
  .hero-scan { min-height: auto; }
  .hero-scan .wrap { padding: 110px 0 80px; }
  .scan-chip { display: none; }
  /* Sweeping scan beam is desktop-only: on phones the response chips it
     reveals are hidden, so the bar reads as a stray artefact. */
  .scan-beam { display: none; }
  .pipe-diagram, .pipe-caps { grid-template-columns: 1fr; gap: 26px; }
  .pipe-link { width: 2px; height: 56px; margin: 0 auto; }
  .pipe-link i { display: none; }
  .pipe-core { margin: 0 auto; }
  .pipe-docs { height: 250px; }
}


/* ==========================================================================
   v3 — light theme refinements. Page is light; the scan hero and the
   evidence "instrument" panels stay dark by design (device-screen pattern).
   ========================================================================== */

/* readable accent text on light surfaces */
a { color: var(--teal-ink); }
a:hover { color: #0A5C6D; }
.link-arrow { color: var(--teal-ink); }
.accent-amber { color: var(--amber-ink); }
.accent-teal { color: var(--teal-ink); }
.accent-green { color: var(--green-ink); }
.accent-purple { color: var(--purple-ink); }
.kicker--amber { color: var(--amber-ink); }
.kicker--teal { color: var(--teal-ink); }
.kicker--green { color: var(--green-ink); }
.kicker--purple { color: var(--purple-ink); }
.nav-links a.active { color: var(--amber-ink); }
.tick-list li::before { color: var(--teal-ink); }
.timeline-year { color: var(--amber-ink); }

/* inline-style accent leftovers on light cards */
[style*="color:var(--green)"] { color: var(--green-ink) !important; }
[style*="color:var(--amber)"] { color: var(--amber-ink) !important; }
[style*="color:var(--purple)"] { color: var(--purple-ink) !important; }
.hero:not(.hero-scan) [style*="color:var(--teal)"] { color: var(--teal-ink) !important; }

/* blueprint grids on light heroes */
.hero::before {
  background-image:
    linear-gradient(rgba(18, 32, 25, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 32, 25, 0.05) 1px, transparent 1px);
}

/* light chrome */
.nav { background: rgba(245, 247, 243, 0.85); }
@media (max-width: 900px) {
  .nav-links { background: rgba(245, 247, 243, 0.98); }
  .nav-burger span { background: var(--text); }
}
.card:hover { box-shadow: 0 14px 34px rgba(18, 32, 25, 0.08); }
.client-cell:hover { background: var(--bg-2); }
.dose-card {
  background: #FFFFFF;
  box-shadow: 0 20px 50px rgba(18, 32, 25, 0.10);
}
.dose-card svg text { fill: #5F7469; }

/* pipeline reads as "papers" on light */
.pipe-doc {
  background: linear-gradient(180deg, #FFFFFF, #F1F5EF);
  border-color: var(--line);
  box-shadow: 0 14px 30px rgba(18, 32, 25, 0.12);
}
.pipe-doc::after {
  background: repeating-linear-gradient(180deg, rgba(18, 32, 25, 0.18) 0 3px, transparent 3px 10px);
}
.pipe-link { background: rgba(18, 32, 25, 0.15); }
.pipe-core .core-dot::after { background: var(--bg-1); }
.pipe-answer { background: #FFFFFF; border-color: var(--line); box-shadow: 0 16px 40px rgba(18, 32, 25, 0.08); }
.pipe-answer .pos { color: var(--green-ink); }
.pipe-answer .neg { color: var(--red-ink); }
.pipe-answer .neu { color: var(--amber-ink); }

/* prism panel on light */
.prism-wrap {
  background: radial-gradient(ellipse 80% 80% at 60% 50%, rgba(14, 124, 147, 0.08), rgba(255, 255, 255, 0.5) 72%);
}

/* aurora CTA softens on light */
.cta-final .aurora-blob { opacity: 0.2; }

/* ---------- dark survivors: scan hero + instrument ---------- */

/* scan hero keeps bright accents */
.hero-scan .accent-teal { color: var(--teal); }
.hero-scan .hero-meta { color: #8FA79C; }
.hero-scan .hero-meta strong { color: #C4D3CA; }

/* instrument = dark device screen on the light page */
.instrument { box-shadow: 0 30px 70px rgba(18, 32, 25, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.instrument .demo-question { color: #E9F1EB; }
.instrument .demo-summary { color: #A2B7AA; }
.instrument .demo-metric strong { color: #E9F1EB; }
.instrument .demo-metric--confidence strong { color: var(--amber); }
.instrument .demo-table td { color: #A2B7AA; }
.instrument .demo-table td.pos { color: var(--green); }
.instrument .demo-table td.neg { color: var(--red); }
.instrument .demo-table td.neu { color: var(--amber); }
.instrument .demo-gaps li { color: #A2B7AA; }
.instrument .demo-foot { color: #6E847A; }
.instrument .auto-status { color: var(--teal); }


/* ==========================================================================
   v4 — hero readability, expertise explorer, prism v2, proof enrichments
   ========================================================================== */

/* ---------- scan hero: brighter image, readable text, translucent chips ---------- */

.scan-veil {
  background:
    linear-gradient(90deg, rgba(6,14,10,.90) 0%, rgba(6,14,10,.58) 34%, rgba(6,14,10,.14) 62%, rgba(6,14,10,.34) 100%),
    linear-gradient(0deg, rgba(6,14,10,.80) 0%, transparent 32%),
    linear-gradient(180deg, rgba(6,14,10,.45) 0%, transparent 20%);
}
.scan-chip {
  background: rgba(8,18,13,.52);
  border-color: rgba(96,205,225,.55);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 8px 28px rgba(0,0,0,.28);
}
.scan-chip .sc-read { color: #8FDCEE; }
.scan-chip .sc-resp { color: #E6F1EA; }
.scan-chip.warn { border-color: rgba(232,163,61,.6); }
.scan-chip.warn .sc-read { color: #F0BC62; }
.scan-chip.gap { border-color: rgba(176,124,216,.6); }
.scan-chip.gap .sc-read { color: #C99BE8; }
.hero-scan .lede { color: #DCE7E0; }
.hero-scan .h-display { color: #F3F9F5; }
.hero-scan .btn--ghost { border-color: rgba(233,244,238,.45); color: #E9F3EC; }
.hero-scan .btn--ghost:hover { border-color: rgba(233,244,238,.8); color: #FFFFFF; }
.hero-scan .hero-meta { color: #AFC4B8; }
.hero-scan .hero-meta strong { color: #EAF3ED; }
.scan-caption { color: rgba(255,255,255,.62); }

/* ---------- expertise explorer (services) ---------- */

.exp-tabs {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
  margin: 40px 0 22px;
}
.exp-tab {
  appearance: none; border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); cursor: pointer; text-align: left;
  padding: 14px 16px; font-family: inherit;
  transition: border-color .25s, box-shadow .25s, transform .25s;
  border-top: 3px solid transparent;
}
.exp-tab:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(18,32,25,.08); }
.exp-tab.active { border-color: var(--line); border-top-color: var(--tab-color, var(--teal-ink)); box-shadow: 0 12px 28px rgba(18,32,25,.10); }
.exp-tab-label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--text); }
.exp-tab-sub { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; color: var(--faint); text-transform: uppercase; }
.exp-tab.active .exp-tab-sub { color: var(--tab-color, var(--teal-ink)); }

.exp-panel {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--panel); box-shadow: 0 20px 50px rgba(18,32,25,.08);
}
.exp-visual {
  background: #0B1511;
  padding: 22px; display: flex; flex-direction: column; gap: 12px;
  border-right: 1px solid var(--line);
}
.exp-visual svg { display: block; width: 100%; height: auto; }
.exp-visual-label {
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em;
  color: rgba(233,244,238,.5); text-transform: uppercase;
}
.exp-info { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.exp-info h3 { margin: 0 0 12px; font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.exp-info > p { margin: 0 0 20px; color: var(--muted); font-size: 14.5px; line-height: 1.7; }
.exp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.exp-tag {
  font-size: 12px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
}
.exp-panel.switching .exp-visual, .exp-panel.switching .exp-info { opacity: 0; transform: translateY(6px); }
.exp-visual, .exp-info { transition: opacity .3s, transform .3s; }

/* little animations inside expertise visuals */
.exp-flow { stroke-dasharray: 6 8; animation: expFlow 1.4s linear infinite; }
@keyframes expFlow { to { stroke-dashoffset: -28; } }
.exp-pulse { animation: expPulse 2.6s ease-in-out infinite alternate; }
@keyframes expPulse { from { opacity: .45; } to { opacity: 1; } }
.exp-grow { transform-origin: left center; transform-box: fill-box; animation: expGrow 3.2s ease-in-out infinite alternate; }
@keyframes expGrow { from { transform: scaleX(.55); } to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .exp-tabs { grid-template-columns: repeat(2, 1fr); }
  .exp-panel { grid-template-columns: 1fr; }
  .exp-visual { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- prism v2 (CEA Evidence Engine) ---------- */

.photon { animation: photonFade 2.4s linear infinite; }
@keyframes photonFade { 0% { opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
.resp-bar { transform-origin: left center; transform-box: fill-box; animation: respGrow 3.8s ease-in-out infinite alternate; }
@keyframes respGrow { from { transform: scaleX(.72); } to { transform: scaleX(1); } }
.prism-spin { transform-origin: center; transform-box: fill-box; animation: prismSpin 14s linear infinite; }
@keyframes prismSpin { to { transform: rotate(360deg); } }

/* ---------- proof: deliverable brief + record bars ---------- */

.brief-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.brief-head h3 { margin: 0; font-family: var(--font-display); font-size: 17px; font-weight: 600; color: #E9F1EB; }
.brief-head span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; color: rgba(233,244,238,.45); white-space: nowrap; }
.brief-line { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; font-size: 13px; color: #A2B7AA; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.brief-line.show { opacity: 1; transform: none; }
.brief-line b { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .06em; color: #8FDCEE; white-space: nowrap; }
.brief-line .pos { color: #7BC47F; } .brief-line .neg { color: #E0654F; } .brief-line .neu { color: #E8A33D; }

.rec-bars { display: grid; gap: 22px; margin-top: 40px; }
.rec-bar-row { display: grid; grid-template-columns: 220px 1fr 90px; gap: 18px; align-items: center; }
.rec-bar-label { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.rec-bar-label b { display: block; font-family: var(--font-display); font-size: 15px; color: var(--text); font-weight: 600; }
.rec-bar-track { height: 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; position: relative; }
.rec-bar-fill {
  position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 999px;
  transition: width 1.4s cubic-bezier(.22,.8,.3,1);
}
.rec-bar-val { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--text); text-align: right; }
.rec-bar-val small { display: block; font-size: 9.5px; color: var(--faint); letter-spacing: .08em; }
.rec-bar-row.compare .rec-bar-track::after {
  content: ""; position: absolute; top: -4px; bottom: -4px; width: 2px;
  left: var(--bench, 30%); background: var(--red-ink); opacity: .55;
}
.rec-bar-bench { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; color: var(--red-ink); margin-top: 6px; }

@media (max-width: 900px) {
  .rec-bar-row { grid-template-columns: 1fr; gap: 8px; }
  .rec-bar-val { text-align: left; }
}

/* ---------- instrument gets a real dark surface ----------
   (base style was a transparent white sheen from the dark-theme era;
   on the light page it collapsed to white-on-white) */
.instrument {
  background: linear-gradient(180deg, #121D17, #0B1410);
  border-color: rgba(233, 244, 238, 0.14);
}
.instrument .instrument-top { background: rgba(0, 0, 0, 0.3); border-bottom-color: rgba(233, 244, 238, 0.1); }
.instrument .instrument-title { color: rgba(233, 244, 238, 0.62); }
.instrument .demo-metrics { background: rgba(233, 244, 238, 0.12); border-color: rgba(233, 244, 238, 0.12); }
.instrument .demo-metric span { color: #8FA89B; }
.instrument .demo-table th { color: #8FA89B; }
.instrument .demo-foot { color: #7A9488; }


/* ==========================================================================
   v5 — chip collision fix, high-tech pipeline + expertise visuals,
   borderless card system, services scan hero
   ========================================================================== */

/* ---------- 1. scan chips: locked to the right-side sensor zone ---------- */

.hero-scan .lede { max-width: 540px; }
.hero-scan .h-display { max-width: 620px; }

.scan-chip.c1 { left: 56%; top: 13%; }
.scan-chip.c2 { left: 76%; top: 13%; }
.scan-chip.c3 { left: 56%; top: 42%; }
.scan-chip.c4 { left: 76%; top: 42%; }
.scan-chip.c5 { left: 56%; top: 70%; }
.scan-chip.c6 { left: 76%; top: 70%; }

@media (max-width: 1180px) {
  .scan-chip { max-width: 230px; }
  .hero-scan .lede { max-width: 42%; }
  .scan-chip.c2, .scan-chip.c4, .scan-chip.c6 { left: 78%; }
}
@media (max-width: 1000px) {
  .scan-chip.c2, .scan-chip.c4, .scan-chip.c6 { display: none; }
}

/* ---------- 2. pipeline: instrument-dial core + telemetry status ---------- */

.pipe-core::before {
  content: ""; position: absolute; inset: -26px; border-radius: 50%;
  background: repeating-conic-gradient(rgba(14, 122, 144, 0.5) 0deg 1.2deg, transparent 1.2deg 12deg);
  -webkit-mask: radial-gradient(circle, transparent 58%, black 59%, black 66%, transparent 67%);
  mask: radial-gradient(circle, transparent 58%, black 59%, black 66%, transparent 67%);
  animation: tickSpin 40s linear infinite;
}
@keyframes tickSpin { to { transform: rotate(-360deg); } }
.pipe-core::after {
  content: ""; position: absolute; inset: -40px; border-radius: 50%;
  border: 1px dashed rgba(18, 32, 25, 0.18);
  animation: tickSpin 70s linear infinite reverse;
}
.pipe-core .core-dot::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(79, 184, 206, 0.55), transparent 90deg);
  animation: coreSpin 3.2s linear infinite;
}

/* targeting brackets on the answer card */
.pipe-answer { position: relative; }
.pipe-answer::before, .pipe-answer::after {
  content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none;
  border: 2px solid var(--teal-ink);
}
.pipe-answer::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.pipe-answer::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }

.pipe-status {
  margin-top: 26px; text-align: center;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em;
  color: var(--teal-ink); min-height: 16px;
}
.pipe-status .dots::after { content: ""; animation: dotsAnim 1.2s steps(4) infinite; }

/* docs get a scanline sheen */
.pipe-doc {
  background-image:
    repeating-linear-gradient(0deg, rgba(14, 122, 144, 0.05) 0 1px, transparent 1px 7px),
    linear-gradient(180deg, #FFFFFF, #F1F5EF);
}

/* ---------- 3. borderless card system (all pages) ---------- */

.grid-2, .grid-3, .grid-4 { gap: 36px 44px; }

.card {
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 24px 12px 24px 2px;
}
.card::before {
  content: ""; position: absolute; top: -1px; left: 0;
  width: 46px; height: 3px; background: var(--teal-ink);
  transition: width 0.35s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.card:hover {
  transform: none;
  border-color: var(--line);
  background: linear-gradient(180deg, rgba(18, 32, 25, 0.025), transparent 70%);
  box-shadow: none;
}
.card:hover::before { width: 100%; }

.card--accent-green::before { background: var(--green-ink); }
.card--accent-teal::before { background: var(--teal-ink); }
.card--accent-purple::before { background: var(--purple-ink); }
.card--accent-amber::before { background: var(--amber-ink); }

/* ---------- 4. expertise visuals: sweep beam, brackets, telemetry ---------- */

.exp-visual {
  position: relative; overflow: hidden;
  background-color: #0B1511;
  background-image: repeating-linear-gradient(0deg, rgba(126, 220, 235, 0.04) 0 1px, transparent 1px 6px);
}
.exp-visual::before {
  content: ""; position: absolute; top: 0; bottom: 0; width: 110px; left: -120px;
  background: linear-gradient(90deg, transparent, rgba(126, 220, 235, 0.13) 60%, rgba(126, 220, 235, 0.02));
  border-right: 2px solid rgba(126, 220, 235, 0.55);
  filter: drop-shadow(0 0 10px rgba(79, 184, 206, 0.5));
  animation: expSweep 4.6s cubic-bezier(0.4, 0.1, 0.5, 1) infinite;
  pointer-events: none; z-index: 2;
}
@keyframes expSweep {
  0% { left: -120px; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}
.exp-panel::before, .exp-panel::after {
  content: ""; position: absolute; width: 20px; height: 20px; pointer-events: none;
  border: 2px solid rgba(14, 122, 144, 0.55); z-index: 3;
}
.exp-panel { position: relative; }
.exp-panel::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.exp-panel::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.exp-readout {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: #8FDCEE; min-height: 15px;
  transition: opacity 0.3s;
}

/* ---------- 5. services scan hero (aisle) ---------- */

.hero-scan--aisle { min-height: 82vh; }
.hero-scan--aisle .scan-bg { background-image: url("./hero-aisle-v1.jpg"); }


/* ==========================================================================
   v6 — console-module cards, high-tech expertise visuals, scan heroes
   for proof & about
   ========================================================================== */

/* ---------- 1. console-module cards (replaces entry text boxes) ---------- */

.mod-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(126, 220, 235, 0.16);
  border-radius: 12px;
  background:
    repeating-linear-gradient(0deg, rgba(126, 220, 235, 0.045) 0 1px, transparent 1px 6px),
    linear-gradient(180deg, #111C16, #0B1511);
  box-shadow: 0 16px 38px rgba(6, 14, 10, 0.22);
  padding: 22px 24px 24px;
  color: #E9F3EC;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mod-card:hover {
  transform: translateY(-4px);
  border-color: var(--mod-accent, rgba(126, 220, 235, 0.55));
  box-shadow: 0 22px 50px rgba(6, 14, 10, 0.38);
  color: #FFFFFF;
}
/* targeting brackets */
.mod-card::before, .mod-card::after {
  content: ""; position: absolute; width: 16px; height: 16px; z-index: 3;
  border: 2px solid var(--mod-accent, var(--teal));
  opacity: 0.55; pointer-events: none;
  transition: opacity 0.25s;
}
.mod-card::before { top: 9px; left: 9px; border-right: 0; border-bottom: 0; }
.mod-card::after { bottom: 9px; right: 9px; border-left: 0; border-top: 0; }
.mod-card:hover::before, .mod-card:hover::after { opacity: 1; }
/* hover sweep beam */
.mod-sweep {
  position: absolute; top: 0; bottom: 0; width: 90px; left: -100px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(126, 220, 235, 0.14) 60%, rgba(126, 220, 235, 0.02));
  border-right: 2px solid rgba(126, 220, 235, 0.5);
  filter: drop-shadow(0 0 10px rgba(79, 184, 206, 0.45));
  opacity: 0; pointer-events: none;
}
.mod-card:hover .mod-sweep { animation: modSweep 0.9s cubic-bezier(0.4, 0.1, 0.5, 1) 1; }
@keyframes modSweep {
  0% { left: -100px; opacity: 0; }
  10% { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}
.mod-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; position: relative; z-index: 2;
}
.mod-id {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  color: rgba(233, 244, 238, 0.45);
}
.mod-status {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--mod-accent, var(--teal));
  box-shadow: 0 0 10px var(--mod-accent, var(--teal));
  animation: modBlink 2.2s ease-in-out infinite;
}
@keyframes modBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.mod-kicker {
  display: block; position: relative; z-index: 2;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--mod-accent, var(--teal));
  margin-bottom: 10px;
}
.mod-card h3 { position: relative; z-index: 2; color: #F3F9F5; font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.mod-card p { position: relative; z-index: 2; margin: 0 0 20px; font-size: 14px; line-height: 1.65; color: #A9BFB2; }
.mod-link {
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--mod-accent, var(--teal));
}
.mod-link i { font-style: normal; transition: transform 0.25s; }
.mod-card:hover .mod-link i { transform: translateX(5px); }
.mod-card--green { --mod-accent: var(--green); }
.mod-card--teal { --mod-accent: var(--teal); }
.mod-card--purple { --mod-accent: var(--purple); }

/* shared cards get an instrument corner mark + live dot (all pages) */
.card::after {
  content: ""; position: absolute; top: 10px; right: 10px;
  width: 13px; height: 13px;
  border-top: 2px solid var(--line); border-right: 2px solid var(--line);
  transition: border-color 0.25s;
}
.card:hover::after { border-color: var(--teal-ink); }
.card .card-num { display: flex; align-items: center; gap: 8px; }
.card .card-num::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: currentColor; opacity: 0.55;
  animation: modBlink 2.6s ease-in-out infinite;
}

/* ---------- 2. expertise explorer: full HUD treatment ---------- */

.exp-visual::after {
  content: ""; position: absolute; left: 0; right: 0; height: 70px; top: -80px;
  background: linear-gradient(180deg, transparent, rgba(126, 220, 235, 0.10) 55%, rgba(126, 220, 235, 0.02));
  border-bottom: 1.5px solid rgba(126, 220, 235, 0.35);
  filter: drop-shadow(0 0 8px rgba(79, 184, 206, 0.4));
  animation: expSweepY 7s cubic-bezier(0.4, 0.1, 0.5, 1) infinite;
  pointer-events: none; z-index: 2;
}
@keyframes expSweepY {
  0% { top: -80px; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { top: 105%; opacity: 0; }
}
.exp-corner {
  position: absolute; width: 15px; height: 15px; z-index: 3;
  border: 2px solid rgba(126, 220, 235, 0.6); pointer-events: none;
}
.exp-corner.c-tl { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.exp-corner.c-tr { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.exp-corner.c-bl { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.exp-corner.c-br { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.exp-hud {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.18em;
  color: rgba(233, 244, 238, 0.6); text-transform: uppercase;
}
.exp-hud-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #7BC47F; box-shadow: 0 0 10px #7BC47F;
  animation: modBlink 1.8s ease-in-out infinite;
}
.exp-hud-coord { margin-left: auto; color: rgba(233, 244, 238, 0.35); }
.exp-visual svg { position: relative; z-index: 1; }
.exp-visual svg .exp-pulse, .exp-visual svg .exp-grow {
  filter: drop-shadow(0 0 5px rgba(126, 220, 235, 0.28));
}
.exp-ring {
  transform-origin: center; transform-box: fill-box;
  animation: expRing 2.4s ease-out infinite;
}
@keyframes expRing {
  0% { transform: scale(0.35); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}
.exp-rot {
  transform-origin: center; transform-box: fill-box;
  animation: expRot 16s linear infinite;
}
@keyframes expRot { to { transform: rotate(360deg); } }

/* ---------- 3. scan heroes for proof & about ---------- */

.hero-scan .accent-amber { color: var(--amber); }
.hero-scan .accent-green { color: var(--green); }
.hero-scan .accent-purple { color: var(--purple); }

.hero-scan--proof { min-height: 76vh; }
.hero-scan--proof .scan-bg { background-image: url("./spectral-canopy-v1.jpg"); }

/* still heroes (services / proof / about): no sweep beam, chips fade in once */
.hero-scan--still .scan-chip {
  opacity: 0;
  animation: chipIn 0.7s cubic-bezier(0.22, 0.8, 0.3, 1) forwards;
}
.hero-scan--still .scan-chip.c1 { animation-delay: 0.15s; }
.hero-scan--still .scan-chip.c2 { animation-delay: 0.3s; }
.hero-scan--still .scan-chip.c3 { animation-delay: 0.45s; }
.hero-scan--still .scan-chip.c4 { animation-delay: 0.6s; }
.hero-scan--still .scan-chip.c5 { animation-delay: 0.75s; }
.hero-scan--still .scan-chip.c6 { animation-delay: 0.9s; }
@keyframes chipIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.hero-scan--about { min-height: 76vh; }
.hero-scan--about .scan-bg { background-image: url("./cea-systems-v1.jpg"); background-position: center 40%; }
.hero-scan--about .scan-veil {
  background:
    linear-gradient(90deg, rgba(6,14,10,.93) 0%, rgba(6,14,10,.68) 34%, rgba(6,14,10,.34) 62%, rgba(6,14,10,.52) 100%),
    linear-gradient(0deg, rgba(6,14,10,.84) 0%, transparent 34%),
    linear-gradient(180deg, rgba(6,14,10,.5) 0%, transparent 22%);
}

/* ==========================================================================
   v7 — evidence field interface, accessible motion + responsive refinements
   ========================================================================== */

/* keyboard visibility */
:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

/* real mobile navigation button */
.nav-burger {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
}
@media (max-width: 900px) {
  .nav-open .nav-links { display: flex; }
  .nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* homepage scan results: sparse, discovered, and intentionally irregular */
.scan-result {
  --tilt: 0deg;
  width: min(270px, 20vw);
  padding: 11px 14px 12px 18px;
  border: 0;
  border-left: 2px solid rgba(126,220,235,.85);
  border-bottom: 1px solid rgba(126,220,235,.35);
  border-radius: 0 0 8px 0;
  background: linear-gradient(100deg, rgba(5,14,10,.88), rgba(5,14,10,.42) 78%, transparent);
  box-shadow: none;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
  transform: translateY(10px) rotate(var(--tilt));
}
.scan-result.on { transform: translateY(0) rotate(var(--tilt)); }
.scan-result::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: var(--lead, 86px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(126,220,235,.9));
  transform-origin: right;
  transform: rotate(var(--lead-angle, 0deg));
}
.scan-pin {
  position: absolute;
  top: 50%;
  right: calc(100% + var(--lead, 86px) - 3px);
  width: 7px;
  height: 7px;
  border: 1px solid #8FDCEE;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(79,184,206,.12), 0 0 14px #4FB8CE;
  transform: translateY(-3px);
}
.scan-result--dli { left: 64%; top: 16%; --tilt: -1.4deg; --lead: 92px; --lead-angle: 8deg; }
.scan-result--response { left: 72%; top: 46%; --tilt: 1.2deg; --lead: 128px; --lead-angle: -11deg; }
.scan-result--gap { left: 61%; top: 72%; --tilt: -.7deg; --lead: 76px; --lead-angle: -4deg; }
.scan-result--gap::after { background: linear-gradient(90deg, transparent, rgba(201,155,232,.9)); }
.scan-result--gap .scan-pin { border-color: #C99BE8; box-shadow: 0 0 0 5px rgba(176,124,216,.12), 0 0 14px #B07CD8; }
.scan-telemetry {
  position: absolute;
  right: 3.2%;
  bottom: 4.5%;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .16em;
  color: rgba(233,244,238,.58);
}
.scan-telemetry::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); animation: modBlink 1.8s ease-in-out infinite; }
.scan-telemetry b { color: #DCE7E0; font-weight: 500; }

/* services hero: anchored signals instead of a card grid */
.hero-scan--aisle .service-signal {
  width: min(260px, 20vw);
  padding: 9px 12px 10px 17px;
  border: 0;
  border-left: 2px solid rgba(126,220,235,.9);
  border-bottom: 1px solid rgba(126,220,235,.28);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(4,13,9,.84), rgba(4,13,9,.28));
  box-shadow: none;
  opacity: 0;
}
.hero-scan--aisle .service-signal::before {
  content: "";
  position: absolute;
  left: -70px;
  top: 50%;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor);
  opacity: .8;
}
.hero-scan--aisle .service-signal .scan-pin { right: calc(100% + 67px); }
.hero-scan--aisle .service-signal.c1 { left: 65%; top: 15%; transform: rotate(-1deg); }
.hero-scan--aisle .service-signal.c3 { left: 74%; top: 37%; transform: rotate(.7deg); }
.hero-scan--aisle .service-signal.c5 { left: 62%; top: 61%; transform: rotate(-.6deg); }
.hero-scan--aisle .service-signal.c6 { left: 76%; top: 75%; transform: rotate(.8deg); }
.scan-telemetry--service { right: 4%; bottom: 3.5%; }

/* high-tech evidence processing deck */
.evidence-deck {
  position: relative;
  margin-top: 52px;
  overflow: hidden;
  border: 1px solid rgba(126,220,235,.22);
  border-radius: 16px;
  background:
    linear-gradient(rgba(126,220,235,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126,220,235,.045) 1px, transparent 1px),
    radial-gradient(circle at 50% 52%, rgba(79,184,206,.14), transparent 34%),
    linear-gradient(150deg, #0A1712, #0E1D17 54%, #09130F);
  background-size: 32px 32px, 32px 32px, auto, auto;
  color: #E9F3EC;
  box-shadow: 0 30px 80px rgba(18,32,25,.22);
}
.evidence-deck::before, .evidence-deck::after {
  content: ""; position: absolute; width: 34px; height: 34px; pointer-events: none;
  border: 2px solid rgba(126,220,235,.7);
}
.evidence-deck::before { left: 10px; top: 10px; border-right: 0; border-bottom: 0; }
.evidence-deck::after { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }
.deck-topline, .deck-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 13px 18px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em;
  color: #8FA89B; background: rgba(0,0,0,.22);
}
.deck-topline { border-bottom: 1px solid rgba(233,244,238,.09); }
.deck-topline i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px var(--green); }
.deck-topline span:last-child { color: #8FDCEE; transition: opacity .3s; }
.deck-grid {
  display: grid; grid-template-columns: 1fr 80px 220px 80px 1.25fr;
  align-items: center; gap: 14px; min-height: 370px; padding: 34px 36px;
}
.deck-corpus, .deck-core, .deck-output { min-width: 0; text-align: left; }
.deck-label { display: block; margin-bottom: 22px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .18em; color: #7C998B; }
.deck-corpus strong, .deck-core strong { display: block; margin-top: 18px; font-family: var(--font-display); font-size: 19px; color: #F3F9F5; }
.deck-corpus small, .deck-core small { display: block; margin-top: 5px; color: #8FA89B; font-size: 11.5px; }
.corpus-stack { position: relative; width: 170px; height: 132px; }
.corpus-stack i {
  position: absolute; inset: 0; border: 1px solid rgba(126,220,235,.28); border-radius: 7px;
  background: repeating-linear-gradient(180deg, rgba(126,220,235,.13) 0 2px, transparent 2px 10px), #10231B;
  transform-origin: bottom center;
}
.corpus-stack i:nth-child(1) { transform: translate(-18px,8px) rotate(-7deg); opacity:.35; }
.corpus-stack i:nth-child(2) { transform: translate(-9px,4px) rotate(-3deg); opacity:.55; }
.corpus-stack i:nth-child(3) { transform: translate(9px,4px) rotate(3deg); opacity:.55; }
.corpus-stack i:nth-child(4) { transform: translate(18px,8px) rotate(7deg); opacity:.35; }
.corpus-stack i:nth-child(5) { background: repeating-linear-gradient(180deg, rgba(126,220,235,.18) 0 2px, transparent 2px 10px), linear-gradient(180deg,#173126,#0D1D16); animation: corpusBreath 3.4s ease-in-out infinite alternate; }
@keyframes corpusBreath { to { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(79,184,206,.18); } }
.signal-lane { position: relative; height: 46px; border-top: 1px solid rgba(126,220,235,.22); border-bottom: 1px solid rgba(126,220,235,.08); }
.signal-lane::before { content:""; position:absolute; left:0; right:0; top:50%; height:1px; background:linear-gradient(90deg,transparent,#4FB8CE,transparent); }
.signal-lane i { position:absolute; top:20px; width:6px; height:6px; border-radius:50%; background:#8FDCEE; box-shadow:0 0 13px #4FB8CE; animation:signalRun 1.8s linear infinite; }
.signal-lane i:nth-child(2){animation-delay:.6s;background:var(--green)}
.signal-lane i:nth-child(3){animation-delay:1.2s;background:var(--amber)}
@keyframes signalRun { from{left:0;opacity:0} 15%,85%{opacity:1} to{left:calc(100% - 6px);opacity:0} }
.signal-lane--out i { animation-direction: normal; }
.core-orbit { position:relative; width:170px; height:170px; margin:0 auto; border:1px solid rgba(126,220,235,.26); border-radius:50%; animation:coreSpin 18s linear infinite; }
.core-orbit::before, .core-orbit::after { content:""; position:absolute; border-radius:50%; inset:18px; border:1px dashed rgba(123,196,127,.34); }
.core-orbit::after { inset:42px; border-style:solid; border-color:rgba(232,163,61,.36); }
.core-orbit i { position:absolute; width:9px; height:9px; border-radius:50%; box-shadow:0 0 14px currentColor; background:currentColor; }
.core-orbit i:nth-child(1){left:18px;top:27px;color:var(--teal)}
.core-orbit i:nth-child(2){right:8px;top:82px;color:var(--green)}
.core-orbit i:nth-child(3){left:78px;bottom:-4px;color:var(--amber)}
.core-orbit b { position:absolute; inset:52px; display:grid; place-items:center; border-radius:50%; background:conic-gradient(#4E6BFF,#2FBF71,#E8A33D,#9B59D0,#4E6BFF); color:#07110C; font:700 31px var(--font-display); box-shadow:0 0 40px rgba(79,184,206,.28); }
.core-orbit b::before { content:""; position:absolute; inset:6px; z-index:-1; border-radius:50%; background:#DDEFE4; }
.deck-core { text-align:center; }
.deck-output .pipe-answer { min-height:220px; border-color:rgba(126,220,235,.24); background:rgba(2,10,7,.46); color:#E9F3EC; }
.deck-output .pipe-answer h4 { color:#F3F9F5; }
.deck-output .pipe-answer .pa-row { color:#9DB2A7; border-color:rgba(233,244,238,.08); }
.deck-output .pipe-answer .pa-row b[style] { color:#8FDCEE !important; }
.deck-footer { justify-content:space-around; border-top:1px solid rgba(233,244,238,.08); color:#7C998B; }

/* services expertise console — no sweeping scan bar */
.exp-visual::before, .exp-visual::after { display: none; }
.exp-panel {
  grid-template-columns: 1.15fr .85fr;
  background: linear-gradient(145deg,#0A1712,#101E18);
  border-color: rgba(126,220,235,.22);
  box-shadow: 0 28px 70px rgba(18,32,25,.2);
}
.exp-console-bar {
  grid-column: 1 / -1; display:flex; justify-content:space-between; gap:18px;
  padding:12px 18px; border-bottom:1px solid rgba(233,244,238,.09); background:rgba(0,0,0,.22);
  font-family:var(--font-mono); font-size:9.5px; letter-spacing:.16em; color:#7C998B;
}
.exp-console-bar i { display:inline-block; width:7px; height:7px; margin-right:8px; border-radius:50%; background:var(--green); box-shadow:0 0 12px var(--green); }
.exp-visual { border-right-color:rgba(233,244,238,.09); background-image:radial-gradient(circle at 50% 46%,rgba(79,184,206,.12),transparent 44%),linear-gradient(rgba(126,220,235,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(126,220,235,.04) 1px,transparent 1px); background-size:auto,24px 24px,24px 24px; }
#expVisual { position:relative; padding:8px; border:1px solid rgba(126,220,235,.12); background:rgba(1,8,5,.28); }
#expVisual::before { content:""; position:absolute; inset:14% 22%; border:1px solid rgba(126,220,235,.08); border-radius:50%; box-shadow:0 0 40px rgba(79,184,206,.1); animation:consolePulse 3s ease-in-out infinite alternate; pointer-events:none; }
@keyframes consolePulse { to { transform:scale(1.08); opacity:.45; } }
.exp-info { background:linear-gradient(180deg,rgba(20,36,28,.92),rgba(10,21,16,.96)); color:#E9F3EC; }
.exp-info-kicker { margin-bottom:12px; font:500 9.5px var(--font-mono); letter-spacing:.18em; color:#8FDCEE; }
.exp-info h3 { color:#F3F9F5; }
.exp-info > p { color:#A5B9AE; }
.exp-tag { border-color:rgba(233,244,238,.13); background:rgba(233,244,238,.06); color:#C9D8D0; }
.exp-tabs { gap:8px; }
.exp-tab { border-radius:7px; background:#F7F9F5; }
.exp-tab.active { background:#101E18; }
.exp-tab.active .exp-tab-label { color:#F3F9F5; }

/* full-width spectral context lab */
.spectrum-intro { display:grid; grid-template-columns:.95fr 1.05fr; gap:70px; align-items:start; margin-bottom:42px; }
.spectrum-principles { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.spectrum-principles .journey-step { padding:0 0 0 18px; border-left:1px solid var(--line); }
.spectrum-principles .journey-step::after { display:none; }
.spectrum-principles h3 { margin:8px 0 7px; font-size:15px; }
.spectrum-principles p { margin:0; font-size:12.5px; color:var(--muted); }
.spectrum-console { padding:0; overflow:hidden; border-color:rgba(126,220,235,.22); background:linear-gradient(145deg,#091510,#0D1C16); box-shadow:0 30px 75px rgba(18,32,25,.2); }
.spectrum-console-top { display:flex; justify-content:space-between; gap:18px; padding:12px 18px; border-bottom:1px solid rgba(233,244,238,.09); background:rgba(0,0,0,.22); font:500 9.5px var(--font-mono); letter-spacing:.16em; color:#7C998B; }
.spectrum-console-top i { display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:var(--green);box-shadow:0 0 12px var(--green); }
.spectrum-stage { padding:12px 24px 4px; background:radial-gradient(circle at 42% 50%,rgba(79,184,206,.12),transparent 38%),linear-gradient(rgba(126,220,235,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(126,220,235,.035) 1px,transparent 1px); background-size:auto,28px 28px,28px 28px; }
.spectrum-stage svg { max-height:500px; }
.spectrum-bandrail { display:grid; grid-template-columns:repeat(5,1fr); border-top:1px solid rgba(233,244,238,.08); border-bottom:1px solid rgba(233,244,238,.08); }
.spectrum-bandrail button { appearance:none; border:0; border-right:1px solid rgba(233,244,238,.08); padding:13px 10px; background:rgba(0,0,0,.16); color:#81998D; font:500 10px var(--font-mono); letter-spacing:.12em; cursor:pointer; }
.spectrum-bandrail button:last-child { border-right:0; }
.spectrum-bandrail button span { display:block; margin-top:3px; font-size:8.5px; color:#60786C; }
.spectrum-bandrail button[aria-selected="true"] { color:#E9F3EC; background:linear-gradient(180deg,rgba(79,184,206,.18),rgba(79,184,206,.04)); box-shadow:inset 0 2px #4FB8CE; }
.spectrum-output { display:grid; grid-template-columns:200px .8fr 1.4fr; gap:24px; align-items:center; min-height:104px; padding:22px 24px; text-align:left; }
.spectrum-output span { font:500 9.5px var(--font-mono); letter-spacing:.15em; color:#8FDCEE; }
.spectrum-output strong { font:600 17px var(--font-display); color:#F3F9F5; }
.spectrum-output p { margin:0; font-size:12.5px; line-height:1.6; color:#9EB2A8; }
.spectrum-output.is-updating { animation:demoFade .35s ease; }

/* credibility and proof */
.credibility-panel { display:grid; grid-template-columns:1.15fr .85fr; gap:0; margin-top:38px; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--panel); }
.credibility-panel > div { padding:32px; }
.credibility-panel > div + div { border-left:1px solid var(--line); background:var(--bg-2); }
.credibility-panel h3 { font-size:22px; margin-bottom:12px; }
.credibility-panel p { margin:0; color:var(--muted); font-size:14.5px; }
.credibility-links { display:flex; gap:22px; flex-wrap:wrap; margin-top:24px; }
.credibility-standard > span { display:block; margin-bottom:16px; font:500 10px var(--font-mono); letter-spacing:.16em; color:var(--teal-ink); }
.credibility-standard p + p { margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }
.proof-standards { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; margin-top:42px; background:var(--line); border:1px solid var(--line); }
.proof-standards article { position:relative; padding:30px 26px; background:var(--panel); }
.proof-standards article::before { content:""; position:absolute; left:0; right:0; top:0; height:2px; background:var(--spectral); transform:scaleX(.28); transform-origin:left; transition:transform .3s; }
.proof-standards article:hover::before { transform:scaleX(1); }
.proof-standards span { font:500 10px var(--font-mono); letter-spacing:.16em; color:var(--teal-ink); }
.proof-standards h3 { margin:16px 0 9px; font-size:18px; }
.proof-standards p { margin:0; color:var(--muted); font-size:13.5px; }

/* connected engagement system */
.journey-section .h-section { max-width:790px; }
.journey-console {
  position:relative; margin-top:44px; overflow:hidden; color:#E9F3EC;
  border:1px solid rgba(126,220,235,.22); border-radius:12px;
  background:
    radial-gradient(circle at 16% 22%,rgba(79,184,206,.13),transparent 30%),
    radial-gradient(circle at 86% 80%,rgba(195,111,208,.1),transparent 28%),
    linear-gradient(rgba(126,220,235,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(126,220,235,.035) 1px,transparent 1px),
    linear-gradient(145deg,#091510,#0C1A14 55%,#10151A);
  background-size:auto,auto,28px 28px,28px 28px,auto;
  box-shadow:0 30px 75px rgba(18,32,25,.2);
}
.journey-console::after { content:""; position:absolute; inset:0; pointer-events:none; background:linear-gradient(115deg,transparent 28%,rgba(126,220,235,.05) 45%,transparent 62%); transform:translateX(-100%); animation:journeyGlass 8s ease-in-out infinite; }
@keyframes journeyGlass { 0%,55%{transform:translateX(-100%)} 85%,100%{transform:translateX(100%)} }
.journey-console-bar { position:relative; z-index:2; display:flex; justify-content:space-between; gap:18px; padding:12px 18px; border-bottom:1px solid rgba(233,244,238,.09); background:rgba(0,0,0,.22); font:500 9.5px var(--font-mono); letter-spacing:.16em; color:#7C998B; }
.journey-console-bar i { display:inline-block; width:7px; height:7px; margin-right:8px; border-radius:50%; background:var(--green); box-shadow:0 0 12px var(--green); animation:consolePulse 1.6s ease-in-out infinite alternate; }
.journey-system { position:relative; z-index:1; display:grid; grid-template-columns:repeat(4,1fr); padding:38px 18px 30px; }
.journey-track { position:absolute; z-index:0; top:76px; left:calc(12.5% + 9px); right:calc(12.5% + 9px); height:1px; background:linear-gradient(90deg,#4FB8CE,#7BC47F 34%,#F0AA3C 68%,#C36FD0); box-shadow:0 0 12px rgba(79,184,206,.2); }
.journey-track::before,.journey-track::after { content:""; position:absolute; top:-2px; width:5px; height:5px; border-radius:50%; background:#8FDCEE; box-shadow:0 0 10px #4FB8CE; }
.journey-track::before { left:0; }
.journey-track::after { right:0; background:#D79AE0; box-shadow:0 0 10px #C36FD0; }
.journey-track > i { position:absolute; top:-3px; left:0; width:7px; height:7px; border-radius:50%; background:#F3F9F5; box-shadow:0 0 6px #fff,0 0 18px #4FB8CE; animation:journeySignal 5.2s linear infinite; }
@keyframes journeySignal { 0%{left:0;opacity:0} 8%,92%{opacity:1} 100%{left:calc(100% - 7px);opacity:0} }
.journey-node { position:relative; z-index:1; min-width:0; padding:0 24px 8px; }
.journey-node + .journey-node { border-left:1px solid rgba(233,244,238,.08); }
.journey-node-head { position:relative; display:flex; align-items:flex-start; justify-content:center; gap:8px; min-height:48px; font:500 9px var(--font-mono); letter-spacing:.14em; color:#769186; }
.journey-node-head > span { text-align:right; }
.journey-node-head > b { font-weight:500; color:#9EC8D1; }
.journey-node-head > i { position:absolute; left:50%; top:32px; width:11px; height:11px; border:2px solid #4FB8CE; border-radius:2px; background:#0A1511; box-shadow:0 0 0 4px rgba(79,184,206,.08),0 0 14px rgba(79,184,206,.45); transform:translateX(-50%) rotate(45deg); }
.journey-node:nth-of-type(2) .journey-node-head > i { border-color:#7BC47F; box-shadow:0 0 0 4px rgba(123,196,127,.08),0 0 14px rgba(123,196,127,.42); }
.journey-node:nth-of-type(3) .journey-node-head > i { border-color:#F0AA3C; box-shadow:0 0 0 4px rgba(240,170,60,.08),0 0 14px rgba(240,170,60,.42); }
.journey-node:nth-of-type(4) .journey-node-head > i { border-color:#C36FD0; box-shadow:0 0 0 4px rgba(195,111,208,.08),0 0 14px rgba(195,111,208,.42); }
.journey-node h3 { margin:25px 0 10px; color:#F3F9F5; font-size:18px; font-weight:600; }
.journey-node p { min-height:64px; margin:0; color:#9EB2A8; font-size:13px; line-height:1.6; }
.journey-output { display:block; margin-top:22px; padding-top:12px; border-top:1px solid rgba(233,244,238,.08); font:500 8.5px var(--font-mono); letter-spacing:.13em; color:#78AEB9; }
.journey-console-foot { position:relative; z-index:2; display:flex; justify-content:space-between; align-items:center; gap:24px; padding:18px; border-top:1px solid rgba(233,244,238,.09); background:rgba(0,0,0,.18); }
.journey-console-foot .btn--ghost { flex:0 0 auto; border-color:rgba(233,244,238,.22); color:#E9F3EC; }
.journey-status { display:flex; gap:22px; flex-wrap:wrap; font:500 8.5px var(--font-mono); letter-spacing:.13em; color:#789287; }
.journey-status span::first-letter { color:var(--green); }

@media (max-width: 1180px) and (min-width: 901px) {
  .scan-result { width:230px; }
  .scan-result--dli { left:60%; }
  .scan-result--response { left:69%; }
  .scan-result--gap { left:60%; }
  .hero-scan--aisle .service-signal { width:230px; }
  .hero-scan--aisle .service-signal.c1, .hero-scan--aisle .service-signal.c5 { left:61%; }
  .hero-scan--aisle .service-signal.c3, .hero-scan--aisle .service-signal.c6 { left:72%; }
}

@media (max-width: 900px) {
  .hero-scan .lede { max-width: 100%; }
  .hero-scan .h-display { max-width: 100%; }
  .scan-telemetry { display:none; }
  .deck-grid { grid-template-columns:1fr; gap:24px; padding:30px 24px; }
  .deck-corpus, .deck-core, .deck-output { text-align:center; }
  .corpus-stack { margin:0 auto; }
  .signal-lane { width:46px; height:58px; margin:0 auto; border:0; border-left:1px solid rgba(126,220,235,.22); border-right:1px solid rgba(126,220,235,.08); }
  .signal-lane::before { top:0; bottom:0; left:50%; width:1px; height:auto; background:linear-gradient(180deg,transparent,#4FB8CE,transparent); }
  .signal-lane i { left:20px; top:0; animation:signalRunY 1.8s linear infinite; }
  @keyframes signalRunY { from{top:0;opacity:0} 15%,85%{opacity:1} to{top:calc(100% - 6px);opacity:0} }
  .deck-label { margin-bottom:16px; }
  .deck-footer { flex-wrap:wrap; }
  .exp-panel { grid-template-columns:1fr; }
  .exp-console-bar { grid-column:1; }
  .exp-visual { border-right:0; border-bottom:1px solid rgba(233,244,238,.09); }
  .spectrum-intro { grid-template-columns:1fr; gap:34px; }
  .spectrum-principles { grid-template-columns:1fr; gap:14px; }
  .spectrum-console-top, .exp-console-bar { align-items:flex-start; flex-direction:column; gap:4px; }
  .spectrum-output { grid-template-columns:1fr; gap:8px; }
  .credibility-panel { grid-template-columns:1fr; }
  .credibility-panel > div + div { border-left:0; border-top:1px solid var(--line); }
  .proof-standards { grid-template-columns:repeat(2,1fr); }
  .journey-system { grid-template-columns:repeat(2,1fr); row-gap:28px; }
  .journey-track { display:none; }
  .journey-node:nth-child(4) { border-left:0; }
  .journey-node p { min-height:0; }
}

@media (max-width: 640px) {
  .wrap { width:min(var(--max),calc(100% - 36px)); }
  .section { padding:64px 0; }
  .section--tight { padding:56px 0; }
  .hero-scan .wrap { padding:84px 0 64px; }
  .hero-copy { margin:20px 0 28px; }
  .scan-caption { max-width:80%; font-size:9px; }
  body .stat-label, body .mod-id, body .exp-tab-sub, body .instrument-title, body .tag-illustrative, body .j-num, body .mono-note { font-size:11px !important; }
  .deck-topline, .deck-footer { font-size:9px; }
  .spectrum-bandrail { grid-template-columns:repeat(2,1fr); }
  .spectrum-bandrail button { border-bottom:1px solid rgba(233,244,238,.08); }
  .spectrum-stage { padding:6px 8px 0; overflow:hidden; }
  .spectrum-stage svg { width:118%; max-width:none; margin-left:-9%; }
  .proof-standards { grid-template-columns:1fr; }
  .credibility-panel > div { padding:25px 22px; }
  .journey-console-bar,.journey-console-foot { align-items:flex-start; flex-direction:column; }
  .journey-system { grid-template-columns:1fr; padding:24px 18px 12px; }
  .journey-node { padding:0 4px 24px 24px; border-left:1px solid rgba(126,220,235,.22) !important; }
  .journey-node:last-child { padding-bottom:8px; }
  .journey-node-head { justify-content:flex-start; min-height:34px; }
  .journey-node-head > span { text-align:left; }
  .journey-node-head > i { left:-6px; top:4px; bottom:auto; transform:rotate(45deg); }
  .journey-node h3 { margin-top:14px; }
  .journey-output { margin-top:16px; }
  .journey-console-foot .btn { width:100%; text-align:center; }
}

/* ========================================================================== 
   v8 — mobile-first visual layer
   Keeps one responsive site while giving phone layouts their own composition.
   ========================================================================== */

.mobile-hero-signals { display: none; }
.hero--engine { padding: 96px 0 92px; }

@media (max-width: 900px) {
  .nav-links {
    background: rgba(245,247,243,.98);
    border-bottom-color: var(--line);
    box-shadow: 0 18px 36px rgba(18,32,25,.14);
  }
  .nav-links a { color: var(--muted); }
  .nav-links a:hover { color: var(--text); }
  .nav-links a.active { color: var(--amber-ink); }

  .hero-scan .scan-bg {
    animation: none;
    transform: scale(1.035);
    background-position: 60% center;
  }
  .hero-scan--aisle .scan-bg { background-position: 54% center; }
  .hero-scan--proof .scan-bg { background-position: 58% center; }
  .hero-scan--about .scan-bg { background-position: 57% 42%; }
  .hero-scan .scan-veil {
    background:
      linear-gradient(180deg, rgba(6,14,10,.62) 0%, rgba(6,14,10,.38) 24%, rgba(6,14,10,.88) 100%),
      linear-gradient(90deg, rgba(6,14,10,.92) 0%, rgba(6,14,10,.58) 68%, rgba(6,14,10,.45) 100%);
  }

  .mobile-hero-signals {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 28px;
    max-width: 620px;
  }
  .mobile-hero-signals > span {
    position: relative;
    min-width: 0;
    padding: 12px 10px 10px;
    border: 1px solid rgba(143,220,238,.26);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(12,29,22,.82), rgba(7,18,13,.72));
    box-shadow: inset 0 1px rgba(255,255,255,.05), 0 10px 24px rgba(0,0,0,.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .mobile-hero-signals i {
    display: block;
    width: 6px;
    height: 6px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 12px currentColor;
  }
  .mobile-hero-signals > span:nth-child(2) i { background: var(--green); }
  .mobile-hero-signals > span:nth-child(3) i { background: var(--amber); }
  .mobile-hero-signals b,
  .mobile-hero-signals small { display: block; overflow-wrap: anywhere; }
  .mobile-hero-signals b {
    color: #EAF4EE;
    font: 600 9px/1.25 var(--font-mono);
    letter-spacing: .09em;
  }
  .mobile-hero-signals small {
    margin-top: 5px;
    color: #91AA9E;
    font: 500 8px/1.35 var(--font-mono);
    letter-spacing: .04em;
  }

  .hero--engine .hero-grid { gap: 38px; }
  .hero--engine .instrument { margin-top: 2px; }
}

@media (max-width: 640px) {
  .nav-inner {
    width: min(var(--max), calc(100% - 36px));
    min-height: 60px;
  }
  .brand { gap: 8px; font-size: 14px; letter-spacing: .1em; }
  .brand img { width: 27px; height: 27px; }
  .nav-burger { width: 42px; height: 42px; margin-right: -7px; }
  .nav-links {
    top: 60px;
    padding: 7px 18px 18px;
  }
  .nav-links a { padding: 14px 2px; font-size: 12px; }
  .nav-links .nav-cta { min-height: 48px; padding: 13px 16px; }

  .section { padding: 58px 0; }
  .section--tight { padding: 48px 0; }
  .section-head-row { align-items: flex-start; margin-bottom: 30px; }
  .h-section { font-size: clamp(1.65rem, 7.8vw, 2.05rem); line-height: 1.08; }
  .lede { font-size: 15.5px; line-height: 1.65; }

  .hero-scan { min-height: auto; }
  .hero-scan .wrap { padding: 72px 0 58px; }
  .hero-scan .wrap > div:first-child {
    gap: 11px !important;
    margin-bottom: 22px !important;
  }
  .hero-scan .wrap > div:first-child > span:last-child {
    font-size: 9px !important;
    line-height: 1.5;
    letter-spacing: .14em !important;
  }
  .hero-scan .h-display,
  .hero--engine .h-display {
    font-size: clamp(2.15rem, 10.6vw, 2.7rem);
    line-height: 1.01;
    letter-spacing: -.035em;
  }
  .hero-scan .lede { font-size: 15.5px; line-height: 1.62; }
  .hero-copy { margin: 18px 0 24px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn,
  .cta-actions .btn { min-height: 50px; padding: 14px 18px; }
  .hero-meta {
    margin-top: 22px;
    padding-left: 12px;
    border-left: 2px solid rgba(143,220,238,.5);
    font-size: 10px;
    line-height: 1.65;
  }
  .mobile-hero-signals { margin-top: 22px; gap: 6px; }
  .mobile-hero-signals > span { padding: 10px 8px 9px; }
  .mobile-hero-signals b { font-size: 8.5px; letter-spacing: .06em; }
  .mobile-hero-signals small { font-size: 7.5px; }
  .scan-caption {
    left: 18px;
    right: 18px;
    bottom: 8px;
    max-width: none;
    font-size: 7px;
    line-height: 1.35;
    letter-spacing: .08em;
  }

  .stat-strip { border-radius: 9px; }
  .stat-cell { min-width: 0; padding: 19px 17px 18px; }
  .stat-value { font-size: clamp(1.55rem, 7vw, 1.9rem); }
  .stat-label { margin-top: 7px; line-height: 1.45; letter-spacing: .11em !important; }

  .grid-2, .grid-3, .grid-4 { gap: 14px; }
  .mod-card { padding: 22px 20px 21px; }
  .mod-card h3 { font-size: 19px; }
  .mod-card p { margin-bottom: 17px; }

  .evidence-deck { margin-top: 32px; border-radius: 12px; }
  .deck-topline,
  .deck-footer { align-items: flex-start; flex-direction: column; gap: 6px; padding: 12px 14px; }
  .deck-grid { gap: 20px; padding: 25px 18px; }
  .deck-output .pipe-answer { min-height: 0; }
  .core-orbit { width: 152px; height: 152px; }
  .core-orbit b { inset: 46px; }

  .journey-console { margin-top: 28px; border-radius: 12px; }
  .journey-console-bar,
  .journey-console-foot { gap: 8px; padding: 12px 14px; }
  .journey-status { gap: 8px 15px; }

  .exp-tabs {
    display: flex;
    gap: 8px;
    margin: 28px -18px 16px;
    padding: 0 18px 10px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .exp-tabs::-webkit-scrollbar { display: none; }
  .exp-tab { flex: 0 0 154px; padding: 12px 13px; scroll-snap-align: start; }
  .exp-panel { border-radius: 12px; }
  .exp-console-bar { padding: 11px 14px; }
  .exp-visual { padding: 14px; }
  .exp-info { padding: 23px 20px 24px; }
  .exp-info h3 { font-size: 21px; }

  .hero--engine { padding: 68px 0 56px; }
  .hero--engine .hero-grid { gap: 30px; }
  .hero--engine .hero-grid > div:first-child > div:first-child {
    gap: 11px !important;
    margin-bottom: 22px !important;
  }
  .hero--engine .hero-grid > div:first-child > div:first-child > span:last-child {
    font-size: 9px !important;
    line-height: 1.5;
    letter-spacing: .14em !important;
  }
  .hero--engine .hero-meta { border-left-color: rgba(30,122,70,.45); }
  .instrument { border-radius: 11px; }
  .instrument-top { gap: 8px; padding: 11px 12px; }
  .traffic { gap: 5px; }
  .traffic span { width: 7px; height: 7px; }
  body .instrument-title { font-size: 8px !important; letter-spacing: .09em; }
  body .tag-illustrative { font-size: 8px !important; padding: 3px 6px; letter-spacing: .08em; }
  .demo-body { padding: 15px 14px 16px; }
  .demo-chips {
    flex-wrap: nowrap;
    padding: 14px 14px 0;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .demo-chips::-webkit-scrollbar { display: none; }
  .demo-chip { flex: 0 0 auto; }
  .demo-question { font-size: 15px; }
  .demo-metric { padding: 11px 10px 9px; }
  .demo-table { display: block; max-width: 100%; overflow-x: auto; }
  .demo-table tbody { display: table; width: 100%; min-width: 300px; }

  .spectrum-console { border-radius: 12px; }
  .spectrum-bandrail {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .spectrum-bandrail::-webkit-scrollbar { display: none; }
  .spectrum-bandrail button { flex: 0 0 112px; border-bottom: 0; }
  .spectrum-output { padding: 18px; }

  .client-band {
    width: calc(100% + 36px);
    margin-inline: -18px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .client-cell { flex-basis: 168px; min-height: 96px; padding: 12px 14px; }
  .client-cell img { width: 148px; height: 54px; }
  .client-cell img.client-logo--tall { width: 68px; height: 68px; }
  .client-wordmark { width: 148px; height: 54px; }
  .client-wordmark b { font-size: 18px; }
  .client-band-hint { margin-top: 12px; font-size: 9px; }

  .timeline::before { left: 32px; }
  .timeline-item { grid-template-columns: 62px 1fr; gap: 15px; padding: 22px 0; }
  .timeline-year { font-size: 11px; }

  .cta-final { padding-block: 60px; }
  .cta-final .lede { margin: 16px auto 26px; }
  .cta-actions { gap: 10px; }
  .cta-note { margin-top: 20px; font-size: 9px; line-height: 1.6; }

  .footer { padding: 38px 0 28px; }
  .footer-grid { gap: 28px; }
  .footer-brand { max-width: none; }
  .footer-nav { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 20px; }
  .footer-base { margin-top: 28px; padding-top: 17px; font-size: 9.5px; line-height: 1.55; }
}

@media (hover: none) and (pointer: coarse) {
  .mod-card:hover,
  .exp-tab:hover,
  .btn:hover { transform: none; }
}

/* ---------- contact page ---------- */
.contact-hero { padding: 92px 0 78px; }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  gap: 56px;
  align-items: start;
}
.contact-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 24px 60px rgba(18,32,25,.1);
}
.contact-card-head {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(233,244,238,.1);
  background: #101E18;
  color: #8FDCEE;
  font: 500 10px var(--font-mono);
  letter-spacing: .16em;
}
.contact-card-body { padding: 28px; }
.contact-form { display: grid; gap: 17px; }
.contact-form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font: 500 11px/1.4 var(--font-mono);
  letter-spacing: .06em;
}
.contact-form label > span[aria-hidden] { color: var(--red-ink); }
.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #FAFCF9;
  color: var(--text);
  font: 400 15px/1.45 var(--font-body);
  letter-spacing: 0;
  outline: none;
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.contact-form input:not([type="checkbox"]), .contact-form select { min-height: 46px; padding: 10px 12px; }
.contact-form textarea { min-height: 126px; padding: 11px 12px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal-ink);
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(14,122,144,.12);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #829188; }
.contact-consent { grid-template-columns: 18px 1fr !important; align-items: start; gap: 10px !important; font-family: var(--font-body) !important; font-size: 12.5px !important; letter-spacing: 0 !important; }
.contact-consent input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--teal-ink); }
.contact-form-note { margin: -3px 0 0; color: var(--faint); font-size: 11.5px; line-height: 1.55; }
.contact-submit { width: 100%; min-height: 50px; justify-content: center; border: 0; cursor: pointer; }
.contact-submit:disabled { cursor: wait; opacity: .72; }
.contact-form-status { min-height: 20px; margin: -5px 0 0; color: var(--teal-ink); font-size: 12px; line-height: 1.5; }
.contact-honey { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.contact-success { padding: 22px; border: 1px solid rgba(30,122,70,.28); border-radius: 9px; background: rgba(30,122,70,.07); }
.contact-success b, .contact-success span { display: block; }
.contact-success b { color: var(--green-ink); font: 600 19px var(--font-display); }
.contact-success span { margin-top: 7px; color: var(--muted); font-size: 14px; }
.contact-fallback { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.contact-fallback p { margin: 0; color: var(--faint); font-size: 12.5px; }
.contact-fallback p b { color: var(--muted); }
.contact-fallback a { color: var(--teal-ink); overflow-wrap: anywhere; }
.contact-fallback-actions { display: flex; gap: 16px; margin-top: 10px; }
.contact-fallback-actions button, .contact-fallback-actions a { appearance: none; border: 0; padding: 0; background: none; color: var(--teal-ink); cursor: pointer; font: 500 11px var(--font-mono); letter-spacing: .05em; }
.contact-copy-status { min-height: 20px; margin: 8px 0 0 !important; color: var(--faint); font-size: 11.5px !important; }
.contact-checklist {
  margin: 28px 0 0;
  padding: 22px 22px 22px 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-1);
}
.contact-checklist li { margin: 8px 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 640px) {
  .contact-hero { padding: 64px 0 54px; }
  .contact-card-body { padding: 21px 18px; }
  .contact-form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  svg animateMotion, svg animateTransform, svg animate { display:none; }
  .scan-beam { opacity:.34; }
}
