/* ── Tokens ──────────────────────────────────────────────────────── */
:root {
  /* Light theme — warm ivory + copper */
  --bg:          #F6F4ED;   /* warm ivory page */
  --bg-2:        #FFFFFF;   /* raised panels */
  --bg-3:        #F0EDE2;   /* soft band (rhythm) */
  --fg:          #1C1B17;   /* warm near-black */
  --fg-soft:     #6E6B61;   /* warm grey */
  --fg-dim:      #9C998D;
  --border:      #E5E1D5;
  --border-2:    #D8D2C4;
  --card:        #FFFFFF;
  --card-hover:  #FBFAF4;

  /* accent */
  --accent:      #44806B;   /* copper */
  --accent-2:    #6BAE92;   /* amber */
  --accent-3:    #356152;   /* bronze */
  --transparent: rgba(246,244,237,0);

  --maxw:   1140px;
  --radius: 18px;
  --ease:   cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 16px 40px rgba(28,27,23,0.08);
  --shadow-lg: 0 28px 60px rgba(28,27,23,0.13);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
.center { text-align: center; }

/* ── Type ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { color: var(--fg); font-weight: 800; line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.6rem, 6.6vw, 4.8rem); }
h2.display { font-size: clamp(2rem, 4.6vw, 3.3rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: 14px; }
h3 { font-size: 1.32rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
h4 { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 8px; }
p  { color: var(--fg-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow.center { justify-content: center; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(68,128,107,0.16); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 3px rgba(68,128,107,0.20); } 50% { box-shadow: 0 0 0 7px rgba(68,128,107,0); } }

.section-lede { font-size: 1.18rem; color: var(--fg-soft); line-height: 1.7; }
.center.section-lede, .section-lede.center { margin: 16px auto 0; max-width: 640px; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--fg); color: #fff;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:focus-visible { outline: 3px solid rgba(68,128,107,0.55); outline-offset: 2px; }
.btn-grad { background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent) 100%); color: #fff; box-shadow: 0 8px 22px rgba(68,128,107,0.30); }
.btn-grad:hover { box-shadow: 0 14px 32px rgba(68,128,107,0.42); }
.btn-sm { padding: 9px 18px; font-size: 0.92rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--bg-2); border-color: var(--fg); box-shadow: none; }

/* ── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
/* nav spans the full viewport (logo to the edge), while page content stays centered */
.nav .container { max-width: none; padding-inline: clamp(24px, 4vw, 60px); }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.3rem; color: var(--fg); text-decoration: none; letter-spacing: -0.04em; }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; }
.brand-img { display: block; width: 42px; height: 42px; object-fit: contain; }
.footer .brand-img { width: 34px; height: 34px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: rgba(28,27,23,0.72); text-decoration: none; font-weight: 600; font-size: 0.96rem; transition: color 0.18s; }
.nav-links a:not(.btn):hover { color: var(--fg); }
.nav-links a:focus-visible { outline: 3px solid rgba(68,128,107,0.55); outline-offset: 3px; border-radius: 5px; }
/* scrolled past the dark hero → warm glass + dark text */
.nav.scrolled { background: rgba(246,244,237,0.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom-color: var(--border); }
.nav.scrolled .brand { color: var(--fg); }
.nav.scrolled .nav-links a:not(.btn) { color: rgba(28,27,23,0.72); }
.nav.scrolled .nav-links a:not(.btn):hover { color: var(--fg); }

/* ── Glow blobs (subtle warm vignette) ───────────────────────────── */
.glow { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: 0.35; }
.glow-c { width: 620px; height: 420px; top: -120px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(107,174,146,0.5), transparent 68%); }
.glow-d { width: 640px; height: 380px; bottom: -200px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(68,128,107,0.45), transparent 68%); }

/* ── Section bg helpers ──────────────────────────────────────────── */
.dark { position: relative; overflow: hidden; }

/* ════════════════════════════════════════════════════════════════════
   HERO — converging data streams + cinematic reveal (light)
   ════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden; text-align: left;
  display: flex; align-items: center; min-height: clamp(560px, 78vh, 760px);
  padding: clamp(140px, 18vw, 196px) 0 clamp(80px, 11vw, 130px);
  background: var(--bg);
}
.hero-bg {
  position: absolute; top: -24%; left: -14%; right: -14%; height: 150%;
  background: url('hero-voss.jpg') center / cover no-repeat;
  transform: translateY(var(--py, 0)) rotate(-3deg) scale(1.2);
  transform-origin: center; opacity: 0.92;
  will-change: transform; z-index: 0;
}
/* light ivory veil — heavier on the left for legible dark text, fading to reveal the mesh on the right */
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    linear-gradient(90deg, rgba(246,244,237,0.94) 0%, rgba(246,244,237,0.74) 42%, rgba(246,244,237,0.32) 66%, rgba(246,244,237,0) 86%),
    linear-gradient(0deg, rgba(246,244,237,0.55) 0%, rgba(246,244,237,0) 30%);
}

/* fine grid that fades out toward edges */
.grid-fade {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(28,27,23,0.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(28,27,23,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 28%, transparent 72%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 28%, transparent 72%);
  pointer-events: none;
}

/* ── Converging data streams ──────────────────────────────────────── */
.hero-stream {
  position: absolute; top: clamp(16px, 4vw, 64px); left: 50%;
  width: min(1100px, 96vw);
  transform: translateX(-50%);
  pointer-events: none; z-index: 1;
  -webkit-mask-image: linear-gradient(to bottom, #000 68%, transparent);
  mask-image: linear-gradient(to bottom, #000 68%, transparent);
  animation: stream-in 1.7s var(--ease) backwards;
}
.stream-svg { width: 100%; height: auto; display: block; overflow: visible; }

/* soft warm bloom at the convergence node */
.stream-glow {
  position: absolute; top: 50%; left: 50%;
  width: clamp(220px, 26vw, 360px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle,
              rgba(68,128,107,0.30) 0%,
              rgba(107,174,146,0.16) 40%,
              transparent 66%);
  filter: blur(34px);
  animation: stream-breathe 6.5s ease-in-out infinite;
}

/* messy incoming streams — flowing "data packets" */
.streams-msg path {
  fill: none; stroke: url(#msgGrad); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 5 11;
  animation: stream-flow 2.2s linear infinite;
}
@keyframes stream-flow { to { stroke-dashoffset: -16; } }

/* ordered, mastered output — clean solid rows */
.streams-ord path {
  fill: none; stroke: url(#ordGrad); stroke-width: 2.2; stroke-linecap: round;
  opacity: 0.9;
}

/* convergence node */
.stream-node { transform-box: fill-box; transform-origin: center; animation: node-pulse 2.8s ease-in-out infinite; }

@keyframes stream-in {
  from { opacity: 0; filter: blur(6px); }
  to   { opacity: 1; filter: none; }
}
@keyframes stream-breathe {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.1); }
}
@keyframes node-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.9; }
  50%      { transform: scale(1.35); opacity: 1; }
}

.hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { margin: 0; color: var(--fg); }
.hero .lede { color: var(--fg-soft); font-size: 1.28rem; max-width: 600px; margin: 26px 0 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-start; }
.hero .btn-ghost { background: transparent; color: var(--fg); border-color: var(--border-2); }
.hero .btn-ghost:hover { background: var(--bg-2); border-color: var(--fg); }

/* ── Trust strip ─────────────────────────────────────────────────── */
.strip { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 34px 0; }
.trust-kicker { text-align: center; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-dim); margin-bottom: 16px; }
.trust-points { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 22px; font-size: 1.04rem; color: var(--fg-soft); }
.trust-points strong { color: var(--fg); font-weight: 700; }
.trust-points .sep { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--border-2); }

/* ── Sections ────────────────────────────────────────────────────── */
.section { padding: clamp(76px, 11vw, 132px) 0; position: relative; }
.section-soft { background: var(--bg-3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 60px; }

/* ── Cards (Solutions) ───────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; position: relative; z-index: 2; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 32px; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--border-2); }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 14px; color: var(--accent); background: rgba(68,128,107,0.10); border: 1px solid rgba(68,128,107,0.22); }

/* ── Alternating feature rows (Loom-style: visual one side, copy the other) ── */
.features { display: flex; flex-direction: column; gap: clamp(48px, 8vw, 100px); }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature:nth-child(even) .feature-visual { order: 2; }   /* flip visual to the right every other row */
.feature-copy { max-width: 470px; }
.feature-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 13px; color: var(--accent); background: rgba(68,128,107,0.10); border: 1px solid rgba(68,128,107,0.22); }
.feature-copy h3 { font-size: clamp(1.4rem, 2.4vw, 1.95rem); line-height: 1.15; margin-bottom: 14px; }
.feature-copy p { font-size: 1.05rem; line-height: 1.7; }
.feature-visual { display: flex; align-items: center; justify-content: center; min-height: 250px; padding: clamp(24px, 3.4vw, 38px); background: var(--card); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); }
.mock { width: 100%; }

/* visual 1 — semantic field mapping */
.mock-semantic { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(10px, 2vw, 22px); }
.mock-col { display: flex; flex-direction: column; gap: 10px; }
.mock-head { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.11em; color: var(--fg-dim); margin-bottom: 2px; }
.chip { padding: 9px 12px; border-radius: 9px; font-size: 0.86rem; font-weight: 600; border: 1px solid var(--border); }
.chip.raw { background: var(--bg-3); color: var(--fg-soft); font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.8rem; }
.chip.term { background: rgba(68,128,107,0.10); color: var(--accent); border-color: rgba(68,128,107,0.25); }
.mock-arrow { color: var(--accent); display: flex; align-items: center; }

/* visual 2 — mastering lifecycle */
.mock-flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.flow-step { padding: 11px 16px; border-radius: 11px; background: var(--bg-3); border: 1px solid var(--border); font-size: 0.88rem; font-weight: 700; color: var(--fg); }
.flow-step.is-active { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(68,128,107,0.32); }
.flow-arrow { color: var(--accent); font-weight: 700; }

/* visual 3 — DQ rules panel */
.mock-dq { display: flex; flex-direction: column; gap: 10px; }
.dq-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 15px; border-radius: 11px; background: var(--bg-3); border: 1px solid var(--border); font-size: 0.9rem; }
.dq-name { font-weight: 600; color: var(--fg); }
.dq-badge { flex-shrink: 0; font-size: 0.74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.dq-badge.pass { color: var(--fg-soft); background: var(--bg-2); border: 1px solid var(--border); }
.dq-badge.fix { color: #fff; background: var(--accent); }

/* DQ rows animate in as the row reveals */
.mock-dq .dq-row { opacity: 0; transform: translateY(8px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.feature.in .mock-dq .dq-row { opacity: 1; transform: none; }
.feature.in .mock-dq .dq-row:nth-child(1) { transition-delay: 0.15s; }
.feature.in .mock-dq .dq-row:nth-child(2) { transition-delay: 0.28s; }
.feature.in .mock-dq .dq-row:nth-child(3) { transition-delay: 0.41s; }
.feature.in .mock-dq .dq-row:nth-child(4) { transition-delay: 0.54s; }
.feature.in .mock-dq .dq-badge.fix { animation: badgePop 0.5s var(--ease) 0.72s backwards; }
@keyframes badgePop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.12); } 100% { transform: scale(1); opacity: 1; } }

/* Pipeline "Match" step gently pulses */
.flow-step.is-active { animation: matchPulse 2.6s ease-in-out infinite; }
@keyframes matchPulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(68,128,107,0.30); }
  50% { box-shadow: 0 8px 28px rgba(68,128,107,0.62); transform: translateY(-1px); }
}

/* ── Numbered section labels + accent rule under headings ── */
.eyebrow-num { font-weight: 800; color: var(--accent); }
.eyebrow-num::after { content: "/"; margin: 0 6px 0 8px; opacity: 0.45; font-weight: 600; }
.section-head h2.display::after { content: ""; display: block; width: 52px; height: 3px; margin: 20px auto 0; border-radius: 2px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); }

/* ── How We Work — process timeline ── */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
/* container is only a scroll trigger — don't fade it (the steps fade themselves) */
.process.reveal { opacity: 1; transform: none; }
/* connector line draws in left→right when the section reveals */
.process::before { content: ""; position: absolute; top: 30px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, transparent, var(--border-2) 16%, var(--border-2) 84%, transparent); z-index: 0; transform: scaleX(0); transform-origin: left center; transition: transform 1.1s var(--ease) 0.15s; }
.process.in::before { transform: scaleX(1); }
/* a slow progress dot travels the line — data flowing through the process */
.process::after { content: ""; position: absolute; top: 30px; left: 12.5%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(68,128,107,0.18); opacity: 0; z-index: 0; }
.process.in::after { animation: flowDot 5s ease-in-out 1.3s infinite; }
@keyframes flowDot { 0% { left: 12.5%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 87.5%; opacity: 0; } }
.step { position: relative; z-index: 1; text-align: center; }
.step-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 16px; color: var(--accent); background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform 0.22s var(--ease), border-color 0.22s var(--ease); }
.step:hover .step-icon { transform: translateY(-4px); border-color: var(--accent); }
.step-num { display: block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 7px; }
.step h3 { font-size: 1.22rem; margin-bottom: 9px; }
.step p { font-size: 0.97rem; line-height: 1.6; max-width: 240px; margin: 0 auto; }

/* ── Capabilities (warm soft band) ───────────────────────────────── */
.band-dark { padding: clamp(80px, 11vw, 130px) 0; background: var(--bg-3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 2; }
.cap { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 28px; transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease); }
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-2); }
.cap-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 12px; color: var(--accent); background: rgba(68,128,107,0.10); border: 1px solid rgba(68,128,107,0.22); }
.cap p { font-size: 0.98rem; }

/* ── Accelerator graph — 5 nodes wire into 1 foundation hub ── */
.graph { position: relative; max-width: 960px; margin: 8px auto 0; aspect-ratio: 1000 / 600; }
.graph-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.graph .node:not(.hub) { cursor: pointer; }
.edge { fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.7s var(--ease); vector-effect: non-scaling-stroke; }
.graph.in .edge { stroke-dashoffset: 0; }
.graph.in .edge:nth-child(1) { transition-delay: 0.30s; }
.graph.in .edge:nth-child(2) { transition-delay: 0.40s; }
.graph.in .edge:nth-child(3) { transition-delay: 0.50s; }
.graph.in .edge:nth-child(4) { transition-delay: 0.60s; }
.graph.in .edge:nth-child(5) { transition-delay: 0.70s; }
.hub-glow { opacity: 0; transition: opacity 0.8s var(--ease) 0.1s; }
.graph.in .hub-glow { opacity: 1; }

/* node anchored by its chip center; label + hover-description float on the outward side */
.node { position: absolute; width: 92px; height: 92px; transform: translate(-50%, -50%) scale(0.6); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.45s var(--ease); }
.graph.in .node { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.node-chip { display: flex; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius: 21px; background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--accent); transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease); }
.node-chip svg { width: 38px; height: 38px; }
.node:hover .node-chip, .node.open .node-chip { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-lg); }
.node-label { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 0.95rem; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; line-height: 1.25; text-align: center; }
.node.label-top .node-label { bottom: calc(100% + 9px); }
.node.label-bottom .node-label { top: calc(100% + 9px); }
.node-sub { display: block; margin-top: 2px; font-size: 0.82rem; font-weight: 600; color: var(--fg-soft); }
/* hover description card */
.node-desc { position: absolute; left: 50%; width: 244px; padding: 14px 17px; transform: translateX(-50%) translateY(4px); background: var(--card); border: 1px solid var(--border); border-radius: 13px; box-shadow: var(--shadow-lg); font-size: 0.92rem; font-weight: 500; color: var(--fg-soft); line-height: 1.5; text-align: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); z-index: 5; }
.node.label-top .node-desc { bottom: calc(100% + 36px); }
.node.label-bottom .node-desc { top: calc(100% + 36px); }
.node:hover, .node.open { z-index: 20; }
.node:hover .node-desc, .node.open .node-desc { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.node.hub { width: 122px; height: 122px; z-index: 2; }
.node.hub .node-chip { width: 122px; height: 122px; border-radius: 30px; background: #fff; border: 2px solid rgba(68,128,107,0.35); box-shadow: 0 14px 40px rgba(68,128,107,0.30); }
.node.hub .node-chip svg { width: 52px; height: 52px; }
.node.hub .node-chip .hub-logo { width: 64px; height: 64px; object-fit: contain; display: block; }
.node.hub .node-label { font-size: 1.08rem; }

/* stagger: hub pops first, edges draw outward, then accelerator nodes land at the ends */
.graph.in .node:nth-child(7) { transition-delay: 0.05s; }  /* hub */
.graph.in .node:nth-child(2) { transition-delay: 0.85s; }
.graph.in .node:nth-child(3) { transition-delay: 0.95s; }
.graph.in .node:nth-child(4) { transition-delay: 1.05s; }
.graph.in .node:nth-child(5) { transition-delay: 1.15s; }
.graph.in .node:nth-child(6) { transition-delay: 1.25s; }

/* ── About ───────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; }
.about-copy .section-lede + .section-lede { margin-top: 1.1em; }
.about-copy .note { margin-top: 18px; font-size: 0.92rem; color: var(--fg-dim); font-style: italic; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; text-align: center; }
.stat-num { display: block; font-size: 2.5rem; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; background: linear-gradient(135deg, var(--accent-2), var(--accent-3)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { display: block; margin-top: 6px; font-size: 0.9rem; color: var(--fg-soft); font-weight: 500; }

/* ── CTA ─────────────────────────────────────────────────────────── */
.cta { padding: clamp(90px, 12vw, 140px) 0; background: radial-gradient(120% 100% at 50% 120%, #FBFAF5 0%, var(--bg) 60%); }
.cta-inner { position: relative; z-index: 2; }
.cta-inner .btn { margin-top: 30px; }
.cta-sub { margin-top: 20px; font-size: 0.96rem; color: var(--fg-soft); }
.cta-sub a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* ── Footer ──────────────────────────────────────────────────────── */
.footer { background: var(--bg); color: var(--fg-soft); padding: 32px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.brand-light { color: var(--fg); font-size: 1.2rem; }
.muted { font-size: 0.9rem; }

/* ── Reveal ──────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 920px) {
  .cards, .cap-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  /* stack feature rows: visual always on top */
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature:nth-child(even) .feature-visual { order: 0; }
  .feature-copy { max-width: none; }
  .process { grid-template-columns: 1fr 1fr; gap: 36px 26px; }
  .process::before, .process::after { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .cards, .cap-grid, .process { grid-template-columns: 1fr; }
  /* taller + narrower stage so the radial nodes + labels don't crowd or clip on narrow screens */
  .graph { aspect-ratio: 3 / 4; max-width: 310px; }
  .graph .node, .graph .node-chip { width: 54px; height: 54px; }
  .graph .node-chip { border-radius: 15px; }
  .graph .node-chip svg { width: 22px; height: 22px; }
  .graph .node.hub, .graph .node.hub .node-chip { width: 76px; height: 76px; }
  .graph .node.hub .node-chip svg { width: 32px; height: 32px; }
  .graph .node.hub .node-chip .hub-logo { width: 44px; height: 44px; }
  .graph .node.hub .node-label { font-size: 0.82rem; top: calc(100% + 22px); }   /* nudge down so it clears the lines on mobile */
  .graph .node.hub .node-sub { display: none; }   /* drop the sub-line on mobile to avoid overlap */
  .graph .node-label { font-size: 0.66rem; white-space: normal; width: 92px; }
  .graph .node.hub .node-label { width: auto; white-space: nowrap; }
  .graph .node-desc { width: 140px; font-size: 0.72rem; }
  /* keep tapped description cards on-screen: open inward, and upward from the bottom nodes */
  .graph .node.label-bottom .node-desc { top: auto; bottom: calc(100% + 28px); }
  .graph .node.desc-left .node-desc { left: auto; right: 0; transform: translateX(0) translateY(8px); }
  .graph .node.desc-left:hover .node-desc, .graph .node.desc-left.open .node-desc { transform: translateX(0) translateY(0); }
  .graph .node.desc-right .node-desc { left: 0; right: auto; transform: translateX(0) translateY(8px); }
  .graph .node.desc-right:hover .node-desc, .graph .node.desc-right.open .node-desc { transform: translateX(0) translateY(0); }
  .nav-links { gap: 12px; }
  .nav-links a:not(.btn) { display: none; }
  .trust-points { font-size: 0.95rem; gap: 10px 16px; }
}

/* ── Reduced motion ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .eyebrow .dot { animation: none; }
  .hero-stream, .stream-glow, .stream-node, .streams-msg path { animation: none; }
  .streams-msg path { stroke-dasharray: none; }
  .graph .node { opacity: 1; transform: translate(-50%, -50%); }
  .graph .edge { stroke-dashoffset: 0; }
  .graph .hub-glow { opacity: 1; }
  .flow-step.is-active { animation: none; }
  .mock-dq .dq-row { opacity: 1; transform: none; }
  .feature.in .mock-dq .dq-badge.fix { animation: none; }
  .hero-bg { transform: none !important; }
  .process::before { transform: scaleX(1); }
  .process.in::after { animation: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
