/* ═══════════════════════════════════════════════════════════════
   mistwire.io — Shared Stylesheet
   Design System: Dark atmospheric, Apple-grade precision
   ═══════════════════════════════════════════════════════════════ */

/* ─── FONTS ──────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Rubik+Glitch&family=Inter:wght@300;400;500;600&display=swap');

/* ─── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand Colors */
  --mw-blue:         #4b84cd;
  --mw-blue-bright:  #5a96e8;
  --mw-blue-dim:     rgba(75,132,205,0.10);
  --mw-blue-glow:    rgba(75,132,205,0.20);
  --mw-blue-border:  rgba(75,132,205,0.28);

  /* Surfaces */
  --bg:   #0b0d14;
  --bg2:  #111520;
  --bg3:  #171d2e;
  --bg4:  #1d2438;

  /* Borders */
  --border:       rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --border-blue:  rgba(75,132,205,0.35);

  /* Typography */
  --text:  #eceef5;
  --text2: #8b92a5;
  --text3: #4f576a;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  10px;
  --radius-lg:  14px;
  --radius-xl:  18px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* All direct children of body sit above the mist overlay */
body > * { position: relative; z-index: 1; }

/* ─── NAVIGATION ──────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(11,13,20,0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition:
    background   0.5s var(--ease-out),
    backdrop-filter 0.5s var(--ease-out),
    border-color 0.5s var(--ease-out);
}
.nav.scrolled {
  background: rgba(11,13,20,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1000px; margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between; height: 56px;
}
.nav-logo {
  font-family: 'Rubik Glitch', cursive;
  font-size: 17px; font-weight: 400; color: var(--text);
  text-decoration: none; letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(75,132,205,0.25);
}
.nav-logo .io { color: var(--mw-blue); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 13px; color: var(--text2);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity   0.7s var(--ease-out),
    transform 0.7s var(--ease-out);
}
.reveal.visible        { opacity: 1; transform: translateY(0); }
.reveal-delay-1        { transition-delay: 0.10s; }
.reveal-delay-2        { transition-delay: 0.20s; }
.reveal-delay-3        { transition-delay: 0.30s; }
.reveal-delay-4        { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── LAYOUT CONTAINERS ──────────────────────────────────── */
.page-wrap {
  max-width: 1000px; margin: 0 auto; padding: 0 2.5rem;
}
.section {
  max-width: 1000px; margin: 0 auto; padding: 5.5rem 2.5rem;
}
.section-narrow {
  max-width: 860px;
}
.section-divider {
  border: none;
  border-top: none;
  margin: 0;
}

/* ─── PAGE HEADER (subpages) ────────────────────────────────── */
.page-header {
  position: relative; overflow: hidden;
  padding: 9rem 2.5rem 5.5rem;
}
.page-header-bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 800px 600px at 50% -80px,
    rgba(75,132,205,0.11) 0%, transparent 65%);
}
.page-header-inner {
  position: relative; max-width: 1000px; margin: 0 auto;
  text-align: center;
}
.page-header-inner h1 {
  font-size: clamp(38px, 6.5vw, 72px);
  max-width: none;
}
.page-header-inner .lead {
  max-width: 740px;
  margin-left: auto; margin-right: auto;
}
@media (max-width: 600px) {
  .page-header { padding: 8rem 1.25rem 3rem; }
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--mw-blue); font-weight: 500; margin-bottom: 1.25rem;
}
.eyebrow.with-rules::before,
.eyebrow.with-rules::after {
  content: ''; display: block; width: 24px; height: 1px;
  background: var(--mw-blue-border);
}
.section-label {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text3); font-weight: 500; margin-bottom: 1.25rem;
}
h1 {
  font-size: clamp(34px, 5.5vw, 60px);
  font-weight: 500; color: var(--text);
  line-height: 1.1; margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}
h2 {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500; color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em; line-height: 1.2;
}
h3 {
  font-size: 18px; font-weight: 500; color: var(--text);
  margin-bottom: 0.5rem; letter-spacing: -0.01em;
}
.lead {
  font-size: 17px; line-height: 1.85; color: var(--text2);
  max-width: 640px; margin-bottom: 2rem;
}
.section-lead {
  font-size: 16px; line-height: 1.85; color: var(--text2);
  max-width: 620px; margin-bottom: 2.5rem;
}
p {
  font-size: 15px; line-height: 1.85; color: var(--text2);
  margin-bottom: 1rem;
}
p:last-child { margin-bottom: 0; }
em.accent { font-style: normal; color: var(--text); font-weight: 500; }
h1 em, h2 em { font-style: normal; color: var(--mw-blue); }

/* ─── TAG / BADGE ────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-size: 10px; letter-spacing: 0.10em; text-transform: uppercase;
  font-weight: 500; color: var(--mw-blue);
  background: var(--mw-blue-dim); border: 1px solid var(--mw-blue-border);
  border-radius: var(--radius-sm); padding: 2px 9px;
}
.tag-neutral {
  color: var(--text3); background: var(--bg3);
  border-color: var(--border); font-size: 11px; padding: 3px 10px;
}

/* ─── SECTION LINK ──────────────────────────────────────── */
.section-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--mw-blue);
  text-decoration: none;
  transition: gap 0.2s var(--ease-out);
}
.section-link:hover { gap: 10px; }

/* ─── CARDS ─────────────────────────────────────────────── */
.card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition:
    border-color 0.3s,
    background   0.3s,
    transform    0.3s var(--ease-out),
    box-shadow   0.3s;
}
.card:hover {
  border-color: var(--mw-blue-border);
  background: var(--bg3);
  transform: translateY(-3px);
  box-shadow: 0 8px 36px rgba(75,132,205,0.10), 0 2px 8px rgba(0,0,0,0.5);
}
.card-flush {
  padding: 0; overflow: hidden;
}

/* ─── PROBLEM GRID ──────────────────────────────────────── */
.problem-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; margin: 2rem 0;
}
.problem-cell {
  background: var(--bg2); padding: 1.75rem;
  transition: background 0.2s;
}
.problem-cell:hover { background: var(--bg3); }
.problem-icon { font-size: 18px; margin-bottom: 0.75rem; opacity: 0.6; }
.problem-title { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 0.5rem; }
.problem-body  { font-size: 13px; line-height: 1.75; color: var(--text2); margin: 0; }

/* ─── AUDIENCE GRID ─────────────────────────────────────── */
.audience-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin: 2rem 0;
}
.audience-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease-out);
}
.audience-card:hover {
  border-color: var(--mw-blue-border); background: var(--bg3);
  transform: translateY(-2px);
}
.audience-desc { font-size: 13px; line-height: 1.75; color: var(--text2); margin: 0.6rem 0 0; }

/* ─── PRODUCT CARDS ─────────────────────────────────────── */
.suite-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin: 2rem 0;
}
.suite-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition:
    border-color 0.3s,
    background   0.3s,
    transform    0.3s var(--ease-out),
    box-shadow   0.3s;
}
.suite-card:hover {
  border-color: var(--mw-blue-border); background: var(--bg3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(75,132,205,0.12), 0 2px 8px rgba(0,0,0,0.5);
}
.suite-name { font-size: 15px; font-weight: 500; color: var(--text); margin: 0.6rem 0 0.4rem; }
.suite-desc { font-size: 13px; line-height: 1.75; color: var(--text2); margin: 0 0 1rem; }

/* Stage indicator */
.stage-indicator {
  display: flex; align-items: center; gap: 7px;
  font-size: 11px; color: var(--text3);
}
.stage-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.stage-dot.active {
  background: var(--mw-blue);
  box-shadow: 0 0 8px rgba(75,132,205,0.6);
}
.stage-dot.upcoming {
  background: transparent;
  border: 1.5px solid var(--text3);
}

/* ─── STAGE TRACK ────────────────────────────────────────── */
.stage-section {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; margin: 2rem 0;
}
.stage-row {
  display: flex; gap: 1.5rem; padding: 1.5rem 1.75rem;
  border-bottom: 1px solid var(--border); align-items: flex-start;
  transition: background 0.2s;
}
.stage-row:last-child { border-bottom: none; }
.stage-row:hover { background: var(--bg3); }
.stage-marker {
  display: flex; flex-direction: column;
  align-items: center; min-width: 36px;
  padding-top: 3px; gap: 6px;
}
.stage-m-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
}
.stage-m-dot.active   { background: var(--mw-blue); box-shadow: 0 0 10px rgba(75,132,205,0.6); }
.stage-m-dot.upcoming { background: transparent; border: 1.5px solid var(--text3); }
.stage-m-lbl { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); }
.stage-content-title { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 0.35rem; }
.stage-content-body  { font-size: 13px; line-height: 1.7; color: var(--text2); margin: 0; }

/* ─── CREDENTIAL BAR ─────────────────────────────────────── */
.cred-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 3rem; }
.cred-badge {
  display: flex; align-items: center; gap: 14px;
  background: var(--mw-blue-dim); border: 1px solid var(--mw-blue-border);
  border-radius: var(--radius-md); padding: 0.9rem 1.5rem;
  flex: 1; min-width: 220px;
}
.cred-label { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mw-blue); white-space: nowrap; }
.cred-sep   { width: 1px; height: 24px; background: var(--mw-blue-border); }
.cred-text  { font-size: 12px; color: var(--text2); }

/* ─── PATENT / NOTICE BAR ────────────────────────────────── */
.notice-bar {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--mw-blue-dim); border: 1px solid var(--mw-blue-border);
  border-radius: var(--radius-md); padding: 1rem 1.5rem; margin-top: 1rem;
}
.notice-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mw-blue); white-space: nowrap; padding-top: 1px; }
.notice-text  { font-size: 13px; color: var(--text2); line-height: 1.65; }

/* ─── PULL QUOTE ─────────────────────────────────────────── */
.pull-quote {
  border-left: 2px solid var(--mw-blue-border);
  padding-left: 1.25rem; margin: 1.25rem 0;
}
.pull-quote p { font-size: 15px; line-height: 1.85; color: var(--text2); font-style: italic; }

/* ─── VALUE BLOCKS ──────────────────────────────────────── */
.value-block { margin-bottom: 3rem; }
.value-header { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 1rem; }
.value-num { font-size: 11px; font-weight: 500; color: var(--mw-blue); letter-spacing: 0.05em; min-width: 22px; }
.value-body { font-size: 15px; line-height: 1.85; color: var(--text2); max-width: 720px; }
.value-body + .value-body { margin-top: 0.85rem; }
.value-note { font-size: 13px; line-height: 1.7; color: var(--text3); margin-top: 0.75rem; }

/* ─── CLOSING BLOCK ─────────────────────────────────────── */
.closing {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  margin-top: 3rem;
}
.closing p { font-size: 16px; line-height: 1.85; color: var(--text2); }
.closing p + p { margin-top: 1rem; }

/* ─── TEAM CARD ─────────────────────────────────────────── */
.team-card {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 2.25rem;
  transition: border-color 0.3s, box-shadow 0.3s; margin: 2rem 0;
}
.team-card:hover {
  border-color: var(--mw-blue-border);
  box-shadow: 0 12px 48px rgba(75,132,205,0.08);
}
.team-name { font-size: 22px; font-weight: 500; color: var(--text); margin-bottom: 0.2rem; letter-spacing: -0.015em; }
.team-role { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mw-blue); font-weight: 500; margin-bottom: 1.25rem; }
.team-bio  { font-size: 15px; line-height: 1.85; color: var(--text2); margin-bottom: 1.5rem; max-width: 680px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.5rem; }

/* ─── EXPERIENCE TIMELINE ────────────────────────────────── */
.timeline { margin: 2rem 0; }
.timeline-item {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 2rem; padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-date {
  font-size: 12px; color: var(--text3); padding-top: 3px;
  letter-spacing: 0.02em;
}
.timeline-org { font-size: 13px; font-weight: 600; color: var(--mw-blue); letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 0.25rem; }
.timeline-title { font-size: 15px; font-weight: 500; color: var(--text); margin-bottom: 0.4rem; }
.timeline-body  { font-size: 13px; line-height: 1.75; color: var(--text2); }
.timeline-body li { margin-left: 1.2em; margin-bottom: 0.3rem; }

/* ─── CRED GRID ─────────────────────────────────────────── */
.cred-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; margin: 2rem 0;
}
.cred-cell {
  background: var(--bg2); padding: 1.5rem;
  transition: background 0.2s;
}
.cred-cell:hover { background: var(--bg3); }
.cred-cell-label { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mw-blue); margin-bottom: 0.35rem; }
.cred-cell-value { font-size: 14px; font-weight: 500; color: var(--text); margin-bottom: 0.25rem; }
.cred-cell-sub   { font-size: 12px; color: var(--text3); }

/* ─── CTA BUTTONS ────────────────────────────────────────── */
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  font-size: 14px; font-weight: 500; color: #fff;
  background: var(--mw-blue); border: none;
  border-radius: var(--radius-sm); padding: 0.65rem 1.5rem;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--mw-blue-bright);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(75,132,205,0.40);
}
.btn-secondary {
  font-size: 14px; color: var(--text2);
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.65rem 1.5rem;
  text-decoration: none; cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.2s var(--ease-out);
}
.btn-secondary:hover {
  color: var(--text); border-color: var(--border-hover);
  background: var(--bg2); transform: translateY(-1px);
}

/* ─── SVG DIAGRAM STYLES ─────────────────────────────────── */
.diagram-wrap {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem 1.5rem;
  margin: 1.5rem 0 2rem; overflow: hidden;
}
.diagram-caption { font-size: 12px; color: var(--text3); text-align: center; margin-top: 1rem; }
.svgt  { font-family: 'Inter', system-ui, sans-serif; font-size: 13px; fill: #eceef5; }
.svgts { font-family: 'Inter', system-ui, sans-serif; font-size: 11px; fill: #8b92a5; }
.svgth { font-family: 'Inter', system-ui, sans-serif; font-size: 13px; font-weight: 500; fill: #eceef5; }
.svgblue { font-family: 'Inter', system-ui, sans-serif; font-size: 11px; fill: #4b84cd; }
.svgred  { font-family: 'Inter', system-ui, sans-serif; font-size: 11px; fill: #e06060; }

/* ─── PRINCIPLE ROWS ─────────────────────────────────────── */
.principle-row { display: flex; gap: 1.25rem; margin-bottom: 1.5rem; align-items: flex-start; }
.principle-num { font-size: 11px; font-weight: 500; color: var(--mw-blue); min-width: 22px; padding-top: 3px; letter-spacing: 0.05em; }
.principle-text { font-size: 15px; line-height: 1.75; color: var(--text2); }
.principle-text strong { font-weight: 500; color: var(--text); }

/* ─── DECORATIVE VISUAL ELEMENTS ────────────────────────────── */
.circuit-divider {
  max-width: 1000px; margin: 0 auto; padding: 0 2.5rem;
}
.circuit-divider svg { display: block; width: 100%; height: 40px; }

.section-visual {
  max-width: 1000px; margin: 2.5rem auto; padding: 0 2.5rem;
  opacity: 0.4;
}
.section-visual svg { display: block; width: 100%; }

.rotation-glyph {
  text-align: center; margin: 2.5rem 0; opacity: 0.3;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }

.hex-bg { position: relative; }
.hex-bg::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52'%3E%3Cpath d='M30 0L60 15v22L30 52 0 37V15z' fill='none' stroke='%234b84cd' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 60px 52px; background-repeat: repeat;
  opacity: 0.025; pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   ATMOSPHERE SYSTEM
   Index: cinematic fog blobs + lightning canvas + scroll reveals
   Subpages: light animated CSS fog (no canvas, no lightning)
   ═══════════════════════════════════════════════════════════════ */

/* ─── INDEX: Cinematic fog blobs ─────────────────────────────── */
.fog-blob {
  position: fixed; z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  will-change: transform, opacity;
  transition: filter 0.15s ease-out;
}
/* Large deep blue mass — upper left, dominant */
.fog-blob-1 {
  width: 70vw; height: 60vh;
  background: radial-gradient(ellipse at center, rgba(35,60,120,0.7) 0%, rgba(20,35,80,0.3) 40%, transparent 70%);
  filter: blur(60px);
  top: -5%; left: 0%;
}
/* Dark purple mass — right side */
.fog-blob-2 {
  width: 55vw; height: 70vh;
  background: radial-gradient(ellipse at center, rgba(40,25,75,0.65) 0%, rgba(25,18,55,0.25) 40%, transparent 70%);
  filter: blur(70px);
  top: 15%; right: -5%;
}
/* Wide blue band — center-bottom */
.fog-blob-3 {
  width: 90vw; height: 45vh;
  background: radial-gradient(ellipse at center, rgba(30,50,100,0.5) 0%, rgba(18,30,65,0.15) 45%, transparent 70%);
  filter: blur(80px);
  bottom: 5%; left: 5%;
}
/* Deep purple accent — mid-right */
.fog-blob-4 {
  width: 45vw; height: 55vh;
  background: radial-gradient(ellipse at center, rgba(50,30,90,0.55) 0%, rgba(30,20,60,0.2) 40%, transparent 70%);
  filter: blur(55px);
  top: 40%; right: 10%;
}
/* Bright blue highlight — smaller, brighter, drifts through */
.fog-blob-5 {
  width: 40vw; height: 35vh;
  background: radial-gradient(ellipse at center, rgba(50,80,150,0.6) 0%, rgba(30,50,110,0.2) 40%, transparent 65%);
  filter: blur(50px);
  top: 10%; left: 30%;
}

/* Blob animations driven by JS — see initFog() in mistwire.js */

/* Haze layer — sits above blobs, diffuses their light into fog */
.fog-haze {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  background: rgba(11,13,20,0.35);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
}
/* Noise texture overlay — breaks up smooth gradients into organic shapes */
.fog-noise {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* Lightning canvas overlay — index only */
#lightning-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none;
  width: 100%; height: 100%;
}

/* ─── SUBPAGES: Light animated fog ───────────────────────────── */
.fog-light {
  position: fixed; z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(140px);
  mix-blend-mode: screen;
}
.fog-light-1 {
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(25,38,75,0.25) 0%, transparent 70%);
  top: -10%; left: -5%;
  animation: fogLightDrift1 55s ease-in-out infinite alternate;
}
.fog-light-2 {
  width: 600px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(20,16,45,0.2) 0%, transparent 70%);
  top: 30%; right: -10%;
  animation: fogLightDrift2 65s ease-in-out infinite alternate;
}
.fog-light-3 {
  width: 900px; height: 400px;
  background: radial-gradient(ellipse at center, rgba(22,32,65,0.18) 0%, transparent 65%);
  bottom: 5%; left: 20%;
  animation: fogLightDrift3 70s ease-in-out infinite alternate;
}

@keyframes fogLightDrift1 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(50px, 40px) scale(1.06); }
}
@keyframes fogLightDrift2 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-40px, -30px) scale(1.08); }
}
@keyframes fogLightDrift3 {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -20px) scale(1.04); }
}

/* ─── SCROLL REVEAL UPGRADES ─────────────────────────────────── */
/* Cinematic text reveal — lines slide up with stagger + blur    */
.reveal-line {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(4px);
  transition:
    opacity   0.8s var(--ease-out),
    transform 0.8s var(--ease-out),
    filter    0.8s var(--ease-out);
}
.reveal-line.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Staggered delays for child elements */
.reveal-stagger > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > *:nth-child(6) { transition-delay: 0.40s; }

/* Section parallax depth — applied via JS scroll */
.parallax-section {
  will-change: transform;
  transition: transform 0.1s linear;
}

@media (prefers-reduced-motion: reduce) {
  .fog-blob, .fog-light { animation: none; }
  #lightning-canvas { display: none; }
  .reveal-line { opacity: 1; transform: none; filter: none; transition: none; }
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer { border-top: 1px solid var(--border); margin-top: 4rem; }
.footer-inner {
  max-width: 1000px; margin: 0 auto; padding: 2.5rem;
  display: flex; justify-content: space-between;
  align-items: flex-start; flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo {
  font-family: 'Rubik Glitch', cursive;
  font-size: 16px; font-weight: 400; color: var(--text2);
  letter-spacing: 0.02em;
  text-shadow: 0 0 14px rgba(75,132,205,0.20);
}
.footer-logo .io { color: var(--mw-blue); }
.footer-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: var(--text3); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--text2); }
.footer-copy { width: 100%; font-size: 12px; color: var(--text3); }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .section        { padding: 3.5rem 1.25rem; }
  .suite-grid     { grid-template-columns: 1fr; }
  .audience-grid  { grid-template-columns: 1fr; }
  .problem-grid   { grid-template-columns: 1fr; }
  .cred-grid      { grid-template-columns: 1fr; }
  .nav-inner      { padding: 0 1.25rem; }
  .footer-inner   { padding: 2rem 1.25rem; }
  .timeline-item  { grid-template-columns: 1fr; gap: 0.35rem; }
  .timeline-date  { font-size: 11px; }
}
@media (max-width: 480px) {
  .nav-links { gap: 1.25rem; }
  .nav-links a { font-size: 12px; }
}
/* cache bust 1775696192 */
/* bust2 */
