:root {
  --ink-950: #07080d;
  --ink-900: #0d1017;
  --ink-850: #131722;
  --ink-800: #1b2130;
  --ink-700: #262e42;

  --iris: #8a70ff;
  --iris-bright: #a28eff;
  --iris-glow: rgba(138, 112, 255, 0.4);
  --iris-subtle: rgba(138, 112, 255, 0.12);

  --mint: #10b981;
  --mint-glow: rgba(16, 185, 129, 0.3);

  --amber: #f59e0b;
  --amber-soft: rgba(245, 158, 11, 0.15);

  --paper: #f8f9fc;
  --paper-dim: #cbd5e1;
  --paper-faint: #818cf8;
  --muted: #94a3b8;

  --edge: rgba(255, 255, 255, 0.08);
  --edge-lit: rgba(162, 142, 255, 0.35);

  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'IBM Plex Mono', Menlo, Consolas, monospace;

  --max: 1220px;
}

* { box-sizing: border-box; }
html {
  background: var(--ink-950);
  color: var(--paper);
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink-950);
  color: var(--paper-dim);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--iris-bright);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -60px;
  left: 20px;
  padding: 10px 18px;
  background: var(--iris);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  border-radius: 4px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 20px; }

.site-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 28px;
}

/* Fluid Ambient Background Glow */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle 900px at 20% 15%, rgba(138, 112, 255, 0.14), transparent 70%),
    radial-gradient(circle 700px at 85% 65%, rgba(16, 185, 129, 0.08), transparent 65%),
    radial-gradient(circle 800px at 50% 90%, rgba(245, 158, 11, 0.06), transparent 70%);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 8, 13, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--edge);
  padding: 16px 0;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.status-orb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint), 0 0 24px var(--mint);
  animation: pulse-glow 2.5s infinite ease-in-out;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(0.85); }
}
.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.header-nav a {
  color: var(--paper-dim);
  transition: color 0.15s ease;
}
.header-nav a:hover { color: #fff; }
.header-nav a.active { color: var(--iris-bright); }
.cta-pill {
  color: #fff !important;
  background: var(--iris-subtle);
  border: 1px solid var(--edge-lit);
  border-radius: 20px;
  padding: 7px 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.cta-pill:hover {
  background: var(--iris);
  box-shadow: 0 0 20px var(--iris-glow);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(13, 16, 23, 0.9);
  border: 1px solid var(--edge);
  color: var(--paper);
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.mobile-toggle:hover {
  border-color: var(--edge-lit);
  background: rgba(19, 23, 34, 0.95);
}
.hamburger-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 14px;
  height: 10px;
}
.hamburger-line {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(4.25px) rotate(45deg);
}
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-4.25px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 10;
  padding: 80px 0 60px;
  overflow: hidden;
}

/* Living Signal System Hero Backdrop */
.hero-synthesis-backdrop {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% + clamp(190px, 16vw, 280px));
  width: min(1280px, calc(100% - 48px));
  height: 100%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  /* This field is deliberately centered on the Next move core, not the browser window. */
  mask-image: radial-gradient(ellipse 76% 76% at 50% 46%, rgba(0, 0, 0, 1) 28%, rgba(0, 0, 0, 0) 82%);
  -webkit-mask-image: radial-gradient(ellipse 76% 76% at 50% 46%, rgba(0, 0, 0, 1) 28%, rgba(0, 0, 0, 0) 82%);
}
.hero-syn-grid {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(162, 142, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(162, 142, 255, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
}
.hero-syn-aura {
  position: absolute;
  left: 50%;
  top: 48%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.hero-syn-aura.aura-primary {
  width: 420px;
  aspect-ratio: 1;
  border: 1px solid rgba(162, 142, 255, 0.22);
  box-shadow: 0 0 90px rgba(138, 112, 255, 0.18), inset 0 0 70px rgba(16, 185, 129, 0.1);
  animation: ring-breathe 5s ease-in-out infinite;
}
.hero-syn-aura.aura-secondary {
  width: 590px;
  aspect-ratio: 1;
  border: 1px dashed rgba(245, 158, 11, 0.14);
  animation: ring-breathe 7s ease-in-out -2.5s infinite;
}

/* Convergence Beams */
.hero-syn-beams {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.hero-beam {
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-dasharray: 5 9;
  animation: dash-drift 6.2s linear infinite;
  opacity: 0.72;
}
.hero-beam-core {
  fill: var(--iris-bright);
  stroke: var(--mint);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px var(--iris-bright));
  animation: hero-beam-core-pulse 1.8s ease-in-out infinite;
}
.hero-beam.beam-1, .hero-beam.beam-3, .hero-beam.beam-5 {
  stroke: url(#heroBeamIris);
}
.hero-beam.beam-2, .hero-beam.beam-4, .hero-beam.beam-6 {
  stroke: url(#heroBeamAmber);
}

/* Floating Project Input Tokens */
.hero-syn-token {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 8px;
  align-items: center;
  width: 196px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 7px;
  background: rgba(9, 12, 19, 0.96);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.6), 0 0 20px rgba(138, 112, 255, 0.18);
  backdrop-filter: blur(10px);
  opacity: 0.96;
}
.hero-syn-token b {
  color: #fff;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 600;
}
.hero-syn-token small {
  grid-column: 2;
  color: var(--paper-dim);
  font-family: var(--font-mono);
  font-size: 8px;
  line-height: 1.3;
  margin-top: 2px;
  opacity: 0.9;
}
.syn-token-dot, .syn-token-spark, .syn-token-note, .syn-token-tools, .syn-token-problem, .syn-token-data {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  color: var(--iris-bright);
  font-family: var(--font-mono);
  font-size: 11px;
  background: rgba(138, 112, 255, 0.16);
  border: 1px solid rgba(162, 142, 255, 0.3);
}
.syn-token-dot {
  width: 8px;
  height: 8px;
  margin-left: 5px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 9px var(--mint);
}
.syn-token-spark {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.35);
}
.syn-token-note::before {
  content: '';
  width: 8px;
  height: 10px;
  border: 1px solid var(--iris-bright);
  border-radius: 1px;
}
.syn-token-tools::before {
  content: '⌘';
  font-size: 13px;
}
.syn-token-problem {
  color: var(--amber);
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.35);
  font-weight: 700;
}
.syn-token-data::before {
  content: '↗';
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--mint);
}

/* Subtle drift animations toward the central working board */
.hero-syn-token.token-question {
  left: 6%;
  top: 10%;
  animation: syn-input-q 8s cubic-bezier(0.22, 0.7, 0.25, 1) infinite;
}
.hero-syn-token.token-idea {
  right: 6%;
  top: 11%;
  animation: syn-input-idea 8s cubic-bezier(0.22, 0.7, 0.25, 1) -1.2s infinite;
}
.hero-syn-token.token-note {
  left: 3%;
  top: 43%;
  animation: syn-input-note 8s cubic-bezier(0.22, 0.7, 0.25, 1) -2.4s infinite;
}
.hero-syn-token.token-tools {
  right: 3%;
  top: 43%;
  animation: syn-input-tools 8s cubic-bezier(0.22, 0.7, 0.25, 1) -3.6s infinite;
}
.hero-syn-token.token-problem {
  left: 9%;
  bottom: 8%;
  animation: syn-input-problem 8s cubic-bezier(0.22, 0.7, 0.25, 1) -4.8s infinite;
}
.hero-syn-token.token-data {
  right: 8%;
  bottom: 8%;
  animation: syn-input-data 8s cubic-bezier(0.22, 0.7, 0.25, 1) -6s infinite;
}

@keyframes syn-input-q {
  0%, 100% { transform: translate(0) rotate(-1.5deg); }
  38%, 58% { transform: translate(75px, 45px) rotate(0deg) scale(0.92); opacity: 0.98; }
}
@keyframes syn-input-idea {
  0%, 100% { transform: translate(0) rotate(1.5deg); }
  38%, 58% { transform: translate(-80px, 50px) rotate(0deg) scale(0.92); opacity: 0.98; }
}
@keyframes syn-input-note {
  0%, 100% { transform: translate(0) rotate(-1deg); }
  38%, 58% { transform: translate(85px, -5px) rotate(0deg) scale(0.92); opacity: 0.98; }
}
@keyframes syn-input-tools {
  0%, 100% { transform: translate(0) rotate(1deg); }
  38%, 58% { transform: translate(-85px, 5px) rotate(0deg) scale(0.92); opacity: 0.98; }
}
@keyframes syn-input-problem {
  0%, 100% { transform: translate(0) rotate(-1.5deg); }
  38%, 58% { transform: translate(65px, -55px) rotate(0deg) scale(0.92); opacity: 0.98; }
}
@keyframes syn-input-data {
  0%, 100% { transform: translate(0) rotate(1.5deg); }
  38%, 58% { transform: translate(-65px, -55px) rotate(0deg) scale(0.92); opacity: 0.98; }
}
@keyframes dash-drift {
  to { stroke-dashoffset: -100; }
}
@keyframes hero-beam-core-pulse {
  0%, 100% { opacity: 0.65; transform: scale(0.88); }
  50% { opacity: 1; transform: scale(1.28); }
}
@keyframes ring-breathe {
  50% { opacity: 0.35; transform: translate(-50%, -50%) scale(1.06); }
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--iris-bright);
  background: var(--iris-subtle);
  border: 1px solid var(--edge-lit);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 20px;
}
.hero-headline {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(44px, 5.8vw, 76px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
}
.hero-headline em {
  font-style: italic;
  color: var(--iris-bright);
  text-shadow: 0 0 24px var(--iris-glow);
}
.hero-lead {
  margin: 22px 0 32px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--paper-dim);
  max-width: 620px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--iris);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  border: 1px solid var(--iris-bright);
  box-shadow: 0 0 24px var(--iris-glow);
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background: var(--iris-bright);
  box-shadow: 0 0 36px var(--iris-glow);
  transform: translateY(-2px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  background: transparent;
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--edge);
  border-radius: 30px;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.04);
}

/* Workshop Board: High-Legibility Illuminated Working Board */
.hero-board {
  position: relative;
  background: var(--ink-900);
  border: 1px solid rgba(138, 112, 255, 0.45);
  border-radius: 14px;
  padding: 24px;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 32px rgba(138, 112, 255, 0.22);
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}
.board-neon-frame {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 10px;
  pointer-events: none;
  opacity: 0.7;
}
.ticker-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper);
  border-bottom: 1px solid var(--edge);
  padding-bottom: 14px;
}
.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}
.ticker-time {
  margin-left: auto;
  color: var(--muted);
}
.board-menu {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.board-item {
  background: rgba(13, 16, 23, 0.85);
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.board-item:hover {
  border-color: var(--edge-lit);
  background: rgba(19, 23, 34, 0.95);
  box-shadow: 0 0 20px var(--iris-subtle);
}
.board-item-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.board-slot {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.04em;
}
.board-item-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.board-state {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.state-live {
  color: var(--mint);
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.1);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}
.state-build {
  color: var(--iris-bright);
  border-color: rgba(162, 142, 255, 0.35);
  background: rgba(138, 112, 255, 0.12);
  box-shadow: 0 0 10px rgba(138, 112, 255, 0.2);
}
.state-ready {
  color: var(--amber);
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}
.board-item-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--paper-dim);
}
.board-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--paper-dim);
  border-top: 1px solid var(--edge);
  padding-top: 14px;
}
.board-rule-tag {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  background: var(--amber-soft);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 4px;
  padding: 2px 6px;
}

/* Visual Section Break: Distinct, wordless transition band */
.section-break {
  position: relative;
  z-index: 10;
  padding: 64px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(19, 23, 34, 0.85) 0%, rgba(7, 8, 13, 0) 100%);
}
.section-break-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.break-line {
  flex: 1;
  max-width: 480px;
  height: 1px;
  box-shadow: 0 0 12px rgba(138, 112, 255, 0.35);
}
.section-break-inner .break-line:first-child {
  background: linear-gradient(90deg, transparent, rgba(138, 112, 255, 0.45) 50%, rgba(16, 185, 129, 0.85) 100%);
}
.section-break-inner .break-line:last-child {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.85) 0%, rgba(138, 112, 255, 0.45) 50%, transparent 100%);
}
.break-glyph {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--ink-950);
  box-shadow: 0 0 16px var(--mint), 0 0 32px rgba(16, 185, 129, 0.7);
  position: relative;
}
.break-glyph::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(162, 142, 255, 0.65);
  animation: ring-breathe 3.5s ease-in-out infinite;
}

/* Flow Stage Section: 4 Vertical Moving Streams */
.flow-stage-section {
  position: relative;
  z-index: 10;
  padding: 40px 0 82px;
}
.flow-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--iris-bright);
  display: block;
  margin-bottom: 6px;
}
.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
}

.flow-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}
.speed-switcher {
  display: inline-flex;
  background: var(--ink-900);
  border: 1px solid var(--edge);
  border-radius: 20px;
  padding: 3px;
}
.speed-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.speed-btn.active {
  background: var(--iris-subtle);
  color: #fff;
  border: 1px solid var(--edge-lit);
}
.pause-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ink-900);
  border: 1px solid var(--edge);
  color: var(--paper);
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  transition: all 0.15s ease;
}
.pause-toggle:hover {
  border-color: var(--iris-bright);
  background: var(--iris-subtle);
}
.icon-play { display: none; }
.pause-toggle[aria-pressed="true"] .icon-pause { display: none; }
.pause-toggle[aria-pressed="true"] .icon-play { display: inline-block; }

.flow-viewport-container {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 28px;
}
.flow-stream-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.flow-stream-col {
  min-width: 0;
}

/* Individual Browser Window */
.flow-window {
  background: var(--ink-900);
  border: 1px solid var(--edge);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.flow-window:hover {
  transform: translateY(-4px);
  border-color: var(--edge-lit);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 28px var(--iris-glow);
}
.window-bar {
  display: grid;
  grid-template-columns: 46px 1fr 20px;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  background: rgba(7, 8, 13, 0.95);
  border-bottom: 1px solid var(--edge);
}
.window-dots {
  display: inline-flex;
  gap: 4px;
}
.window-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.6;
}
.window-dots span:first-child { background: #ef4444; }
.window-dots span:nth-child(2) { background: #eab308; }
.window-dots span:nth-child(3) { background: #22c55e; }
.window-title {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.window-link {
  font-size: 14px;
  color: var(--iris-bright);
  text-align: right;
  transition: transform 0.15s ease;
}
.window-link:hover { transform: translate(1px, -1px); }

.window-screen {
  position: relative;
  height: 380px;
  overflow: hidden;
  background: #000;
}
.window-screen::before,
.window-screen::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 30px;
  pointer-events: none;
  z-index: 2;
}
.window-screen::before {
  top: 0;
  background: linear-gradient(to bottom, rgba(7, 8, 13, 0.35), transparent);
}
.window-screen::after {
  bottom: 0;
  background: linear-gradient(to top, rgba(7, 8, 13, 0.5), transparent);
}

.screen-track {
  display: block;
  width: 100%;
  animation: stream-scroll var(--track-duration, 20s) cubic-bezier(0.45, 0, 0.2, 1) var(--track-delay, 0s) infinite alternate both;
  will-change: transform;
}
.screen-track img {
  display: block;
  width: 100%;
  height: auto;
}

@keyframes stream-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-75%); }
}

/* Hover or Global Pause */
.flow-window:hover .screen-track,
.preview-motion-paused .screen-track {
  animation-play-state: paused !important;
}

/* Fast Speed Mode */
.speed-fast .screen-track {
  animation-duration: calc(var(--track-duration, 20s) * 0.5) !important;
}

.window-footer {
  padding: 8px 10px;
  background: var(--ink-850);
  border-top: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
}
.client-badge {
  color: #fff;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.result-badge {
  color: var(--iris-bright);
}

/* Services Breakdown: Simpler, Less Complicated */
.services-breakdown {
  position: relative;
  z-index: 10;
  padding: 72px 0;
  border-top: 1px solid var(--edge);
}
.section-lead-center {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-sub {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--paper-dim);
}

.services-quad {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.service-box {
  background: var(--ink-900);
  border: 1px solid var(--edge);
  border-radius: 12px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.2s ease;
}
.service-box:hover {
  border-color: var(--edge-lit);
  background: var(--ink-850);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.box-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--iris-bright);
}
.box-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.box-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper-dim);
}
.box-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.box-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  background: var(--ink-950);
  border: 1px solid var(--edge);
  border-radius: 4px;
  padding: 3px 8px;
}

/* Operator Pitch & Direct Line */
.operator-callout {
  position: relative;
  z-index: 10;
  padding: 32px 0 80px;
}
.callout-card {
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-850) 100%);
  border: 1px solid var(--edge-lit);
  border-radius: 16px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 48px var(--iris-glow);
}
.callout-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--iris-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}
.callout-heading {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
}
.callout-body {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--paper-dim);
}

.contact-direct-box {
  background: var(--ink-950);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--iris-bright);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.contact-email {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  transition: color 0.15s ease;
}
.contact-email:hover {
  color: var(--iris-bright);
  text-decoration: underline;
}
.contact-subtext {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.full-width {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: 6px;
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 32px 0 48px;
  border-top: 1px solid var(--edge);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a:hover { color: #fff; }

/* Responsive Adjustments */
@media (max-width: 1099px) {
  .hero-synthesis-backdrop {
    left: 50%;
    width: min(920px, calc(100% - 32px));
  }
}

@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .flow-stream-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .callout-card { grid-template-columns: 1fr; padding: 32px; }
}

@media (max-width: 760px) {
  .hero-synthesis-backdrop {
    width: 100%;
    left: 50%;
    opacity: 0.52;
    mask-image: radial-gradient(ellipse 76% 64% at 50% 40%, #000 12%, transparent 78%);
    -webkit-mask-image: radial-gradient(ellipse 76% 64% at 50% 40%, #000 12%, transparent 78%);
  }
  .hero-syn-token { display: none; }
  .hero-syn-aura.aura-primary { width: 300px; }
  .hero-syn-aura.aura-secondary { width: 410px; }
  .site-shell { padding: 0 20px; }
  .flow-viewport-container { padding: 0 20px; }
  .mobile-toggle { display: block; }
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 22px 24px 28px;
    background: rgba(10, 13, 20, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--edge);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7);
    gap: 16px;
    z-index: 50;
  }
  .header-nav.open { display: flex; }
  .header-nav a {
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .header-nav a:last-child {
    border-bottom: none;
    margin-top: 6px;
    text-align: center;
    padding: 12px 18px;
  }
  .services-quad { grid-template-columns: 1fr; }
  .flow-header-row { align-items: flex-start; }
}

@keyframes mobile-stage-sweep {
  0%, 12% { transform: translateY(0); }
  58%, 84% { transform: translateY(-48%); }
  100% { transform: translateY(-56%); }
}

.mobile-flow-cue { display: none; }

@media (max-width: 540px) {
  .section-break { padding: 36px 0 20px; }
  .break-line { max-width: 140px; }
  .flow-stage-section { padding: 24px 0 52px; }
  .flow-header-row { margin-bottom: 14px; }
  .flow-controls .speed-switcher { display: none; }
  .flow-controls { width: 100%; justify-content: flex-start; }
  .pause-toggle { padding: 5px 12px; }

  .mobile-flow-cue {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    margin: 0 0 10px;
    padding: 7px 9px;
    border: 1px solid var(--edge);
    border-radius: 7px;
    background: var(--ink-900);
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.03em;
    color: var(--muted);
  }
  .mobile-flow-cue strong {
    margin-left: auto;
    color: var(--paper);
    font-size: 9px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .mobile-flow-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--muted);
  }
  .mobile-flow-cue.is-live {
    border-color: var(--edge-lit);
    box-shadow: 0 0 18px var(--iris-subtle);
  }
  .mobile-flow-cue.is-live .mobile-flow-dot {
    background: var(--mint);
    box-shadow: 0 0 8px var(--mint);
    animation: pulse-glow 1.4s infinite ease-in-out;
  }

  .flow-stream-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .flow-window { border-radius: 8px; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45); }
  .flow-window:hover { transform: none; }
  .flow-window.is-mobile-active {
    border-color: var(--iris-bright);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.58), 0 0 22px var(--iris-glow);
  }

  .window-bar {
    grid-template-columns: 25px minmax(0, 1fr) 12px;
    gap: 3px;
    height: 26px;
    padding: 0 6px;
  }
  .window-dots { gap: 2px; }
  .window-dots span { width: 4px; height: 4px; }
  .window-title { font-size: 7px; }
  .window-link { font-size: 11px; }

  .window-screen { height: 172px; }
  .window-screen::before {
    content: 'SITE PREVIEW';
    top: 6px;
    left: 6px;
    right: auto;
    width: auto;
    height: auto;
    padding: 3px 5px;
    border-radius: 3px;
    background: rgba(7, 8, 13, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--paper-dim);
    font-family: var(--font-mono);
    font-size: 7px;
    letter-spacing: 0.05em;
  }
  .flow-window.is-mobile-active .window-screen::before {
    content: 'SITE MOVING';
    color: #fff;
    border-color: var(--iris-bright);
    background: rgba(69, 51, 153, 0.9);
  }
  .screen-track {
    animation: none !important;
    transform: translateY(0);
  }
  .flow-window.is-mobile-active .screen-track {
    animation: mobile-stage-sweep 3.15s cubic-bezier(0.45, 0, 0.2, 1) both !important;
  }

  .window-footer {
    min-height: 39px;
    padding: 5px 6px;
    gap: 2px;
    font-size: 7px;
    line-height: 1.25;
  }
  .client-badge {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .result-badge { font-size: 7px; }
  .hero-board { padding: 18px; }
  .board-item { padding: 12px 14px; }
  .hero-synthesis-backdrop {
    display: block;
    opacity: 0.75;
    mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 90%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 45%, rgba(0, 0, 0, 0) 90%);
  }
  .hero-syn-aura.aura-primary {
    width: 280px;
    top: 50%;
  }
  .hero-syn-aura.aura-secondary {
    width: 360px;
    top: 50%;
  }
  .hero-syn-token {
    width: 155px;
    padding: 5px 8px;
    grid-template-columns: 15px 1fr;
    column-gap: 6px;
  }
  .hero-syn-token b { font-size: 8px; }
  .hero-syn-token small { font-size: 6.5px; }
  .syn-token-dot, .syn-token-spark, .syn-token-note, .syn-token-tools, .syn-token-problem, .syn-token-data {
    width: 14px;
    height: 14px;
    font-size: 9px;
  }
  /* Anchor tokens cleanly above the headline and below the action buttons */
  .hero-syn-token.token-question {
    top: 6px;
    left: 12px;
    animation: syn-input-q-mob 7s cubic-bezier(0.22, 0.7, 0.25, 1) infinite;
  }
  .hero-syn-token.token-idea {
    top: 6px;
    right: 12px;
    animation: syn-input-idea-mob 7s cubic-bezier(0.22, 0.7, 0.25, 1) -1.2s infinite;
  }
  .hero-syn-token.token-note,
  .hero-syn-token.token-tools,
  .hero-syn-token.token-problem,
  .hero-syn-token.token-data {
    display: none;
  }
}

@keyframes syn-input-q-mob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}
@keyframes syn-input-idea-mob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .screen-track {
    animation: none !important;
    transform: translateY(0) !important;
  }
  .status-orb { animation: none !important; }
  .hero-syn-aura { animation: none !important; }
  .hero-beam { animation: none !important; }
  .hero-syn-token { animation: none !important; }
}

/* Secondary Routes Compatibility: Work Record & Contact */
.page-intro {
  padding: 64px 0 32px;
  position: relative;
  z-index: 10;
}
.page-title {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.8vw, 56px);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
}
.page-sub {
  max-width: 640px;
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--paper-dim);
}

/* Visual Showcase Grid */
.showcase-section {
  padding: 24px 0 64px;
  position: relative;
  z-index: 10;
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.showcase-card {
  background: var(--ink-900);
  border: 1px solid var(--edge);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.showcase-card:hover {
  transform: translateY(-3px);
  border-color: var(--edge-lit);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px var(--iris-subtle);
}
.showcase-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--ink-950);
  overflow: hidden;
  border-bottom: 1px solid var(--edge);
}
.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}
.showcase-card:hover .showcase-media img {
  transform: scale(1.03);
}
.showcase-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
}
.showcase-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 20px;
  backdrop-filter: blur(8px);
}
.tag-live {
  color: #fff;
  background: rgba(16, 185, 129, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.showcase-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.showcase-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.showcase-title {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  color: #fff;
}
.showcase-type {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--iris-bright);
}
.showcase-pitch {
  margin: 0 0 16px;
  font-size: 14.5px;
  color: var(--paper-dim);
  line-height: 1.5;
}
.showcase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.meta-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--edge);
  border-radius: 4px;
  padding: 4px 8px;
}
.showcase-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--edge);
}
.showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--iris-bright);
  font-weight: 500;
  transition: color 0.15s ease;
}
.showcase-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Private Systems & Internal Tools */
.private-preview-section {
  padding: 16px 0 64px;
  position: relative;
  z-index: 10;
}
.private-panel {
  background: var(--ink-900);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--amber);
  border-radius: 12px;
  padding: 36px;
}
.private-header {
  max-width: 680px;
  margin-bottom: 28px;
}
.private-title {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
}
.private-sub {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--paper-dim);
  line-height: 1.5;
}
.private-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.private-card {
  background: var(--ink-950);
  border: 1px solid var(--edge);
  border-radius: 8px;
  padding: 22px;
}
.private-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--amber);
  margin-bottom: 8px;
}
.private-card-title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.private-card-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--paper-dim);
  line-height: 1.5;
}
.private-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.private-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--paper-faint);
  background: rgba(138, 112, 255, 0.08);
  border: 1px solid rgba(138, 112, 255, 0.16);
  border-radius: 3px;
  padding: 3px 6px;
}

@media (max-width: 820px) {
  .showcase-grid { grid-template-columns: 1fr; }
  .private-grid { grid-template-columns: 1fr; }
  .private-panel { padding: 24px; }
}

/* Contact Page Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 64px 0 80px;
  position: relative;
  z-index: 10;
}
.contact-note h1 {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.8vw, 56px);
  font-weight: 400;
  color: #fff;
}
.contact-note p {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--paper-dim);
  line-height: 1.6;
}
.contact-direct-card {
  margin-top: 28px;
  padding: 22px;
  background: var(--ink-900);
  border: 1px solid var(--edge);
  border-left: 3px solid var(--iris-bright);
  border-radius: 8px;
}
.contact-direct-card .label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-direct-card .mail {
  display: block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--iris-bright);
}
.contact-direct-card .mail:hover { text-decoration: underline; }

.contact-form-box {
  padding: 32px;
  background: var(--ink-900);
  border: 1px solid var(--edge);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--ink-950);
  border: 1px solid var(--edge);
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
}
.form-group textarea {
  min-height: 130px;
  resize: vertical;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--iris-bright);
}

@media (max-width: 980px) {
  .contact-layout { grid-template-columns: 1fr; }
  .record-row {
    grid-template-columns: 36px 1fr;
    gap: 8px 12px;
  }
  .record-desc, .record-status { grid-column: 2 / -1; }
  .record-status { text-align: left; }
}




/* ==========================================================================
   Interactive Signal Map — Cause → Effect proof system
   Desktop: central hero proof piece. Phone: native full-width interaction.
   ========================================================================== */
.mobile-signal-map {
  position: relative;
  min-height: 472px;
  padding: 24px;
  border: 1px solid rgba(162, 142, 255, 0.34);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 46%, rgba(138, 112, 255, 0.16), transparent 43%),
    linear-gradient(165deg, rgba(20, 23, 38, 0.98) 0%, rgba(7, 9, 15, 0.99) 72%);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 42px rgba(138, 112, 255, 0.16);
  overflow: hidden;
}
.mobile-signal-map::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(162, 142, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(162, 142, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, black 14%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 14%, transparent 78%);
  pointer-events: none;
}
.mobile-signal-map::after {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  top: 48%;
  left: 49%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(16, 185, 129, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 48px rgba(16, 185, 129, 0.08), inset 0 0 48px rgba(138, 112, 255, 0.06);
  animation: map-aura-breathe 5.5s ease-in-out infinite;
  pointer-events: none;
}
.msm-top-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.msm-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px var(--mint), 0 0 24px rgba(16, 185, 129, 0.35);
  animation: pulse-glow 1.8s infinite ease-in-out;
}
.msm-kicker {
  color: var(--iris-bright);
  font-weight: 600;
}
.msm-hint {
  margin-left: auto;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.msm-flow-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(178px, 0.92fr) 52px minmax(215px, 1.08fr);
  gap: 12px;
  align-items: stretch;
  min-height: 356px;
}
.msm-column {
  min-width: 0;
}
.msm-col-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}

/* The Cause: three active, clickable business signals. */
.msm-inputs {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.msm-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px 13px;
  background: rgba(11, 14, 23, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.msm-node::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -52px;
  z-index: -1;
  width: 51px;
  height: 1px;
  opacity: 0;
  background: linear-gradient(90deg, var(--iris-bright), transparent);
  transform-origin: left;
}
.msm-node:hover,
.msm-node.is-active {
  background: rgba(138, 112, 255, 0.16);
  border-color: var(--iris-bright);
  box-shadow: 0 8px 22px rgba(138, 112, 255, 0.2);
  transform: translateX(4px);
}
.msm-node.is-active::after {
  opacity: 1;
  animation: map-current 1.45s ease-in-out infinite;
}
.msm-node strong {
  margin-top: 6px;
  font-size: 13px;
  color: var(--paper-dim);
  line-height: 1.25;
  transition: color 0.15s ease;
}
.msm-node.is-active strong { color: #fff; }
.msm-node small {
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
}

/* Connector: a live transformation moment between cause and effect. */
.msm-conduit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
}
.msm-conduit::before,
.msm-conduit::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  transform: translateX(-50%);
}
.msm-conduit::before {
  top: 8%;
  bottom: 8%;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.1), rgba(162, 142, 255, 0.8), rgba(16, 185, 129, 0.12));
  box-shadow: 0 0 12px rgba(162, 142, 255, 0.5);
}
.msm-conduit::after {
  top: 12%;
  height: 76%;
  background: linear-gradient(180deg, transparent 0%, var(--amber) 45%, var(--mint) 55%, transparent 100%);
  animation: map-energy-flow 3.2s ease-in-out infinite;
}
.msm-pulse-beam { display: none; }
.msm-operator-core {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.24), rgba(138, 112, 255, 0.26) 32%, rgba(8, 10, 16, 0.96) 72%);
  border: 1px solid var(--iris-bright);
  box-shadow: 0 0 0 7px rgba(138, 112, 255, 0.08), 0 0 24px var(--iris-glow), inset 0 0 18px rgba(16, 185, 129, 0.12);
  animation: map-core-pulse 2.9s ease-in-out infinite;
}
.core-spark {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
}
.core-spark small {
  font-size: 7px;
  color: var(--amber);
}

/* The Effect: one focused live outcome at a time. */
.msm-outputs {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.msm-target-card {
  display: none;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: 19px;
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.16), rgba(10, 18, 22, 0.92));
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4), inset 0 0 32px rgba(16, 185, 129, 0.08);
  animation: fade-in-scale 0.28s ease-out;
}
.msm-target-card.is-active { display: flex; }
.msm-target-card strong {
  margin: 9px 0 8px;
  font-size: 18px;
  line-height: 1.18;
  color: #fff;
}
.msm-target-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--paper-dim);
}

/* Shared capability badges. */
.msm-badge {
  display: inline-block;
  width: fit-content;
  padding: 3px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-red { background: rgba(239, 68, 68, 0.18); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.34); }
.badge-amber { background: rgba(245, 158, 11, 0.18); color: var(--amber); border: 1px solid rgba(245, 158, 11, 0.34); }
.badge-purple { background: rgba(168, 85, 247, 0.18); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.34); }
.badge-green { background: rgba(16, 185, 129, 0.18); color: var(--mint); border: 1px solid rgba(16, 185, 129, 0.34); }

/* On a desktop, the cause-and-effect map is the hero proof piece. */
@media (min-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(510px, 0.9fr);
    gap: clamp(38px, 5vw, 76px);
    align-items: center;
  }
  .mobile-signal-map { margin: 0; }
}

@media (min-width: 901px) {
  .hero-board { display: none; }
}

@media (min-width: 901px) and (max-width: 1099px) {
  .hero-grid { grid-template-columns: 1fr; }
  .mobile-signal-map { margin: 8px 0 0; }
}

/* Tablet and phone compress the map without turning it into a tiny desktop. */
@media (max-width: 900px) {
  .mobile-signal-map {
    min-height: 0;
    margin: 24px 0 28px;
    padding: 16px;
    border-radius: 12px;
  }
  .msm-top-bar {
    padding-bottom: 12px;
    margin-bottom: 14px;
    font-size: 10px;
  }
  .msm-flow-container {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    gap: 8px;
    min-height: 210px;
  }
  .msm-col-label {
    font-size: 8px;
    margin-bottom: 8px;
  }
  .msm-inputs { gap: 8px; }
  .msm-node { padding: 8px 9px; border-radius: 7px; }
  .msm-node strong { margin-top: 4px; font-size: 10.5px; }
  .msm-node small { font-size: 8px; }
  .msm-node::after { right: -28px; width: 27px; }
  .msm-node:hover, .msm-node.is-active { transform: translateX(2px); }
  .msm-conduit { min-height: 156px; }
  .msm-operator-core { width: 28px; height: 28px; box-shadow: 0 0 0 4px rgba(138, 112, 255, 0.08), 0 0 14px var(--iris-glow); }
  .core-spark { font-size: 7px; }
  .core-spark small { font-size: 5px; }
  .msm-target-card { padding: 11px; border-radius: 8px; }
  .msm-target-card strong { margin: 6px 0 4px; font-size: 12px; }
  .msm-target-card p { font-size: 10px; line-height: 1.4; }
  .msm-badge { padding: 2px 5px; font-size: 7px; }
}

/* Purpose-built phone hero spacing and header. */
@media (max-width: 540px) {
  .site-header { padding: 13px 0; }
  .brand-badge { gap: 9px; }
  .brand-name { white-space: nowrap; font-size: 14px; }
  .brand-sub { display: none; }
  .hero-section { padding: 40px 0 52px; }
  .hero-kicker { margin-bottom: 15px; font-size: 10px; }
  .hero-headline { font-size: clamp(42px, 12.3vw, 54px); line-height: 0.99; }
  .hero-lead { margin: 19px 0 25px; font-size: 16px; line-height: 1.58; }
  .hero-actions { gap: 11px; }
  .btn-primary, .btn-secondary { padding: 12px 18px; }
  .mobile-signal-map { margin-top: 27px; }
  .msm-hint { font-size: 8px; }
  .msm-flow-container { min-height: 202px; }
}

@keyframes fade-in-scale {
  from { opacity: 0; transform: scale(0.965); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes map-aura-breathe {
  50% { opacity: 0.5; transform: translate(-50%, -50%) scale(1.08); }
}
@keyframes map-current {
  0%, 100% { opacity: 0.22; transform: scaleX(0.4); }
  50% { opacity: 1; transform: scaleX(1); }
}
@keyframes map-energy-flow {
  0%, 100% { opacity: 0.2; transform: translateX(-50%) scaleY(0.35); }
  50% { opacity: 0.95; transform: translateX(-50%) scaleY(1); }
}
@keyframes map-core-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 7px rgba(138, 112, 255, 0.08), 0 0 24px var(--iris-glow), inset 0 0 18px rgba(16, 185, 129, 0.12); }
  50% { transform: scale(1.08); box-shadow: 0 0 0 12px rgba(138, 112, 255, 0.04), 0 0 34px rgba(162, 142, 255, 0.75), inset 0 0 22px rgba(16, 185, 129, 0.2); }
}


/* Clickable Flow Windows & Showcase Cards (Fix: ensure whole cards are easy to click) */
.flow-window.is-clickable,
.showcase-card.is-clickable {
  position: relative;
  cursor: pointer;
}
.window-hit-area,
.showcase-hit-area {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: block;
}
.window-link,
.showcase-link {
  position: relative;
  z-index: 9;
}
.flow-window.is-clickable:hover {
  border-color: var(--iris-bright);
}
.flow-window.is-clickable:focus-within,
.showcase-card.is-clickable:focus-within {
  outline: 2px solid var(--iris-bright);
  outline-offset: 3px;
}

/* Personal Story Section: Grounded, Quiet, Operator Mindset */
.personal-story-section {
  position: relative;
  z-index: 10;
  padding: 40px 0 60px;
}
.story-card {
  background: var(--ink-900);
  border: 1px solid var(--edge);
  border-radius: 14px;
  padding: 40px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}
.story-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--iris-bright), var(--mint), var(--amber));
  opacity: 0.85;
}
.story-header {
  max-width: 720px;
  margin-bottom: 32px;
}
.story-title {
  margin: 10px 0 0;
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.8vw, 44px);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
}
.story-lead {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--paper-dim);
}
.story-triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.story-column {
  background: rgba(7, 8, 13, 0.65);
  border: 1px solid var(--edge);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.story-column:hover {
  border-color: var(--edge-lit);
  background: rgba(13, 16, 23, 0.9);
}
.story-step-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--iris-bright);
  letter-spacing: 0.05em;
}
.story-col-title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}
.story-col-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper-dim);
}

@media (max-width: 900px) {
  .story-triptych {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .story-card {
    padding: 26px 20px;
  }
}
