/* ═══════════════════════════════════════════════════════════
   NONSTRAIN DESIGN SYSTEM — CSS v1.1
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --black:          #000000;
  --white:          #ffffff;
  --blue:           #488fff;
  --grey:           #656870;
  --s1:             #0a0a0a;
  --s2:             #111111;
  --s3:             #1a1a1a;
  --border-subtle:  #1e1e1e;
  --border-default: #2a2a2a;
  /* BRIGHTENED TEXT — more readable on dark backgrounds */
  --text-primary:   #ffffff;
  --text-secondary: #c8cad1;
  --text-muted:     #909399;
  --font-display:   'Syne', sans-serif;
  --font-body:      'Inter', sans-serif;
  --font-mono:      'Space Mono', monospace;
  --t-fast:    150ms ease;
  --t-default: 200ms ease;
  --t-reveal:  650ms cubic-bezier(0.16, 1, 0.3, 1);
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-xl: 16px;
  --container:  1200px;
  --section-py: clamp(72px, 10vw, 120px);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  background: #000208;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── LAYOUT ─────────────────────────────────────────────── */

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

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 20px;
}

.section-header        { margin-bottom: 64px; }
.section-header.center { text-align: center; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--white);
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 580px;
  margin-top: 16px;
}

.section-header.center .section-sub { margin: 16px auto 0; }
.blue { color: var(--blue); }

/* ── REVEAL ─────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-reveal), transform var(--t-reveal);
}

.reveal.visible { opacity: 1; transform: none; }

/* ── BUTTONS ─────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--blue); color: #000;
  font-family: var(--font-body); font-size: 14px; font-weight: 600;
  text-decoration: none; border-radius: var(--r-md); border: none;
  cursor: pointer; white-space: nowrap; line-height: 1;
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.btn-primary:hover { opacity: 0.88; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: transparent; color: var(--white);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  text-decoration: none; border-radius: var(--r-md);
  border: 1px solid var(--border-default);
  cursor: pointer; white-space: nowrap; line-height: 1;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.btn-secondary:hover { border-color: #444; background: rgba(255,255,255,0.04); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; color: var(--blue);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer; padding: 0;
  transition: gap var(--t-fast), opacity var(--t-fast);
}
.btn-ghost:hover { gap: 12px; opacity: 0.8; }

.btn-lg { padding: 13px 26px; font-size: 15px; }

/* ── SCROLL PROGRESS INDICATOR ──────────────────────────── */

#scroll-progress {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

#scroll-progress.visible { opacity: 1; }

.sp-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.sp-icon {
  font-size: 11px;
  color: var(--blue);
  animation: spPulse 2.2s ease-in-out infinite;
  display: block;
  line-height: 1;
}

@keyframes spPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1; }
}

.sp-ai-label {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1;
}

.sp-track-wrap {
  position: relative;
  width: 16px;
  height: 150px;
  display: flex;
  justify-content: center;
}

.sp-rail {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: var(--border-default);
  border-radius: 1px;
}

.sp-fill-bar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 2px;
  height: 0%;
  background: linear-gradient(to bottom, rgba(72,143,255,0.5), var(--blue));
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(72,143,255,0.55);
  transition: height 0.12s ease;
  z-index: 1;
}

.sp-dots { position: absolute; inset: 0; }

.sp-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--s2);
  border: 1.5px solid var(--border-default);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  z-index: 2;
}

/* Tooltip on hover */
.sp-dot::after {
  content: attr(data-label);
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

#scroll-progress:hover .sp-dot::after { opacity: 1; }

.sp-dot.reached {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 0 8px rgba(72,143,255,0.6);
}

.sp-pct-wrap { display: flex; justify-content: center; }

.sp-pct {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--blue);
  letter-spacing: 0.06em;
  transition: content 0.1s;
}

@media (max-width: 1100px) { #scroll-progress { display: none; } }

/* ── NAVIGATION ──────────────────────────────────────────── */

#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  border-bottom: 1px solid transparent;
  transition: background var(--t-default), border-color var(--t-default), backdrop-filter var(--t-default);
}

#nav.scrolled {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-subtle);
}

.nav-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center;
  justify-content: space-between; gap: 32px;
}

.nav-logo {
  font-family: var(--font-body); font-size: 14px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--white); text-decoration: none; flex-shrink: 0;
}
.logo-ai { color: var(--blue); }

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

.nav-links a {
  font-size: 13px; font-weight: 500; color: var(--text-secondary);
  text-decoration: none; letter-spacing: 0.01em;
  transition: color var(--t-fast); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--blue);
  transition: width var(--t-default);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--white); transition: transform var(--t-default), opacity var(--t-default); }

/* ── MOBILE MENU ─────────────────────────────────────────── */

.mobile-menu {
  position: fixed; inset: 0; background: var(--black); z-index: 200;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: opacity var(--t-default);
}
.mobile-menu.open { opacity: 1; pointer-events: all; }

.mobile-close {
  position: absolute; top: 20px; right: 24px; background: none; border: none;
  color: var(--text-secondary); font-size: 20px; cursor: pointer; padding: 8px;
  transition: color var(--t-fast);
}
.mobile-close:hover { color: var(--white); }

.mobile-nav-link {
  font-family: var(--font-display); font-size: 36px; font-weight: 800;
  letter-spacing: -0.02em; color: var(--white); text-decoration: none;
  transition: color var(--t-fast);
}
.mobile-nav-link:hover { color: var(--blue); }

/* ── HERO ────────────────────────────────────────────────── */

#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: 64px;
  background: rgba(0, 2, 10, 0.72); /* dark enough for text, still shows 3D glow */
}

#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; pointer-events: none;
}

.hero-noise {
  position: absolute; inset: 0; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px; pointer-events: none;
}

.hero-content {
  position: relative; z-index: 1; text-align: center;
  padding: 80px 24px; max-width: 960px; width: 100%;
}

.hero-label {
  display: block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 28px;
  opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.15s forwards;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.8vw, 72px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.3s forwards;
}

.hero-headline-sub {
  display: block;
  font-size: clamp(26px, 4.4vw, 54px);
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 19px); line-height: 1.65;
  color: var(--text-secondary); max-width: 600px;
  margin: 0 auto 40px;
  opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.45s forwards;
}

.hero-ctas {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; margin-bottom: 64px;
  opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.6s forwards;
}

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
  padding-top: 40px; border-top: 1px solid var(--border-subtle);
  opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.16,1,0.3,1) 0.75s forwards;
}

.hero-stat { text-align: center; }

.stat-num {
  display: block; font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 44px); color: var(--blue);
  line-height: 1; margin-bottom: 6px;
}

.stat-label { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.stat-divider { width: 1px; height: 40px; background: var(--border-subtle); flex-shrink: 0; }

@media (max-width: 600px) { .stat-divider { display: none; } .hero-stats { gap: 28px; } }

.scroll-indicator {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fadeIn 1s ease 1.1s forwards; z-index: 1;
}
.scroll-indicator span {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted);
}
.scroll-mouse {
  width: 18px; height: 30px; border: 1.5px solid var(--border-default);
  border-radius: 999px; display: flex; align-items: flex-start;
  justify-content: center; padding-top: 5px;
}
.scroll-dot {
  width: 2.5px; height: 6px; background: var(--blue); border-radius: 999px;
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes fadeUp  { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:none; } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes scrollBounce { 0%,100%{transform:translateY(0);opacity:1;} 65%{transform:translateY(12px);opacity:0;} }

/* ── PROBLEM SCROLLYTELLING ──────────────────────────────── */

/* 200vh (was 300vh) — tighter scroll so the three pain points
   come and go without the section feeling like a grind. */
.problem-wrapper { height: 200vh; position: relative; }

.problem-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center;
  background: rgba(0, 3, 14, 0.93);
  overflow: visible;
  transition: background-color 1s ease;
}

/* Phase-based background color shifts */
.problem-sticky.pain-phase-1 { background-color: rgba(11, 15, 26, 0.93); }
.problem-sticky.pain-phase-2 { background-color: rgba(9,  14, 28, 0.93); }
.problem-sticky.pain-phase-3 { background-color: rgba(7,  12, 30, 0.93); }
.problem-sticky.pain-phase-4 { background-color: rgba(6,  11, 28, 0.93); }

.problem-sticky::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(72,143,255,0.05) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
  transition: opacity 1s ease;
}

/* Floating orb 1 */
.problem-sticky::after {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72,143,255,0.07) 0%, transparent 65%);
  top: -200px; right: -150px;
  animation: orbDrift1 22s ease-in-out infinite;
  pointer-events: none; z-index: 0;
  filter: blur(40px);
}

@keyframes orbDrift1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  40%       { transform: translate(-80px, 60px) scale(1.15); }
  70%       { transform: translate(60px, -40px) scale(0.9); }
}

.problem-top { margin-bottom: 28px; }

.problem-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.05;
}

/* PAIN POINTS — visible from start, highlighted when active */

.pain-list { display: flex; flex-direction: column; }

.pain-point {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid var(--border-subtle);
  opacity: 0.45;
  position: relative;
  z-index: 1;
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1), background-color 0.6s ease;
  border-radius: var(--r-sm);
}

.pain-point::before {
  content: '';
  position: absolute;
  left: -20px; top: 12px; bottom: 12px;
  width: 3px;
  background: linear-gradient(to bottom, var(--blue), rgba(72,143,255,0.4));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1) 0.05s;
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(72,143,255,0.4);
}

.pain-point:last-child { border-bottom: 1px solid var(--border-subtle); }

.pain-point.active {
  opacity: 1;
}

.pain-point.active::before {
  transform: scaleY(1);
}

.pain-left {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 3px;
}

.pain-arrow-wrap {
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pain-arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.35s ease 0.15s, transform 0.35s cubic-bezier(0.16,1,0.3,1) 0.15s;
  display: block;
}

.pain-point.active .pain-arrow {
  opacity: 1;
  transform: translateX(0);
}

.pain-num {
  font-family: var(--font-mono); font-size: 12px; color: var(--text-muted);
  transition: color 0.35s ease;
  flex-shrink: 0;
}
.pain-point.active .pain-num { color: var(--blue); }

.pain-headline {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700; letter-spacing: -0.02em; line-height: 1.3;
  color: var(--white); margin-bottom: 10px;
}

.pain-copy {
  font-size: 14px; color: var(--text-secondary); line-height: 1.75; max-width: 560px;
}

/* Active pain point — subtle background glow per point */
.pain-point[data-pain="0"].active { background-color: rgba(72,143,255,0.04); }
.pain-point[data-pain="1"].active { background-color: rgba(72,143,255,0.06); }
.pain-point[data-pain="2"].active { background-color: rgba(72,143,255,0.08); }

.pain-point.active .pain-headline {
  color: var(--white);
}

.problem-footer {
  padding-top: 28px; display: flex; align-items: center; gap: 16px;
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}
.problem-footer.visible { opacity: 1; transform: none; }

.problem-answer {
  font-family: var(--font-display); font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700; letter-spacing: -0.02em; color: var(--white);
}

.problem-line {
  display: block; flex: 1; max-width: 80px; height: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.3s;
}
.problem-footer.visible .problem-line { transform: scaleX(1); }

@media (max-width: 600px) {
  .pain-point { grid-template-columns: 56px 1fr; }
  .problem-wrapper { height: 380vh; }
}

/* ── SOLUTION ────────────────────────────────────────────── */

#services {
  padding: var(--section-py) 0;
  background: rgba(0, 0, 6, 0.93);
}

/* services architectural backdrop (NonstrainServicesBackdrop) */
.services-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.services-backdrop canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.services-backdrop-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}
#services > .container { position: relative; z-index: 1; }

.solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  margin-bottom: 32px;
}

.solution-card {
  background: var(--s2); border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl); padding: 40px; position: relative;
  overflow: hidden;
  transition: border-color var(--t-default), transform var(--t-default);
}
.solution-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(72,143,255,0.35), transparent);
  opacity: 0; transition: opacity var(--t-default);
}
.solution-card:hover { border-color: var(--border-default); transform: translateY(-2px); }
.solution-card:hover::before { opacity: 1; }

.card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }

.card-icon {
  width: 44px; height: 44px;
  background: rgba(72,143,255,0.07); border: 1px solid rgba(72,143,255,0.14);
  border-radius: var(--r-md); display: flex; align-items: center; justify-content: center;
}
.card-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.card-pill { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--r-sm); white-space: nowrap; }
.card-pill.available { color: var(--blue); border: 1px solid rgba(72,143,255,0.3); background: rgba(72,143,255,0.07); }
.card-pill.roadmap   { color: var(--text-muted); border: 1px solid var(--border-subtle); }

.card-eyebrow { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 12px; }

.card-title {
  font-family: var(--font-display); font-size: clamp(20px, 2.5vw, 27px);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; margin-bottom: 16px;
}
.card-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 24px; }

.card-flow {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 14px 16px; background: var(--s3); border-radius: var(--r-sm);
  font-family: var(--font-mono); font-size: 11px; color: var(--text-muted);
  letter-spacing: 0.04em; margin-bottom: 24px;
}
.card-flow--dim { opacity: 0.5; }
.flow-arrow { color: var(--blue); }

.card-cta {
  color: var(--blue); font-size: 13px; font-weight: 500; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--t-fast);
}
.card-cta:hover { gap: 10px; }

/* ── UPCOMING CARD (PILLAR 02) ───────────────────────────── */

.solution-card--upcoming {
  border-color: rgba(72,143,255,0.1);
}

.upcoming-status-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(72,143,255,0.06);
  border: 1px solid rgba(72,143,255,0.2);
  border-radius: var(--r-md);
  padding: 10px 14px;
  margin-bottom: 28px;
}

.upcoming-pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  animation: upcomingPulse 1.6s ease-in-out infinite;
}

@keyframes upcomingPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(72,143,255,0.5); }
  50%       { opacity: 0.6; box-shadow: 0 0 0 5px rgba(72,143,255,0); }
}

.upcoming-status-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 400;
  flex-shrink: 0;
}

.upcoming-progress-wrap {
  flex: 1;
  height: 2px;
  background: var(--border-default);
  border-radius: 1px;
  overflow: hidden;
}

.upcoming-bar-fill {
  display: block;
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, var(--blue), rgba(72,143,255,0.4));
  border-radius: 1px;
  animation: buildPulse 3s ease-in-out infinite alternate;
}

@keyframes buildPulse {
  from { width: 28%; }
  to   { width: 43%; }
}

.upcoming-pct {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--blue);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.upcoming-notify-row {
  margin-top: 4px;
}

.upcoming-notify-btn {
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--t-fast), opacity var(--t-fast);
}
.upcoming-notify-btn:hover { gap: 10px; opacity: 0.8; }

/* ── USP STRIP (centered, inside services) ───────────────── */

.usp-strip {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  max-width: var(--container);
  margin: 20px 24px 0;
  padding: 32px 40px;
  background: rgba(72,143,255,0.03);
  border: 1px solid rgba(72,143,255,0.12);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-lg);
}

.usp-icon-wrap {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.usp-icon-wrap svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.usp-eyebrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); display: block; margin-bottom: 8px; }
.usp-headline { font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); font-weight: 700; letter-spacing: -0.02em; color: var(--white); margin-bottom: 8px; line-height: 1.25; }
.usp-body { font-size: 14px; color: var(--text-secondary); line-height: 1.75; max-width: 680px; }

@media (max-width: 860px) {
  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { padding: 28px 24px; }
  .usp-strip { margin: 20px 24px 0; padding: 24px; flex-direction: column; gap: 16px; }
}

/* ── HOW IT WORKS ────────────────────────────────────────── */

#how-it-works {
  padding: var(--section-py) 0;
  background: rgba(7, 9, 15, 0.94);
  position: relative;
  overflow: hidden;
}

/* Background gradient orbs */
#how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 90% 40%, rgba(72,143,255,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 5% 70%, rgba(72,143,255,0.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 110%, rgba(72,143,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

#how-it-works::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(72,143,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72,143,255,0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
}

/* ── HOW IT WORKS · OPERATING SEQUENCE ──────────────────────
   Three-panel cockpit. Horizontal beam draws across the row on
   scroll-in; phase nodes light up sequentially; each panel
   cascades in with a slight scale + lift. Replaces the old
   vertical .steps-* list. */

.opseq-beam {
  position: relative;
  max-width: 1080px;
  margin: 0 auto 36px;
  padding: 0 64px;
  height: 18px;
}
.opseq-beam-rail,
.opseq-beam-fill {
  position: absolute;
  left: 64px; right: 64px; top: 50%;
  height: 1px;
  transform: translateY(-50%);
}
.opseq-beam-rail { background: var(--border-subtle); }
.opseq-beam-fill {
  background: var(--blue);
  transform-origin: left center;
  transform: translateY(-50%) scaleX(0);
  transition: transform 1.6s cubic-bezier(0.65, 0, 0.35, 1);
  /* No drop-shadow / glow — cleaner, more institutional line. */
  z-index: 1;
}
.opseq-beam.animated .opseq-beam-fill { transform: translateY(-50%) scaleX(1); }

.opseq-beam-node {
  position: absolute;
  top: 50%;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--s2);
  border: 1px solid var(--border-default);
  transform: translate(-50%, -50%);
  transition: border-color 0.5s ease, background 0.5s ease,
              box-shadow 0.5s ease;
  z-index: 2;
}
.opseq-beam-node[data-node="1"] { left: 64px; }
.opseq-beam-node[data-node="2"] { left: 50%; }
.opseq-beam-node[data-node="3"] { left: calc(100% - 64px); }

.opseq-beam-node.lit {
  background: var(--blue);
  border-color: var(--blue);
  /* Tighter halo, no outward pulse ring. */
  box-shadow: 0 0 0 3px rgba(72,143,255, 0.10);
}
.opseq-beam-pulse {
  /* Pulse ring kept as a hook but unanimated by default. */
  display: none;
}

.opseq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.opseq-panel {
  position: relative;
  background: rgba(14, 16, 22, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 32px 28px 28px;
  overflow: hidden;
  isolation: isolate;
  /* Quieter entrance — translate only, no scale. */
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    border-color 0.3s ease;
}
.opseq-panel.lit {
  opacity: 1;
  transform: translateY(0);
}
.opseq-panel:hover {
  border-color: var(--border-default);
}
.opseq-panel[data-phase="1"].lit { transition-delay: 0.00s; }
.opseq-panel[data-phase="2"].lit { transition-delay: 0.12s; }
.opseq-panel[data-phase="3"].lit { transition-delay: 0.24s; }

/* Thin top accent line — institutional brand colour rather than
   the animated gradient border we had before. */
.opseq-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(72,143,255, 0.45) 50%,
    transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}
.opseq-panel.lit::before,
.opseq-panel:hover::before { opacity: 1; }

/* No ambient glow — panel reads as a flat business surface. */
.opseq-panel-bg { display: none; }

.opseq-panel-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}

.opseq-num {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  /* Institutional treatment: small mono index, not a hero glyph. */
}

.opseq-status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 4px 10px;
  background: transparent;
  border: 1px solid var(--border-default);
  border-radius: 2px;
}
.opseq-status-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  /* No pulse — static indicator. */
}

.opseq-title {
  position: relative; z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 12px;
}

.opseq-desc {
  position: relative; z-index: 1;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.68;
  margin-bottom: 22px;
}

.opseq-meta {
  position: relative; z-index: 1;
  list-style: none; padding: 16px 0 0 0;
  margin: 0;
  border-top: 1px solid var(--border-subtle);
  display: flex; flex-direction: column;
  gap: 10px;
}
.opseq-meta li {
  display: flex; justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 12.5px;
}
.opseq-meta-k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.opseq-meta-v {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-primary);
  text-align: right;
}

.opseq-cta {
  text-align: center;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}
.opseq-cta-note {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Mobile — stack vertically and hide the horizontal beam, since
   the cascade still reads sequentially top-to-bottom. */
@media (max-width: 880px) {
  .opseq-beam { display: none; }
  .opseq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .opseq-panel { padding: 24px 22px 22px; }
}

/* ─────────────────────────────────────────────────────────────
   DIAL-UP — page-wide enhancements
   ───────────────────────────────────────────────────────────── */

/* H2 headlines get an animated blue underline that draws in on
   first reveal. Applies to every .section-title and the problem
   /motion equivalents. */
.section-title,
.problem-title,
.motion-title {
  position: relative;
  display: inline-block;
}
.section-title::after,
.problem-title::after,
.motion-title::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -14px;
  width: 80px; height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(72,143,255, 0.85) 50%,
    transparent 100%);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
  filter: drop-shadow(0 0 6px rgba(72,143,255, 0.6));
  pointer-events: none;
}
.section-header.visible .section-title::after,
.problem-top.visible      .problem-title::after,
.motion-top.visible       .motion-title::after {
  transform: translateX(-50%) scaleX(1);
}
/* Fallback — also draw the underline whenever the title scrolls
   into view directly. The .visible class is set by IntersectionObserver. */
.section-title.tl-visible::after,
.problem-title.tl-visible::after,
.motion-title .tl-visible::after { transform: translateX(-50%) scaleX(1); }

/* Hero stat numbers — soft blue glow that breathes. Pulls the
   eye to the three credibility anchors without being loud. */
.stat-num {
  text-shadow: 0 0 24px rgba(72,143,255, 0.18);
  animation: statBreathe 5.2s ease-in-out infinite;
}
.stat-num:nth-of-type(2) { animation-delay: 0.6s; }
.stat-num:nth-of-type(3) { animation-delay: 1.2s; }
@keyframes statBreathe {
  0%, 100% { text-shadow: 0 0 24px rgba(72,143,255, 0.18); }
  50%      { text-shadow: 0 0 36px rgba(72,143,255, 0.42); }
}

/* Pain points active state — bigger blue field + animated arrow
   that slides further on the activate transition. */
.pain-point.active {
  box-shadow: inset 0 0 0 1px rgba(72,143,255, 0.18),
              0 0 28px rgba(72,143,255, 0.10);
}
.pain-point.active .pain-arrow {
  transform: translateX(4px);
  text-shadow: 0 0 10px rgba(72,143,255, 0.7);
}
.pain-point.active .pain-headline {
  text-shadow: 0 0 24px rgba(72,143,255, 0.18);
}

/* Founder initials avatar — gradient ring that rotates on hover. */
.founder-initial {
  position: relative;
  z-index: 1;
}
.founder-card { position: relative; isolation: isolate; }
.founder-card::before {
  content: '';
  position: absolute;
  width: 88px; height: 88px;
  border-radius: 50%;
  left: 24px; top: 24px;
  background: conic-gradient(
    from 0deg,
    rgba(72,143,255, 0.7),
    rgba(72,143,255, 0.05),
    rgba(72,143,255, 0.7));
  filter: blur(8px);
  opacity: 0;
  transition: opacity 0.5s ease;
  transform-origin: center;
  animation: founderOrbit 6s linear infinite;
  z-index: 0;
  pointer-events: none;
}
.founder-card:hover::before { opacity: 0.65; }
@keyframes founderOrbit {
  to { transform: rotate(360deg); }
}

/* Reduced-motion guard for the dial-up layer */
@media (prefers-reduced-motion: reduce) {
  .opseq-panel,
  .opseq-beam-fill,
  .stat-num,
  .opseq-status-dot,
  .founder-card::before,
  .section-title::after,
  .problem-title::after,
  .motion-title::after { animation: none; transition: none; }
  .opseq-panel { opacity: 1; transform: none; }
  .opseq-beam-fill { transform: translateY(-50%) scaleX(1); }
  .section-title::after,
  .problem-title::after,
  .motion-title::after { transform: translateX(-50%) scaleX(1); }
}

/* ── CASE STUDIES ────────────────────────────────────────── */

#case-studies {
  padding: var(--section-py) 0;
  background: rgba(0, 0, 6, 0.93);
}

.cs-card {
  background: var(--s2); border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
}

.cs-left {
  padding: 56px 48px; border-right: 1px solid var(--border-subtle);
}

.cs-right {
  padding: 56px 48px; background: var(--s3);
  display: flex; flex-direction: column; justify-content: space-between;
  align-items: center; text-align: center;
}

.cs-meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cs-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); padding: 4px 10px; border: 1px solid var(--border-subtle); border-radius: var(--r-sm); }

.cs-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 20px; }
.cs-body { font-size: 14px; color: var(--text-secondary); line-height: 1.75; margin-bottom: 24px; max-width: 480px; }

.cs-bullets { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.cs-bullets li { font-size: 14px; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 12px; line-height: 1.55; }
.cs-bullets li::before { content: '—'; color: var(--blue); flex-shrink: 0; }

/* STAT BLOCK — cleaner, more impact */
.cs-stat-block {
  position: relative;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cs-stat-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(72,143,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cs-stat-num {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 96px);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.04em;
}

.cs-stat-unit {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 56px);
  font-weight: 700;
  color: rgba(72,143,255,0.6);
  letter-spacing: -0.03em;
  margin-left: 4px;
  vertical-align: middle;
}

.cs-stat-desc {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 12px;
}

.cs-quote {
  padding: 20px 24px;
  border: 1px solid var(--border-subtle);
  border-left: 2px solid var(--blue);
  border-radius: var(--r-md);
  background: rgba(72,143,255,0.02);
  text-align: left;
  width: 100%;
}
.cs-quote p { font-size: 13px; color: var(--text-secondary); line-height: 1.65; font-style: italic; margin-bottom: 10px; }
.cs-quote cite { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.04em; font-style: normal; }

@media (max-width: 900px) {
  .cs-card { grid-template-columns: 1fr; }
  .cs-left { border-right: none; border-bottom: 1px solid var(--border-subtle); padding: 36px 28px; }
  .cs-right { padding: 36px 28px; }
}

/* ── ABOUT ───────────────────────────────────────────────── */

#about { padding: var(--section-py) 0; background: rgba(7, 9, 15, 0.94); }

.founders-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

.founder-card {
  background: var(--s2); border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: border-color var(--t-default);
}
.founder-card:hover { border-color: var(--border-default); }

/* Larger square headshot slot. object-fit: cover guarantees the
   image fills the slot without distortion; object-position: center
   25% keeps the face in frame across portrait headshots where the
   subject sits in the upper portion of the original image. */
.founder-photo {
  width: 132px; height: 132px;
  border-radius: var(--r-lg);
  background: var(--s3);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.founder-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  /* Smoother downscale (browsers default to a faster but sometimes
     blockier algorithm at extreme scale ratios). These hints push
     them toward high-quality bicubic on Chrome / Safari / Firefox. */
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  transform: translateZ(0) scale(var(--zoom, 1));
  transform-origin: center 35%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.founder-card:hover .founder-img { transform: translateZ(0) scale(calc(var(--zoom, 1) * 1.04)); }

/* Per-photo overrides — different zoom + crop per portrait so each
   face lands cleanly in the 132 px slot. */
.founder-img--marcel {
  --zoom: 1.55;                    /* Tighter crop — removes the bright sky / building edges around his head */
  object-position: center 38%;     /* Pull frame down so the face sits centred after the zoom */
}
.founder-img--diana {
  /* New source: 1000×1000 square — same aspect as the slot, so
     object-fit: cover does no cropping at zoom 1. Light zoom +
     centred positioning frames the face cleanly without the
     old tight crop math the JPG portrait needed. */
  --zoom: 1.10;
  object-position: center center;
}

/* ── Pixelation fix on heavy downscale + grain exemption ─────
   Diana's source is 3443×3894 → 132 px is an extreme downscale.
   Two things combine to cause visible pixelation:
   (1) The global .film-grain overlay (mix-blend-mode: overlay)
       sits over the photo and quantises skin tones into a
       blocky pattern.
   (2) The browser's downscale algorithm without GPU compositing
       can drop quality at that ratio.
   Fix: lift the photo above the film-grain via a higher z-index
   on a new stacking context, and force GPU compositing on the
   inner image. */
.founder-photo {
  position: relative;
  z-index: 2;              /* Above .film-grain (z-index: 1) */
  isolation: isolate;
  /* Defeat the overlay grain locally — paint a 1 px transparent
     box-shadow that gives the layer its own backing surface. */
  box-shadow: 0 0 0 0 transparent;
}
.founder-img {
  /* Re-affirm GPU compositing on the actual image element so the
     scale / object-position interpolation uses the GPU path. */
  -webkit-transform: translate3d(0, 0, 0) scale(var(--zoom, 1));
}
.founder-initial {
  /* Kept as a styled fallback shown by JS when the image 404s.
     Absolutely fills the slot so it centres regardless of slot size. */
  position: absolute; inset: 0;
  align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 44px; font-weight: 800;
  color: var(--text-muted);
}
@media (max-width: 600px) {
  .founder-photo { width: 96px; height: 96px; }
}

.founder-name   { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.founder-market { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.founder-bio    { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

.about-quote {
  padding: 28px 32px; background: var(--s2);
  border: 1px solid var(--border-subtle); border-left: 3px solid var(--blue);
  border-radius: var(--r-md);
}
.about-quote p { font-size: clamp(15px, 2vw, 18px); color: var(--text-primary); line-height: 1.65; font-style: italic; }

@media (max-width: 768px) { .founders-grid { grid-template-columns: 1fr; } }

/* ── FINAL CTA ───────────────────────────────────────────── */

#contact {
  padding: var(--section-py) 0; background: rgba(0, 0, 8, 0.92);
  position: relative; overflow: hidden;
}

.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(72,143,255,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-inner { position: relative; text-align: center; max-width: 720px; margin: 0 auto; padding: 0 24px; }

.cta-eyebrow { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 24px; }
.cta-headline { font-family: var(--font-display); font-size: clamp(40px, 6.5vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.0; color: var(--white); margin-bottom: 24px; }
.cta-sub { font-size: clamp(15px, 2vw, 18px); color: var(--text-secondary); line-height: 1.65; max-width: 560px; margin: 0 auto 40px; }

.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; background: var(--blue); color: #000;
  font-family: var(--font-body); font-size: 16px; font-weight: 600;
  text-decoration: none; border-radius: var(--r-md); margin-bottom: 16px;
  box-shadow: 0 0 48px rgba(72,143,255,0.14);
  transition: opacity var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.cta-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 12px 48px rgba(72,143,255,0.28); }

.cta-note { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: var(--text-muted); }

/* ── FOOTER ──────────────────────────────────────────────── */

#footer { padding: 32px 0; border-top: 1px solid var(--border-subtle); background: rgba(0, 0, 6, 0.96); }

.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.footer-logo { font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; color: var(--white); flex-shrink: 0; }

.footer-links { list-style: none; display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--text-muted); text-decoration: none; transition: color var(--t-fast); }
.footer-links a:hover { color: var(--white); }

.footer-right { display: flex; align-items: center; gap: 20px; }

.social-row { display: flex; gap: 8px; }
.social-btn { width: 30px; height: 30px; border: 1px solid var(--border-subtle); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--text-muted); transition: border-color var(--t-fast), color var(--t-fast); }
.social-btn:hover { border-color: var(--border-default); color: var(--white); }
.social-btn svg { width: 13px; height: 13px; }

.footer-copy { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: 0.04em; }

@media (max-width: 860px) { .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; } .footer-links { gap: 20px; } }

/* ── LIVING NEURAL BACKGROUND (Three.js WebGL) ──────────── */

#neural-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#neural-bg canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* All page sections sit above the 3D canvas (no <main> wrapper — target each directly) */
#hero,
#problem-wrapper,
#services,
#how-it-works,
#case-studies,
#about,
#contact,
#footer {
  position: relative;
  z-index: 1;
}

/* ── SERVICES SECTION — alive orbs ──────────────────────── */

#services {
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(72,143,255,0.05) 0%, transparent 65%);
  top: -200px; left: -200px;
  filter: blur(60px);
  animation: orbDrift2 28s ease-in-out infinite;
  pointer-events: none;
}

@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0); }
  35%       { transform: translate(120px, 80px); }
  65%       { transform: translate(-60px, 140px); }
}

/* ── EXTRAS · AUTOMATION IN MOTION (SCROLLY) ─────────────── */
/* Same architecture as .problem-wrapper / .problem-sticky — a tall outer
   wrapper that drives scroll progress, a 100vh sticky inside, and three
   scenes layered absolutely that swap as the user scrolls. No box, no
   iframe — the animations are first-class DOM driven by main.js. */

/* 260vh (was 360vh) — tighter overall scroll. Per-scene paint
   timings (in main.js) were also rebalanced so the calendar fills
   in faster and the inbox counter has more breathing room. */
.motion-wrapper { height: 260vh; position: relative; }

.motion-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center;
  background: rgba(0, 2, 10, 0.86);
  overflow: hidden;
  transition: background-color 1s ease;
}

.motion-sticky::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(72,143,255,0.05) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}

.motion-sticky::after {
  content: ''; position: absolute;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(72,143,255,0.06) 0%, transparent 65%);
  bottom: -200px; left: -150px;
  filter: blur(40px);
  pointer-events: none; z-index: 0;
  animation: orbDrift1 22s ease-in-out infinite;
}

.motion-container {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.motion-top { text-align: center; }

.motion-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.05;
  color: var(--white);
  margin: 12px auto 0;
  max-width: 820px;
  transition: opacity 0.35s ease;
}

.motion-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 640px;
  margin: 16px auto 0;
  transition: opacity 0.35s ease;
}

.motion-title.swap, .motion-sub.swap { opacity: 0; }

.motion-stage {
  position: relative;
  width: 100%;
  height: clamp(280px, 44vh, 460px);
}

.motion-scene {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.motion-scene.active { opacity: 1; visibility: visible; }

/* — Scene 1: Calendar — */
.cal-stage {
  position: relative;
  width: min(58vw, 440px);
}
/* Day-of-week labels above the 7 grid columns. Each <span> sits in the
   same 7-col grid as the cells so labels align perfectly with columns. */
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.cal-day {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  will-change: opacity, transform;
}
/* Summary block that appears above the consolidated column.
   Positioned well ABOVE the day-label row so the number + caption
   never collide with the grid blocks. Scales from bottom-centre so
   it appears to "rise" out of the column. */
.cal-summary {
  position: absolute;
  top: -72px;                /* well above the days row + grid */
  left: 50%;
  transform: translate(-50%, 0) scale(0);
  transform-origin: 50% 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.cal-summary-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 800;
  color: white;
  letter-spacing: -0.025em;
  line-height: 1;
  will-change: text-shadow;
}
.cal-summary-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 8px;
  width: 100%;
  aspect-ratio: 7 / 5;
}
.cal-cell {
  border-radius: 6px;
  border: 1px solid #000;
  transform-origin: center;
  will-change: transform, opacity;
}
.cal-cell--white { background: var(--white); }
.cal-cell--gray  { background: var(--s3); }

@media (max-width: 768px) {
  .cal-stage { width: min(84vw, 360px); }
}

/* — Scene 2: Inbox — iOS-style Mail app icon with notification badge */
.motion-scene--inbox { perspective: 1000px; }

.inbox-app {
  position: relative;
  width: 200px; height: 200px;
  transform-origin: center center;
  transform: scale(0);
  will-change: transform;
}
.inbox-app-icon {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 22%;                /* iOS app-icon standard */
  background: linear-gradient(135deg, #5a9fff 0%, #2d6fff 60%, #1a52e6 100%);
  box-shadow:
    0 22px 56px rgba(72,143,255, 0.35),
    inset 0 2px 1px rgba(255,255,255, 0.30),
    inset 0 -14px 28px rgba(0,0,0, 0.12);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: box-shadow 240ms ease;
}
.inbox-envelope {
  width: 56%; height: 56%;
  filter: drop-shadow(0 3px 5px rgba(0,0,0, 0.22));
}
/* Glossy top shine, like the iOS gloss on classic app icons */
.inbox-shine {
  position: absolute;
  top: 5%; left: 5%; right: 5%;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255, 0.22) 0%, rgba(255,255,255, 0) 100%);
  border-radius: 16% 16% 50% 50% / 28% 28% 100% 100%;
  pointer-events: none;
}

.inbox-badge {
  position: absolute;
  top: -16px; right: -16px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff5b54 0%, #e8252b 100%);
  display: flex; align-items: center; justify-content: center;
  /* Dark halo ring so the badge feels pinned ON the icon, not part of it */
  box-shadow:
    0 0 0 4px rgba(0, 2, 10, 1),
    0 8px 22px rgba(255, 59, 48, 0.55),
    inset 0 -4px 8px rgba(0,0,0, 0.22),
    inset 0 2px 3px rgba(255,255,255, 0.30);
  transform: scale(0);
  transform-origin: center;
  will-change: transform;
}
.inbox-count {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  color: white;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0,0,0, 0.25);
}

@media (max-width: 768px) {
  .inbox-app { width: 160px; height: 160px; }
  .inbox-badge { width: 52px; height: 52px; top: -12px; right: -12px; }
  .inbox-count { font-size: 22px; }
}

/* — Scene 3: Growth — */
.motion-scene--growth {
  flex-direction: column;
  /* Extra clearance so the rightmost bar can climax upward without
     covering the counter's 'x'. */
  gap: 56px;
}
.growth-counter {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  opacity: 0;
}
.growth-bars {
  display: flex; gap: 14px;
  align-items: flex-end; justify-content: center;
  width: 100%;
  height: clamp(180px, 28vh, 300px);
}
.growth-bar {
  width: clamp(36px, 5vw, 56px);
  height: 100%;
  background: var(--white);
  border: 1px solid #000;
  border-radius: 6px 6px 0 0;
  transform: scaleY(0);
  transform-origin: bottom center;
  will-change: transform;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links { display: none; } .nav-cta { display: none; } .hamburger { display: flex; }
  :root { --section-py: clamp(56px, 10vw, 80px); }
  .motion-container { gap: 32px; }
  .motion-stage { height: clamp(240px, 38vh, 360px); }
  /* .cal-stage handles mobile width now; grid is 100% of stage */
  /* inbox-card removed — see .inbox-app override above */
  .growth-bars { height: clamp(160px, 24vh, 240px); }
}

@media (max-width: 480px) {
  .hero-headline { font-size: 40px; }
  .solution-card { padding: 24px 20px; }
}

/* ═══════════════════════════════════════════════════════════
   POLISH LAYER — texture, lighting, micro-interactions
   ─── All transform/opacity. Reduced-motion respected at end.
   ═══════════════════════════════════════════════════════════ */

/* ── 1. FILM GRAIN ──────────────────────────────────────────
   SVG fractal noise embedded as data URI. Sits above the
   neural background but below all content. Drifts subtly to
   avoid looking baked-in. */
.film-grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 240px 240px;
  animation: grainDrift 1.6s steps(6) infinite;
}
@keyframes grainDrift {
  0%   { transform: translate(  0,   0); }
  20%  { transform: translate(-16,   8); }
  40%  { transform: translate( 12, -14); }
  60%  { transform: translate(-10,  10); }
  80%  { transform: translate( 18,  -4); }
  100% { transform: translate(  0,   0); }
}

/* ── 2. HERO CURSOR SPOTLIGHT ───────────────────────────────
   Cursor-tracked radial gradient that lights the hero with a
   subtle blue halo. --mx / --my are pushed in from main.js.
   pointer-events: none so it never blocks the CTAs. */
#hero { --mx: 50%; --my: 40%; }
#hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(
    520px circle at var(--mx) var(--my),
    rgba(72, 143, 255, 0.10) 0%,
    rgba(72, 143, 255, 0.04) 30%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 400ms ease;
  opacity: 1;
  mix-blend-mode: screen;
}
@media (hover: none) {
  /* No spotlight on touch devices — it sits in one spot and looks weird. */
  #hero::after { opacity: 0; }
}

/* ── 3. PRIMARY BUTTON POLISH ───────────────────────────────
   Shimmer sweep on hover + ambient blue glow + slight lift.
   Layered into the existing .btn-primary so we don't disturb
   its existing color/spacing tokens. */
.btn-primary {
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 0 rgba(72,143,255, 0),
    0 6px 18px -8px rgba(72,143,255, 0.45);
  transition:
    opacity var(--t-fast),
    transform var(--t-fast),
    box-shadow 280ms ease;
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 80%; height: 100%;
  background: linear-gradient(
    100deg,
    transparent 20%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 80%
  );
  transform: skewX(-18deg);
  transition: left 700ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 6px rgba(72,143,255, 0.10),
    0 10px 28px -8px rgba(72,143,255, 0.55);
}
.btn-primary:hover::after { left: 130%; }
.btn-primary:active { transform: translateY(0); }

/* Secondary button — quieter complement so the two buttons read
   as a hierarchy rather than two equal weights. */
.btn-secondary {
  transition:
    border-color var(--t-fast),
    background var(--t-fast),
    transform var(--t-fast),
    box-shadow var(--t-fast);
}
.btn-secondary:hover {
  border-color: rgba(72,143,255, 0.55);
  background: rgba(72,143,255, 0.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px -6px rgba(72,143,255, 0.30);
}

/* ── 4. SOLUTION CARD 3D TILT ───────────────────────────────
   --rx / --ry are updated by JS from cursor position over the
   card. perspective lives on the grid so neighbouring cards
   tilt independently around a shared vanishing point. */
.solution-grid { perspective: 1400px; }
.solution-card {
  --rx: 0deg; --ry: 0deg;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  transition:
    border-color var(--t-default),
    transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.solution-card:hover {
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateZ(0);
  /* Removed the old translateY(-2px) — tilt now handles the
     parallax cue. Keeps the card pinned to its grid cell. */
}
/* The blue top-line we already had gets a soft tracer that
   follows the same hover. */
.solution-card::before {
  height: 1.5px;
  filter: drop-shadow(0 0 8px rgba(72,143,255, 0.6));
}
@media (hover: none) {
  .solution-card { transform: none; }
}

/* ── 5. IN MOTION — VERTICAL BLUE BEAM ──────────────────────
   1-px blue line that descends from the header into the stage.
   Echoes the main-site "beam" concept and visually ties the
   three sub-scenes together as one continuous film. */
.motion-container { position: relative; }
/* Vertical beam through the centre removed per user feedback — was
   distracting on the "Eleven hours back" scene. The In Motion section
   reads cleaner without the through-line. */
.motion-container::after { content: none; }
@keyframes beamPulse {
  0%, 100% { opacity: 0.55; transform: translateX(-50%) scaleY(0.85); }
  50%      { opacity: 1.00; transform: translateX(-50%) scaleY(1.00); }
}
.motion-stage { z-index: 1; }
.motion-top   { z-index: 1; position: relative; }

/* ── 6. FINAL CTA — BREATHING GLOW ──────────────────────────
   The big "Book a Free Audit" pill at the bottom gets an
   ambient blue halo that breathes (slow box-shadow oscillation).
   Pulls the eye without animating the button itself, so the
   user's existing click target stays still. */
.cta-btn {
  position: relative;
  overflow: hidden;
  animation: ctaBreathe 4.6s ease-in-out infinite;
  transition: transform var(--t-fast), filter var(--t-fast);
}
@keyframes ctaBreathe {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(72,143,255, 0.55),
      0 0 24px 2px rgba(72,143,255, 0.20);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(72,143,255, 0),
      0 0 38px 6px rgba(72,143,255, 0.45);
  }
}
.cta-btn::after {
  /* Same shimmer recipe as .btn-primary — kept independent so
     the keyframe & timing can be tuned later for the focal CTA. */
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 70%; height: 100%;
  background: linear-gradient(
    100deg,
    transparent 25%,
    rgba(255,255,255, 0.30) 50%,
    transparent 75%
  );
  transform: skewX(-18deg);
  transition: left 800ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.cta-btn:hover {
  transform: translateY(-2px) scale(1.015);
  filter: brightness(1.05);
}
.cta-btn:hover::after { left: 140%; }

/* ── REDUCED-MOTION GUARD ───────────────────────────────────
   Honour the OS-level setting. Static texture is fine; motion
   loops are not. */
@media (prefers-reduced-motion: reduce) {
  .film-grain          { animation: none; }
  .motion-container::after { animation: none; opacity: 0.7; }
  .cta-btn             { animation: none; box-shadow: 0 0 24px 2px rgba(72,143,255,0.28); }
  .btn-primary::after, .cta-btn::after { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   CASE STUDIES · NSN-05 (field-notes redesign)
   Scoped under .nsn-cs — replaces legacy .cs-* rules
   ═══════════════════════════════════════════════════════════ */
.nsn-cs {
  --nsn-accent: #488fff;
  --nsn-border-1: #1e1e1e;
  --nsn-border-2: #2a2a2a;
  --nsn-text-2: #c8cad1;
  --nsn-text-mute: #909399;
  --nsn-text-faint: #656870;
  position: relative;
  padding: 140px 0;
  overflow: hidden;
  background: rgba(0, 2, 8, 0.94);
}
.nsn-cs * { box-sizing: border-box; }
.nsn-cs .nsn-accent,
.nsn-cs .nsn-blue { color: var(--nsn-accent); }

.nsn-cs-backdrop {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.nsn-cs-backdrop canvas { display: block; width: 100%; height: 100%; }
.nsn-cs-grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.025; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}
.nsn-cs-wrap {
  position: relative; z-index: 10;
  max-width: 1480px; margin: 0 auto; padding: 0 56px;
}

.nsn-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--nsn-text-mute);
}
.nsn-eyebrow::before {
  content: ""; display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--nsn-accent);
  box-shadow: 0 0 6px var(--nsn-accent);
}

.nsn-cs-head {
  margin: 0 auto 80px;
  max-width: 1180px;
  text-align: center;
}
.nsn-cs-head h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 5.8vw, 88px); line-height: 0.96;
  letter-spacing: -0.025em; margin: 22px 0 0;
  text-wrap: balance; color: #fff;
}
.nsn-meta-row {
  margin-top: 32px; display: flex; gap: 36px; flex-wrap: wrap;
  justify-content: center;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--nsn-text-faint);
  border-top: 1px solid var(--nsn-border-1); padding-top: 20px;
}
.nsn-meta-row .nsn-v       { color: var(--nsn-text-2); }
.nsn-meta-row .nsn-v.nsn-blue { color: var(--nsn-accent); }

.nsn-cs-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px;
}

.nsn-card {
  position: relative;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--nsn-border-1);
  border-radius: 6px;
  padding: 44px 44px 40px;
  min-height: 580px;
  display: flex; flex-direction: column;
  will-change: transform, opacity;
}
.nsn-card::before, .nsn-card::after,
.nsn-corner {
  content: ""; position: absolute; width: 14px; height: 14px;
  pointer-events: none;
}
.nsn-card::before { top: -1px; left: -1px;
  border-top: 1px solid var(--nsn-text-mute);
  border-left: 1px solid var(--nsn-text-mute);
}
.nsn-card::after { bottom: -1px; right: -1px;
  border-bottom: 1px solid var(--nsn-text-mute);
  border-right: 1px solid var(--nsn-text-mute);
}
.nsn-corner-tr { top: -1px; right: -1px;
  border-top: 1px solid var(--nsn-text-faint);
  border-right: 1px solid var(--nsn-text-faint);
}
.nsn-corner-bl { bottom: -1px; left: -1px;
  border-bottom: 1px solid var(--nsn-text-faint);
  border-left: 1px solid var(--nsn-text-faint);
}

.nsn-card-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; margin-bottom: 28px;
}
.nsn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--nsn-text-2);
  padding: 6px 11px; border: 1px solid var(--nsn-border-2);
  border-radius: 999px; background: rgba(0, 2, 8, 0.7);
}
.nsn-pill::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--nsn-accent); box-shadow: 0 0 6px var(--nsn-accent);
  animation: nsnPulse 2s ease-in-out infinite;
}
@keyframes nsnPulse { 50% { opacity: 0.45; } }
.nsn-id {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--nsn-text-faint);
}

.nsn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.nsn-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--nsn-text-2);
  padding: 6px 10px; border: 1px solid var(--nsn-border-2);
  border-radius: 4px; background: rgba(17, 17, 17, 0.6);
}
.nsn-chip::before {
  content: ""; display: inline-block; width: 4px; height: 4px;
  background: var(--nsn-text-faint);
}
.nsn-chip-geo::before { background: var(--nsn-accent); }

.nsn-case-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 44px; line-height: 1.0; letter-spacing: -0.02em;
  margin: 0 0 24px; max-width: 14ch; color: #fff;
}
.nsn-case-title em { font-style: normal; color: var(--nsn-text-2); }
.nsn-lede {
  color: var(--nsn-text-2); font-size: 15px; line-height: 1.65;
  margin: 0 0 32px; max-width: 50ch;
}

.nsn-phases { list-style: none; padding: 0; margin: 0 0 36px; }
.nsn-phases li {
  display: grid; grid-template-columns: 24px 1fr auto; gap: 16px;
  align-items: center; padding: 14px 0;
  border-top: 1px solid var(--nsn-border-1);
  font-size: 14px; color: var(--nsn-text-2);
}
.nsn-phases li:last-child { border-bottom: 1px solid var(--nsn-border-1); }
.nsn-node {
  width: 8px; height: 8px; border-radius: 50%; justify-self: center;
}
.nsn-node-done { background: var(--nsn-accent); box-shadow: 0 0 6px var(--nsn-accent); }
.nsn-node-live { background: var(--nsn-accent); position: relative; }
.nsn-node-live::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid var(--nsn-accent);
  animation: nsnRing 2s ease-out infinite;
}
@keyframes nsnRing {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.nsn-node-queue {
  background: transparent; border: 1px solid #fff; box-shadow: none;
}
.nsn-ptag {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.nsn-ptag-done  { color: var(--nsn-text-mute); }
.nsn-ptag-live  { color: var(--nsn-accent); }
.nsn-ptag-queue { color: var(--nsn-text-faint); }

.nsn-progress-rail {
  margin-bottom: 28px;
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--nsn-text-mute);
}
.nsn-track { height: 1px; background: var(--nsn-border-2); position: relative; }
.nsn-fill {
  position: absolute; left: 0; top: -1px; height: 3px;
  background: var(--nsn-accent);
  box-shadow: 0 0 8px rgba(72, 143, 255, 0.4);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.nsn-fill::after {
  content: ""; position: absolute; right: -4px; top: -2px;
  width: 7px; height: 7px; background: var(--nsn-accent); border-radius: 50%;
  box-shadow: 0 0 8px var(--nsn-accent);
}

.nsn-cta-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--nsn-accent); font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; padding-top: 24px;
  border-top: 1px solid var(--nsn-border-1);
  transition: gap 0.2s;
}
.nsn-cta-link:hover { gap: 14px; }

.nsn-stat-eyebrow {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--nsn-text-mute);
}

.nsn-stat-figure {
  position: relative; padding: 36px 0 28px;
  display: grid; grid-template-columns: 64px 1fr; gap: 24px; align-items: end;
}
.nsn-meter {
  width: 64px; height: 220px;
  display: flex; flex-direction: column-reverse; gap: 5px;
  position: relative;
}
.nsn-bar {
  height: 14px; background: #fff;
  transform-origin: left center;
}
.nsn-bar-top {
  background: var(--nsn-accent) !important;
  box-shadow: 0 0 10px rgba(72, 143, 255, 0.45);
  opacity: 1 !important;
}
.nsn-meter-tag {
  position: absolute; top: -22px; left: 0;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--nsn-text-faint);
}
.nsn-meter-tag-bottom { top: auto; bottom: -22px; }

.nsn-stat-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(110px, 13vw, 200px); line-height: 0.86;
  letter-spacing: -0.045em; color: #fff;
}

.nsn-stat-label-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0 22px;
  border-bottom: 1px solid var(--nsn-border-1);
  margin-bottom: 28px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.nsn-stat-label-row .nsn-k { color: var(--nsn-text-mute); }
.nsn-stat-label-row .nsn-v { color: var(--nsn-text-2); }

.nsn-quote {
  position: relative; padding: 24px 24px 22px 36px;
  background: rgba(0, 2, 8, 0.5);
  border: 1px solid var(--nsn-border-1); border-radius: 4px;
}
.nsn-quote::before {
  content: ""; position: absolute; left: 0; top: 18px; bottom: 18px;
  width: 2px; background: var(--nsn-accent);
}
.nsn-quote::after {
  content: ""; position: absolute; top: -1px; right: -1px;
  width: 12px; height: 12px;
  border-top: 1px solid var(--nsn-accent);
  border-right: 1px solid var(--nsn-accent);
}
.nsn-quote p {
  margin: 0 0 18px; color: var(--nsn-text-2);
  font-size: 15px; line-height: 1.6; font-style: italic;
}
.nsn-attr {
  display: flex; align-items: center; gap: 14px;
  padding-top: 14px; border-top: 1px solid var(--nsn-border-1);
}
.nsn-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: #1a1a1a; border: 1px solid var(--nsn-border-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  color: var(--nsn-text-2);
}
.nsn-attr-name { font-size: 13px; color: #fff; font-weight: 500; }
.nsn-attr-role {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--nsn-text-mute);
  margin-left: auto;
}

@media (max-width: 1000px) {
  .nsn-cs { padding: 96px 0; }
  .nsn-cs-grid { grid-template-columns: 1fr; }
  .nsn-cs-wrap { padding: 0 24px; }
  .nsn-card { padding: 32px 28px; min-height: 0; }
  .nsn-stat-figure { grid-template-columns: 48px 1fr; gap: 16px; }
  .nsn-meter { width: 48px; }
  .nsn-meta-row { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .nsn-pill::before,
  .nsn-node-live::after { animation: none; }
  .nsn-fill { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   PROBLEM · NSN-02 (diagnostic-scan redesign)
   Scoped under .nsn-problem — replaces legacy .problem-* / .pain-* rules
   ═══════════════════════════════════════════════════════════ */
.nsn-problem {
  --nsn-accent: #488fff;
  --nsn-text-2: #c8cad1;
  --nsn-text-mute: #909399;
  --nsn-text-faint: #656870;
  --nsn-border-1: #1e1e1e;
  --nsn-border-2: #2a2a2a;
  position: relative;
  padding: 160px 0 200px;
  overflow: hidden;
  background: #000208;
  color: #fff;
}
.nsn-problem * { box-sizing: border-box; }
.nsn-problem .nsn-accent { color: var(--nsn-accent); }

.nsn-problem-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
}
.nsn-problem-bg canvas { display: block; width: 100%; height: 100%; }
.nsn-problem-grain {
  position: absolute; inset: 0; pointer-events: none;
  opacity: 0.025; mix-blend-mode: screen; z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}
.nsn-problem-wrap {
  position: relative; z-index: 10;
  max-width: 1320px; margin: 0 auto; padding: 0 56px;
}

.nsn-problem .nsn-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--nsn-text-mute);
}
.nsn-problem .nsn-eyebrow::before {
  content: ""; display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: var(--nsn-accent);
  box-shadow: 0 0 6px var(--nsn-accent);
  animation: nsnBlink 2.2s ease-in-out infinite;
}
@keyframes nsnBlink { 50% { opacity: 0.45; } }

.nsn-problem h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(56px, 7.2vw, 112px); line-height: 0.92;
  letter-spacing: -0.03em; margin: 24px 0 18px; text-wrap: balance;
}
.nsn-problem .nsn-uline {
  display: block; width: 56px; height: 1px;
  background: var(--nsn-accent);
  box-shadow: 0 0 12px var(--nsn-accent);
}
.nsn-problem-head { text-align: center; margin-bottom: 96px; }
.nsn-problem-head .uline-wrap { display: flex; justify-content: center; }

.nsn-diagnostic-bar {
  max-width: 720px; margin: 40px auto 0;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 18px; align-items: center;
  padding: 14px 22px;
  border: 1px solid var(--nsn-border-1); border-radius: 6px;
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--nsn-text-mute);
}
.nsn-diagnostic-bar .k { color: var(--nsn-text-faint); }
.nsn-diagnostic-bar .scan-track {
  height: 1px; background: var(--nsn-border-2);
  position: relative; overflow: hidden;
}
.nsn-diagnostic-bar .scan-fill {
  position: absolute; left: 0; top: -1px; height: 3px;
  background: var(--nsn-accent); width: var(--scan, 0%);
  box-shadow: 0 0 8px var(--nsn-accent);
  transition: width 0.18s linear;
}
.nsn-diagnostic-bar .scan-fill::after {
  content: ""; position: absolute; right: -4px; top: -2px;
  width: 7px; height: 7px; background: var(--nsn-accent);
  border-radius: 50%; box-shadow: 0 0 8px var(--nsn-accent);
}
.nsn-diagnostic-bar .v { color: var(--nsn-text-2); }
.nsn-diagnostic-bar .v .blue { color: var(--nsn-accent); }

.nsn-problem-grid {
  display: grid; grid-template-columns: 64px 1fr;
  gap: 32px; position: relative;
}
.nsn-rail { position: relative; align-self: stretch; }
.nsn-rail-line {
  position: absolute; left: 31px; top: 0; bottom: 0;
  width: 1px; background: var(--nsn-border-2);
}
.nsn-rail-fill {
  position: absolute; left: 30px; top: 0; width: 3px;
  height: var(--rail-progress, 0%);
  background: linear-gradient(to bottom, transparent, var(--nsn-accent) 30%, var(--nsn-accent));
  box-shadow: 0 0 14px rgba(72, 143, 255, 0.5);
  transition: height 0.15s linear;
}
.nsn-rail-fill::after {
  content: ""; position: absolute; left: -3px; bottom: -3px;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--nsn-accent);
  box-shadow: 0 0 12px var(--nsn-accent), 0 0 24px rgba(72, 143, 255, 0.4);
}
.nsn-rail-node {
  position: absolute; left: 24px; width: 16px; height: 16px;
  border-radius: 50%; background: #000208;
  border: 1px solid var(--nsn-border-2);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.4s, box-shadow 0.4s;
  transform: translateY(-50%);
}
.nsn-rail-node::after {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--nsn-text-faint);
  transition: background 0.4s, box-shadow 0.4s, transform 0.4s;
}
.nsn-rail-node.active {
  border-color: var(--nsn-accent);
  box-shadow: 0 0 0 4px rgba(72, 143, 255, 0.08), 0 0 16px rgba(72, 143, 255, 0.35);
}
.nsn-rail-node.active::after {
  background: var(--nsn-accent);
  box-shadow: 0 0 8px var(--nsn-accent);
  transform: scale(1.4);
}

.nsn-cards { display: flex; flex-direction: column; gap: 48px; }

.nsn-problem .nsn-card {
  position: relative;
  padding: 36px 48px 36px 56px;
  background: rgba(10, 10, 10, 0.45);
  border: 1px solid var(--nsn-border-1); border-radius: 6px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  transition: border-color 0.5s, transform 0.6s, background-color 0.5s, box-shadow 0.5s;
  will-change: transform, opacity;
  opacity: 0.36;
  transform: translateY(20px) scale(0.985);
  min-height: 0;
}
.nsn-problem .nsn-card.active {
  opacity: 1; transform: translateY(0) scale(1);
  border-color: var(--nsn-border-2);
  background: rgba(13, 13, 13, 0.55);
}
.nsn-problem .nsn-card.scanned {
  border-color: rgba(72, 143, 255, 0.35);
  box-shadow:
    0 0 0 1px rgba(72, 143, 255, 0.08),
    0 20px 60px -20px rgba(72, 143, 255, 0.15),
    inset 0 0 60px rgba(72, 143, 255, 0.04);
}

.nsn-problem .nsn-corner {
  position: absolute; width: 18px; height: 18px;
  pointer-events: none; opacity: 0;
  transition: opacity 0.5s;
}
.nsn-problem .nsn-card::before,
.nsn-problem .nsn-card::after { display: none; }
.nsn-problem .nsn-card.scanned .nsn-corner { opacity: 1; }
.nsn-problem .nsn-corner-tl { top: -1px; left: -1px;
  border-top: 1px solid var(--nsn-accent); border-left: 1px solid var(--nsn-accent); }
.nsn-problem .nsn-corner-tr { top: -1px; right: -1px;
  border-top: 1px solid var(--nsn-accent); border-right: 1px solid var(--nsn-accent); }
.nsn-problem .nsn-corner-bl { bottom: -1px; left: -1px;
  border-bottom: 1px solid var(--nsn-accent); border-left: 1px solid var(--nsn-accent); }
.nsn-problem .nsn-corner-br { bottom: -1px; right: -1px;
  border-bottom: 1px solid var(--nsn-accent); border-right: 1px solid var(--nsn-accent); }

.nsn-scan-sweep {
  position: absolute; left: -10%; top: 0; bottom: 0; width: 8%;
  background: linear-gradient(to right,
    rgba(72, 143, 255, 0) 0%,
    rgba(72, 143, 255, 0.15) 40%,
    rgba(72, 143, 255, 0.65) 50%,
    rgba(72, 143, 255, 0.15) 60%,
    rgba(72, 143, 255, 0) 100%);
  box-shadow: 0 0 30px rgba(72, 143, 255, 0.35);
  pointer-events: none; opacity: 0;
}
.nsn-problem .nsn-card.active .nsn-scan-sweep {
  animation: nsnSweep 1.4s ease-out 0.15s forwards;
}
@keyframes nsnSweep {
  0%   { left: -10%; opacity: 0; }
  10%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}

.nsn-card-rail {
  position: absolute; left: 0; top: 16px; bottom: 16px; width: 2px;
  background: var(--nsn-border-2);
  transition: background 0.5s, box-shadow 0.5s;
}
.nsn-problem .nsn-card.scanned .nsn-card-rail {
  background: var(--nsn-accent);
  box-shadow: 0 0 12px rgba(72, 143, 255, 0.4);
}

.nsn-card-grid {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 28px; align-items: start;
}
.nsn-card-num {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; color: var(--nsn-text-faint);
  padding-top: 6px;
  display: flex; align-items: center; gap: 8px;
  transition: color 0.5s;
}
.nsn-problem .nsn-card.active .nsn-card-num { color: var(--nsn-accent); }
.nsn-card-num .arrow { display: inline-block; transition: transform 0.5s; }
.nsn-problem .nsn-card.active .nsn-card-num .arrow { transform: translateX(4px); }
.nsn-problem .nsn-card h3 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 2.4vw, 30px); line-height: 1.12;
  letter-spacing: -0.015em; margin: 0 0 14px; max-width: 28ch;
  color: #fff;
}
.nsn-problem .nsn-card p {
  color: var(--nsn-text-2); font-size: 15px; line-height: 1.65;
  margin: 0; max-width: 56ch;
}

.nsn-diag {
  display: flex; flex-direction: column;
  align-items: flex-end; gap: 6px; min-width: 124px;
}
.nsn-diag .status-line {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--nsn-text-faint);
  display: flex; align-items: center; gap: 7px;
  opacity: 0; transform: translateX(8px);
  transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
}
.nsn-problem .nsn-card.scanned .nsn-diag .status-line {
  opacity: 1; transform: translateX(0);
}
.nsn-diag .status-line .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--nsn-accent);
  box-shadow: 0 0 6px var(--nsn-accent);
}
.nsn-diag .severity {
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; color: var(--nsn-accent);
  letter-spacing: 0.04em;
  opacity: 0; transform: translateY(4px);
  transition: opacity 0.5s ease 0.7s, transform 0.5s ease 0.7s;
}
.nsn-problem .nsn-card.scanned .nsn-diag .severity {
  opacity: 1; transform: translateY(0);
}

.nsn-card-readout {
  margin-top: 28px; padding-top: 18px;
  border-top: 1px solid var(--nsn-border-1);
  display: flex; gap: 32px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--nsn-text-faint);
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.6s ease 0.9s, transform 0.6s ease 0.9s;
}
.nsn-problem .nsn-card.scanned .nsn-card-readout {
  opacity: 1; transform: translateY(0);
}
.nsn-card-readout .v       { color: var(--nsn-text-2); }
.nsn-card-readout .v.blue  { color: var(--nsn-accent); }
.nsn-spark {
  display: inline-flex; gap: 2px; align-items: flex-end;
  height: 14px; vertical-align: middle; margin-left: 6px;
}
.nsn-spark span { width: 2px; background: var(--nsn-text-mute); opacity: 0.7; }

@media (max-width: 900px) {
  .nsn-problem { padding: 96px 0 120px; }
  .nsn-problem-wrap { padding: 0 24px; }
  .nsn-problem-grid { grid-template-columns: 40px 1fr; gap: 20px; }
  .nsn-rail-line { left: 19px; }
  .nsn-rail-fill { left: 18px; }
  .nsn-rail-node { left: 12px; }
  .nsn-problem .nsn-card { padding: 28px 24px 28px 28px; }
  .nsn-card-grid { grid-template-columns: 1fr; gap: 14px; }
  .nsn-diag { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .nsn-problem .nsn-eyebrow::before { animation: none; }
  .nsn-problem .nsn-card.active .nsn-scan-sweep { animation: none; opacity: 0; }
  .nsn-rail-fill { transition: none; }
  .nsn-diagnostic-bar .scan-fill { transition: none; }
}

/* ═══════════════════════════════════════════════════════════
   ABOUT · NSN-06 (operator dossier)
   Scoped under .nsn-about — replaces .founder-* / .about-quote
   ═══════════════════════════════════════════════════════════ */
.nsn-about {
  --nsn-accent: #488fff;
  --nsn-text-2: #c8cad1;
  --nsn-text-mute: #909399;
  --nsn-text-faint: #656870;
  --nsn-border-1: #1e1e1e;
  --nsn-border-2: #2a2a2a;
  --nsn-surface-2: #111111;
  --nsn-surface-3: #1a1a1a;
  position: relative;
  padding: 160px 0 180px;
  overflow: hidden;
  background: #000208;
  color: #fff;
}
.nsn-about * { box-sizing: border-box; }
.nsn-about .nsn-accent { color: var(--nsn-accent); }

.nsn-about-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.nsn-about-bg canvas { display: block; width: 100%; height: 100%; }
.nsn-about-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.025; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 160px 160px;
}
.nsn-about-wrap {
  position: relative; z-index: 10;
  max-width: 1480px; margin: 0 auto; padding: 0 56px;
}

.nsn-about .nsn-head {
  max-width: 1080px;
  margin: 0 auto 80px;
  text-align: center;
}
.nsn-about .nsn-head .nsn-uline { margin-left: auto; margin-right: auto; }
.nsn-about .nsn-head .nsn-ops-bar { margin-left: auto; margin-right: auto; }
.nsn-about .nsn-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--nsn-text-mute);
}
.nsn-about .nsn-eyebrow::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--nsn-accent); box-shadow: 0 0 6px var(--nsn-accent);
  animation: nsnAbtPulse 2.2s ease-in-out infinite;
}
@keyframes nsnAbtPulse { 50% { opacity: 0.45; } }
.nsn-about h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(48px, 6.4vw, 96px); line-height: 0.95;
  letter-spacing: -0.025em; margin: 22px 0 0; text-wrap: balance;
  color: #fff;
}
.nsn-about .nsn-uline {
  display: block; width: 56px; height: 1px;
  background: var(--nsn-accent); margin: 24px 0 0;
  box-shadow: 0 0 12px var(--nsn-accent);
}

.nsn-ops-bar {
  margin-top: 36px; padding: 14px 22px;
  display: grid; grid-template-columns: repeat(4, auto) 1fr auto;
  gap: 28px; align-items: center;
  border: 1px solid var(--nsn-border-1); border-radius: 6px;
  background: rgba(10, 10, 10, 0.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--nsn-text-mute);
  max-width: 920px;
}
.nsn-ops-bar .k { color: var(--nsn-text-faint); }
.nsn-ops-bar .v { color: var(--nsn-text-2); }
.nsn-ops-bar .v.blue { color: var(--nsn-accent); }
.nsn-ops-bar .live::before {
  content: ""; display: inline-block; width: 5px; height: 5px;
  background: var(--nsn-accent); border-radius: 50%; margin-right: 6px;
  box-shadow: 0 0 6px var(--nsn-accent);
  animation: nsnAbtPulse 1.6s ease-in-out infinite;
}

.nsn-bay {
  position: relative;
  display: grid; grid-template-columns: 1fr 96px 1fr;
  gap: 0; align-items: stretch;
}
.nsn-link {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.nsn-link-line {
  position: absolute; top: 50%; left: 0; right: 0; height: 1px;
  background: var(--nsn-border-2);
}
.nsn-link-fill {
  position: absolute; top: calc(50% - 1px); left: 50%; height: 3px; width: 0;
  background: var(--nsn-accent);
  box-shadow: 0 0 8px var(--nsn-accent);
  transform: translateX(-50%);
  transition: width 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s;
}
.nsn-bay.scanned .nsn-link-fill { width: 100%; }
.nsn-link-pair {
  position: relative; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  background: #000208; border: 1px solid var(--nsn-border-2);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.5s ease 1.6s, box-shadow 0.5s ease 1.6s;
}
.nsn-bay.scanned .nsn-link-pair {
  border-color: var(--nsn-accent);
  box-shadow: 0 0 0 4px rgba(72, 143, 255, 0.08), 0 0 20px rgba(72, 143, 255, 0.3);
}
.nsn-link-pair::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--nsn-text-faint);
  transition: background 0.5s ease 1.7s, box-shadow 0.5s ease 1.7s, transform 0.5s ease 1.7s;
}
.nsn-bay.scanned .nsn-link-pair::after {
  background: var(--nsn-accent);
  box-shadow: 0 0 8px var(--nsn-accent);
  transform: scale(1.3);
}
.nsn-link-label, .nsn-link-label-top {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--nsn-text-faint);
  white-space: nowrap; opacity: 0;
  transition: opacity 0.5s ease 1.9s;
}
.nsn-link-label     { top: calc(50% + 38px); }
.nsn-link-label-top { bottom: calc(50% + 38px); }
.nsn-bay.scanned .nsn-link-label,
.nsn-bay.scanned .nsn-link-label-top { opacity: 1; }
.nsn-bay.scanned .nsn-link-label { color: var(--nsn-accent); }

.nsn-op {
  position: relative; padding: 36px;
  background: rgba(10, 10, 10, 0.5);
  border: 1px solid var(--nsn-border-1); border-radius: 8px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease,
              border-color 0.5s, box-shadow 0.5s;
}
.nsn-bay.active .nsn-op { opacity: 1; transform: translateY(0); }
.nsn-bay.active .nsn-op.r { transition-delay: 0.15s; }
.nsn-bay.scanned .nsn-op {
  border-color: rgba(72, 143, 255, 0.3);
  box-shadow: 0 0 0 1px rgba(72, 143, 255, 0.06),
              0 20px 60px -20px rgba(72, 143, 255, 0.18);
}

.nsn-op-corner {
  position: absolute; width: 18px; height: 18px;
  pointer-events: none; opacity: 0;
  transition: opacity 0.4s ease;
}
.nsn-bay.scanned .nsn-op-corner { opacity: 1; transition-delay: 1.4s; }
.nsn-op-corner.tl { top: -1px; left: -1px;
  border-top: 1px solid var(--nsn-accent); border-left: 1px solid var(--nsn-accent); }
.nsn-op-corner.tr { top: -1px; right: -1px;
  border-top: 1px solid var(--nsn-accent); border-right: 1px solid var(--nsn-accent); }
.nsn-op-corner.bl { bottom: -1px; left: -1px;
  border-bottom: 1px solid var(--nsn-accent); border-left: 1px solid var(--nsn-accent); }
.nsn-op-corner.br { bottom: -1px; right: -1px;
  border-bottom: 1px solid var(--nsn-accent); border-right: 1px solid var(--nsn-accent); }

.nsn-op-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.nsn-op-callsign { color: var(--nsn-accent); }
.nsn-op-status {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border: 1px solid var(--nsn-border-2);
  border-radius: 999px; background: rgba(0, 2, 8, 0.6); color: var(--nsn-text-2);
}
.nsn-op-status::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--nsn-accent); box-shadow: 0 0 6px var(--nsn-accent);
  animation: nsnAbtPulse 1.6s ease-in-out infinite;
}

.nsn-op-body {
  display: grid; grid-template-columns: 132px 1fr;
  gap: 28px; align-items: start;
}
.nsn-portrait {
  position: relative; width: 132px; height: 160px;
  border: 1px solid var(--nsn-border-2); border-radius: 4px;
  overflow: hidden; background: var(--nsn-surface-2);
}
.nsn-portrait img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.nsn-portrait::before, .nsn-portrait::after {
  content: ""; position: absolute; width: 10px; height: 10px;
  border-color: var(--nsn-text-mute); pointer-events: none;
}
.nsn-portrait::before { top: 4px; left: 4px;
  border-top: 1px solid; border-left: 1px solid; }
.nsn-portrait::after  { bottom: 4px; right: 4px;
  border-bottom: 1px solid; border-right: 1px solid; }
.nsn-portrait .scan {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(to bottom,
    rgba(72, 143, 255, 0) 0%,
    rgba(72, 143, 255, 0.8) 50%,
    rgba(72, 143, 255, 0) 100%);
  box-shadow: 0 0 14px rgba(72, 143, 255, 0.6);
  top: -3px; opacity: 0; mix-blend-mode: screen;
  pointer-events: none;
}
.nsn-bay.active .nsn-portrait .scan {
  animation: nsnPortraitScan 1.4s ease-in-out 0.4s forwards;
}
@keyframes nsnPortraitScan {
  0%   { top: -3px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { top: calc(100% + 3px); opacity: 0; }
}
.nsn-portrait .signal {
  position: absolute; top: 8px; right: 8px;
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-mono); font-size: 8px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--nsn-accent);
  opacity: 0; transition: opacity 0.4s ease 1.8s;
}
.nsn-bay.scanned .nsn-portrait .signal { opacity: 1; }
.nsn-portrait .signal::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--nsn-accent); box-shadow: 0 0 6px var(--nsn-accent);
  animation: nsnAbtPulse 1.4s ease-in-out infinite;
}
.nsn-portrait .coord {
  position: absolute; left: 8px; bottom: 8px;
  font-family: var(--font-mono); font-size: 8px;
  letter-spacing: 0.16em; color: var(--nsn-text-faint);
  opacity: 0; transition: opacity 0.4s ease 1.8s;
}
.nsn-bay.scanned .nsn-portrait .coord { opacity: 1; }

.nsn-op-name {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 6px; color: #fff;
}
.nsn-op-territory {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--nsn-accent); margin-bottom: 18px;
}
.nsn-op-bio { color: var(--nsn-text-2); font-size: 14px; line-height: 1.6; margin: 0; }

.nsn-op-readout {
  margin-top: 22px; padding-top: 16px;
  border-top: 1px solid var(--nsn-border-1);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--nsn-text-faint);
}
.nsn-op-readout .v {
  color: var(--nsn-text-2); display: block; margin-top: 4px; font-size: 12px;
}
.nsn-op-readout .v.blue { color: var(--nsn-accent); }
.nsn-op-readout .tick {
  display: inline-block; min-width: 2.5ch; text-align: left;
  font-variant-numeric: tabular-nums;
}

.nsn-statement {
  margin-top: 64px; position: relative;
  padding: 44px 56px 44px 64px;
  background: rgba(10, 10, 10, 0.55);
  border: 1px solid var(--nsn-border-1); border-radius: 8px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}
.nsn-statement::before {
  content: ""; position: absolute; left: 0; top: 24px; bottom: 24px;
  width: 2px; background: var(--nsn-accent);
  box-shadow: 0 0 12px rgba(72, 143, 255, 0.5);
}
.nsn-statement .corner {
  position: absolute; width: 16px; height: 16px;
  border-color: var(--nsn-accent); pointer-events: none;
  opacity: 0; transition: opacity 0.5s ease 2.4s;
}
.nsn-statement.in .corner { opacity: 1; }
.nsn-statement .corner.tr { top: -1px; right: -1px;
  border-top: 1px solid; border-right: 1px solid; }
.nsn-statement .corner.bl { bottom: -1px; left: -1px;
  border-bottom: 1px solid; border-left: 1px solid; }
.nsn-statement-head {
  display: flex; gap: 18px; align-items: center; margin-bottom: 22px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--nsn-text-mute);
}
.nsn-statement-head .tag { color: var(--nsn-accent); }
.nsn-statement-text {
  font-family: var(--font-body); font-size: 20px; line-height: 1.55;
  color: #fff; font-style: italic; font-weight: 400;
  margin: 0; max-width: 88ch; text-wrap: balance;
}
.nsn-statement-text::after {
  content: "\258D"; display: inline-block;
  color: var(--nsn-accent); margin-left: 2px;
  animation: nsnCaret 1s steps(1) infinite; opacity: 0;
}
.nsn-statement.typing .nsn-statement-text::after { opacity: 1; }
@keyframes nsnCaret { 50% { opacity: 0; } }
.nsn-statement-fallback {
  font-family: var(--font-body); font-size: 20px; line-height: 1.55;
  color: #fff; font-style: italic; font-weight: 400;
  margin: 0; max-width: 88ch; text-wrap: balance;
  display: none;
}
.nsn-statement-foot {
  margin-top: 28px; padding-top: 20px;
  border-top: 1px solid var(--nsn-border-1);
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--nsn-text-faint);
}
.nsn-statement-foot .authors {
  display: inline-flex; align-items: center; gap: 16px; color: var(--nsn-text-2);
}
.nsn-statement-foot .pair-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--nsn-accent); box-shadow: 0 0 6px var(--nsn-accent);
}

@media (max-width: 980px) {
  .nsn-about { padding: 96px 0 120px; }
  .nsn-bay { grid-template-columns: 1fr; gap: 36px; }
  .nsn-link { display: none; }
  .nsn-about-wrap { padding: 0 24px; }
  .nsn-op { padding: 24px; }
  .nsn-op-body { grid-template-columns: 96px 1fr; gap: 20px; }
  .nsn-portrait { width: 96px; height: 120px; }
  .nsn-statement { padding: 28px 28px 28px 38px; }
  .nsn-statement-text,
  .nsn-statement-fallback { font-size: 17px; }
  .nsn-ops-bar { grid-template-columns: 1fr 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .nsn-about .nsn-eyebrow::before,
  .nsn-ops-bar .live::before,
  .nsn-op-status::before,
  .nsn-portrait .signal::before { animation: none; }
  .nsn-bay.active .nsn-portrait .scan { animation: none; opacity: 0; }
  .nsn-link-fill { transition: none; }
  .nsn-statement-text::after { animation: none; }
  .nsn-statement-text { display: none; }
  .nsn-statement-fallback { display: block !important; }
}

/* ═══════════════════════════════════════════════════════════
   FINAL CTA · "Your next hire doesn't need a desk"
   Focus treatment — overrides earlier #contact rules
   ═══════════════════════════════════════════════════════════ */
#contact {
  min-height: 78vh;
  padding: clamp(80px, 10vh, 120px) 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#contact .container {
  width: 100%;
}
.cta-glow {
  width: clamp(720px, 75vw, 1100px);
  height: clamp(720px, 75vw, 1100px);
  background: radial-gradient(circle, rgba(72, 143, 255, 0.085) 0%, rgba(72, 143, 255, 0.035) 35%, transparent 70%);
}
.cta-inner {
  max-width: 880px;
}
.cta-eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  margin-bottom: 28px;
}
.cta-headline {
  font-size: clamp(48px, 6.8vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.cta-sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 44px;
}
.cta-btn {
  padding: 18px 42px;
  font-size: 16px;
  letter-spacing: 0.01em;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 0 52px rgba(72, 143, 255, 0.16);
}
.cta-btn:hover {
  box-shadow: 0 14px 56px rgba(72, 143, 255, 0.32);
}
.cta-note {
  font-size: 11px;
  letter-spacing: 0.12em;
}

@media (max-width: 720px) {
  #contact { min-height: auto; padding: 88px 0; }
  .cta-headline { font-size: clamp(38px, 10vw, 56px); }
  .cta-btn { padding: 16px 32px; font-size: 15px; }
}
