:root {
  --ink: #141414;
  --ink-2: #2A2A2A;
  --gray: #6B6B6B;
  --gray-2: #8A8A8A;
  --rule: #E6E6E6;
  --wash: #F5F5F4;
  --teal: #00A98F;   /* title only */
  --neon: #00D9B5;   /* small accents */
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

main { max-width: 1180px; margin: 0 auto; padding: 0 48px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 48px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
}
.nav-name { font-family: 'IBM Plex Sans', sans-serif; font-weight: 600; font-size: 15px; letter-spacing: 0; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--gray); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

/* Labels */
.eb {
  position: relative;
  font-family: var(--mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gray-2); margin: 0 0 28px;
}
.eb::before {
  content: ""; position: absolute; left: -34px; top: 50%;
  width: 22px; height: 2px; background: var(--neon); transform: translateY(-50%);
}
.sub { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--gray-2); margin: 0 0 6px; }

/* Hero */
.hero {
  min-height: min(720px, calc(100vh - 140px)); /* let the first card peek above the fold */
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 72px; align-items: center;
  padding: 40px 0 64px;
}
.title { font-size: 22px; font-weight: 300; color: var(--teal); margin: 0 0 20px; }
.lede { font-size: clamp(32px, 4.2vw, 52px); font-weight: 300; line-height: 1.12; letter-spacing: -0.015em; margin: 0; }
.hero-sub { font-size: 16px; line-height: 1.6; color: var(--gray); margin: 28px 0 0; max-width: 480px; }

.brief-card {
  position: relative;
  background: var(--ink); color: #fff;
  border-radius: 14px; padding: 28px 28px 34px;
  min-height: 360px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.45);
}
.brief-card .sub { color: #8A8A8A; margin-top: 22px; }
.brief-head { display: flex; justify-content: space-between; align-items: center; }
.brief-org { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--neon); }
.brief-dots { display: flex; gap: 6px; }
.brief-dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: #3A3A3A; cursor: pointer; transition: background .2s, transform .2s;
}
.brief-dots button[aria-selected="true"] { background: var(--neon); transform: scale(1.2); }
.brief-quote { font-size: 24px; font-weight: 300; line-height: 1.3; margin: 0; }
.brief-built { font-size: 15px; line-height: 1.55; color: #D6D6D6; margin: 0; }
.brief-result {
  display: inline-block; margin: 18px 0 0;
  font-family: var(--mono); font-size: 13px; color: #fff;
  box-shadow: inset 0 -2px 0 var(--neon);
}
.brief-quote, .brief-built, .brief-result { opacity: 0; transform: translateY(8px); }
.brief-card.in .brief-quote, .brief-card.in .brief-built, .brief-card.in .brief-result {
  opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.brief-card.in .brief-built { transition-delay: .5s; }
.brief-card.in .brief-result { transition-delay: 1s; }
.brief-progress { position: absolute; left: 28px; right: 28px; bottom: 18px; height: 2px; background: #2A2A2A; overflow: hidden; }
.brief-progress span { display: block; height: 100%; width: 0; background: var(--neon); }
.brief-card.in:not(.paused) .brief-progress span { animation: progress 7s linear forwards; }
.brief-card.paused .brief-progress { display: none; }
@keyframes progress { to { width: 100%; } }

/* Work grid */
.work { padding: 24px 0 40px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--rule); border-radius: 14px; overflow: hidden;
  background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:has(.card-link):hover { /* only cards that open a case study lift */ transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0,0,0,.28); border-color: #D8D8D8; }
.card-wide { grid-column: 1 / -1; flex-direction: row; }
.card-wide .card-text { flex: 1; align-self: center; }
.card-wide .viz { flex: 1.1; border-left: 1px solid var(--rule); border-top: 0; }

.card-text { padding: 28px 30px 30px; flex: 1; display: flex; flex-direction: column; }
.card-text .tags { margin-top: auto; } /* tags and link sit at the bottom, so paired cards line up even if a description runs long */
.card h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 4px 0 12px; }
.card-line { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0 0 18px; }
.card-stat { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: -8px 0 18px; }
.card-stat b { font-weight: 600; color: var(--ink); }
.tags {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--gray); margin: 0; line-height: 1.8;
  white-space: nowrap; overflow: hidden; /* always one line */
}
.tags i { font-style: normal; color: var(--neon); padding: 0 4px; }

/* Visuals: all grayscale + one neon accent */
.viz {
  position: relative; background: var(--wash);
  padding: 28px 30px 44px; min-height: 220px;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  border-bottom: 1px solid var(--rule);
}
.viz-cap { position: absolute; left: 30px; right: 30px; bottom: 14px; margin: 0; font-family: var(--mono); font-size: 11px; color: var(--gray-2); }

/* 01 EmailAI */
.ai-prompt { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 11px 14px; font-size: 14px; color: var(--ink-2); }
.ai-caret { display: inline-block; overflow: hidden; white-space: nowrap; max-width: 0; vertical-align: bottom; border-right: 2px solid var(--neon); }
.play .ai-caret { animation: type 1.6s steps(38) .3s forwards, blink .8s step-end 2.1s 4; }
@keyframes type { to { max-width: 100%; } }
@keyframes blink { 50% { border-color: transparent; } }
.ai-loading { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--gray); opacity: 0; height: 18px; overflow: hidden; } /* fixed height so it can shrink smoothly instead of snapping */
.ai-loading span { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #D0D0D0; border-top-color: var(--neon); animation: spin .8s linear infinite; }
.play .ai-loading { animation: flash 1.4s 2s forwards; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flash { 0%, 70% { opacity: 1; height: 18px; margin-top: 0; } 85% { opacity: 0; height: 18px; margin-top: 0; } 100% { opacity: 0; height: 0; margin-top: -12px; } } /* fade out first, then close the gap (-12px cancels the extra flex gap) */
.ai-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ai-opt {
  background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 14px 12px;
  display: flex; flex-direction: column; gap: 7px;
  opacity: 0; transform: translateY(10px);
  transition: border-color .25s, box-shadow .25s;
}
.ai-opt b { display: block; height: 7px; border-radius: 4px; background: #E4E4E4; }
.ai-opt b:first-child { height: 11px; background: #CFCFCF; }
.ai-opt b.short { width: 60%; }
.play .ai-opt { animation: rise .5s var(--ease) forwards; }
.play .ai-opt:nth-child(1) { animation-delay: 3.4s; }
.play .ai-opt:nth-child(2) { animation-delay: 3.55s; }
.play .ai-opt:nth-child(3) { animation-delay: 3.7s; }
.ai-opt:hover { border-color: var(--neon); box-shadow: 0 0 0 3px rgba(0,217,181,.15); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* 02 Bars */
.bar-row { display: grid; grid-template-columns: 84px 1fr 48px; align-items: center; gap: 12px; }
.bar-lbl { font-family: var(--mono); font-size: 12px; color: var(--gray); }
.bar { height: 22px; background: #EAEAEA; border-radius: 4px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: #BDBDBD; transition: width 1.2s var(--ease) .2s; }
.bar.hi span { background: var(--ink); transition-delay: .5s; }
.play .bar span { width: var(--w); }
.bar-val { font-family: var(--mono); font-size: 13px; color: var(--ink); box-shadow: inset 0 -2px 0 var(--neon); justify-self: start; opacity: 0; transition: opacity .4s 1.6s; }
.play .bar-val { opacity: 1; }

/* 03 Spectrum */

/* 04 Blocks */
.blk-lib { display: flex; flex-wrap: wrap; gap: 6px; }
.blk-lib span { font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 4px; background: #fff; border: 1px solid var(--rule); color: var(--gray); transition: all .3s; }
.play .blk-lib span:nth-child(2), .play .blk-lib span:nth-child(5) { border-color: var(--neon); color: var(--ink); transition-delay: .6s; }
.blk-email { background: #fff; border: 1px solid var(--rule); border-radius: 8px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.blk-email span { height: 14px; border-radius: 3px; background: #E8E8E8; transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); }
.blk-email span:nth-child(2) { width: 80%; }
.blk-email span:nth-child(3) { width: 55%; background: var(--ink); }
.play .blk-email span { transform: scaleX(1); }
.play .blk-email span:nth-child(1) { transition-delay: 1s; }
.play .blk-email span:nth-child(2) { transition-delay: 1.2s; }
.play .blk-email span:nth-child(3) { transition-delay: 1.4s; }

/* 05 Map */
.card:not(.card-wide) .viz { height: 220px; } /* same image height on every small card so titles line up */
.viz-map svg { width: 100%; height: auto; max-height: 150px; } /* fills the card width; the card's fixed image height keeps rows aligned */
.sys-edges path { fill: none; stroke: #CFCFCF; stroke-width: 1.5; stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset 1.1s var(--ease); }
.play .sys-edges path { stroke-dashoffset: 0; }
.sys-dots circle { fill: #fff; stroke: #9A9A9A; stroke-width: 1.5; opacity: 0; transition: opacity .4s var(--ease) calc(var(--i) * 60ms); }
.play .sys-dots circle { opacity: 1; }
.sys-hot { fill: var(--ink); opacity: 0; transition: opacity .4s 1s; }
.play .sys-hot { opacity: 1; }
.sys-ring { fill: none; stroke: var(--neon); stroke-width: 2; opacity: 0; }
.play .sys-ring { animation: pulse 2s ease-out 1.3s infinite; }
@keyframes pulse { 0% { opacity: .9; transform: scale(.8); } 100% { opacity: 0; transform: scale(2.2); } }

/* About */
.about {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px;
  padding: 72px 0; border-top: 1px solid var(--rule); margin-top: 48px;
}
.about-body { font-size: 20px; font-weight: 300; line-height: 1.55; margin: 0; }
.about-body + .about-body { margin-top: 18px; }
.about-side .sub { margin: 0 0 28px; } /* same space as the About label, so the list starts level with the paragraph */
.xp { list-style: none; padding: 0; margin: 0; }
.xp li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--rule); font-size: 14px; }
.xp li span:last-child { font-family: var(--mono); font-size: 12px; color: var(--gray-2); white-space: nowrap; } /* dates never wrap; long names do */

.foot {
  display: flex; gap: 28px; flex-wrap: wrap;
  border-top: 1px solid var(--rule); padding: 24px 0 40px;
  font-family: var(--mono); font-size: 12px; color: var(--gray);
}
.foot a:hover { color: var(--ink); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.seen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .ai-opt, .ai-caret, .bar-val, .brief-quote, .brief-built, .brief-result { opacity: 1 !important; transform: none !important; max-width: none !important; }
  .bar span { width: var(--w) !important; }
  .blk-email span { transform: none !important; }
  .sys-dots circle, .sys-hot { opacity: 1 !important; }
  .sys-edges path { stroke-dashoffset: 0 !important; }
  .sys-ring { opacity: 1 !important; }
}

@media (max-width: 860px) {
  main { padding: 0 16px; }
  .tags { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); } /* fade if a phone cuts the line off */
  .nav { padding: 14px 16px; }
  .nav-links { gap: 16px; }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 40px; padding: 32px 0 48px; }
  .brief-card { min-height: 330px; }
  .grid { grid-template-columns: 1fr; }
  .card-wide { flex-direction: column-reverse; }
  .card-wide .viz { border-left: 0; border-bottom: 1px solid var(--rule); }
  .eb::before { display: none; }
  .about { grid-template-columns: 1fr; gap: 40px; padding: 48px 0; }
}

/* Phones: get the first case study onto the first screen. The brief carousel repeats the cards below, so it goes. */
@media (max-width: 600px) {
  .hero { padding: 16px 0 20px; gap: 0; }
  .brief-card { display: none; }
  .title { font-size: 17px; margin-bottom: 10px; }
  .lede { font-size: 26px; line-height: 1.18; }
  .hero-sub { font-size: 15px; margin-top: 14px; }
  .work { padding-top: 8px; }
  .eb, .about-side .sub { margin-bottom: 16px; }
  .viz { padding-bottom: 64px; } /* captions wrap to 2–3 lines on phones; keep them clear of the graphic */
}

/* Whole card is clickable when it links to a case study */
.card { position: relative; }
.card-link::after { content: ""; position: absolute; inset: 0; }
.card-link:focus-visible::after { outline: 2px solid var(--neon); outline-offset: -2px; border-radius: 14px; }
.read { font-family: var(--mono); font-size: 12px; color: var(--ink); margin: 16px 0 0; }
.read span { box-shadow: inset 0 -2px 0 var(--neon); }

/* Case study pages */
/* Case layout: side nav beside one column (hero + sections). The hero starts where the section dashes start (34px left of the text). */
.case { --toc-w: 180px; --toc-gap: 72px; --dash-x: 34px; }
.case-hero { margin-left: calc(-1 * var(--dash-x)); padding: 56px 0 48px; }
.back { display: inline-block; font-family: var(--mono); font-size: 12px; color: var(--gray); margin-bottom: 40px; }
.back:hover { color: var(--ink); }
.case-hero h1 { font-size: clamp(40px, 5vw, 60px); font-weight: 600; letter-spacing: -0.02em; margin: 4px 0 16px; }
.case-lede { font-size: 24px; font-weight: 300; line-height: 1.4; margin: 0 0 40px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; margin: 0; padding-top: 24px; border-top: 1px solid var(--rule); }
.facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gray-2); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 14px; line-height: 1.5; }

.case-body { display: grid; grid-template-columns: var(--toc-w) minmax(0, 720px); gap: var(--toc-gap); padding: 0 0 72px; }
.toc {
  position: sticky; top: 90px; align-self: start; margin-top: 166px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; 
  /* hidden until the title area scrolls away (case.js adds .show) */
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.toc.show { opacity: 1; visibility: visible; transform: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.toc a { color: var(--gray-2); padding-left: 14px; border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--neon); }

.case-main section { padding: 0 0 56px; scroll-margin-top: 90px; }
.case-main p:not(.eb):not(.sub):not(.viz-cap) { font-size: 18px; line-height: 1.7; color: var(--ink-2); margin: 0 0 18px; }
.case-viz { border: 1px solid var(--rule); border-radius: 14px; margin: 28px 0 0; min-height: 260px; }

.shot { margin: 28px 0 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--rule); background: var(--wash); }
.shot-tall img { max-width: 420px; margin: 0 auto; }
.shot figcaption { font-family: var(--mono); font-size: 11px; color: var(--gray-2); margin-top: 10px; }
.shot figcaption a { text-decoration: underline; text-underline-offset: 2px; }
.shot figcaption a:hover { color: var(--ink); }
.shot-tall figcaption { text-align: left; max-width: 420px; margin-left: auto; margin-right: auto; }

.next { display: flex; flex-direction: column; gap: 6px; padding-top: 28px; border-top: 1px solid var(--rule); }
.next a { font-size: 22px; font-weight: 600; }
.next a:hover { box-shadow: inset 0 -2px 0 var(--neon); align-self: start; }

@media (max-width: 860px) {
  .case-hero { padding: 32px 0 24px; margin-left: 0; }
  .back { margin-bottom: 24px; }
  .case-lede { font-size: 20px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .case-body { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .case-main p:not(.eb):not(.sub):not(.viz-cap) { font-size: 17px; }
}

/* Video clips on case study pages, and placeholders until they arrive */
.shot video { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--rule); background: var(--wash); }
.clip-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  aspect-ratio: 16 / 10; padding: 24px;
  border: 1.5px dashed #CFCFCF; border-radius: 12px; background: var(--wash);
  font-family: var(--mono); font-size: 12px; color: var(--gray-2);
}
.aka { font-family: var(--mono); font-size: 12px; color: var(--gray-2); margin: -8px 0 20px; }

/* Small data table on case pages (e.g. a barrier ranking) */
.score { border: 1px solid var(--rule); border-radius: 14px; background: var(--wash); padding: 20px 22px 40px; margin: 28px 0; position: relative; overflow-x: auto; }
.score .viz-cap { left: 22px; }
.score table { width: 100%; border-collapse: collapse; font-size: 14px; }
.score th { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gray-2); font-weight: 400; text-align: right; padding: 0 0 10px 12px; }
.score th:first-child, .score td:first-child { text-align: left; padding-left: 0; }
.score td { text-align: right; padding: 10px 0 10px 12px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 13px; color: var(--gray); }
.score td:first-child { font-family: 'IBM Plex Sans', sans-serif; font-size: 14px; color: var(--ink-2); }
.score td:last-child { color: var(--ink); box-shadow: inset 0 -2px 0 var(--neon); }
.inline { box-shadow: inset 0 -1px 0 var(--neon); }
.inline:hover { box-shadow: inset 0 -2px 0 var(--neon); }

/* Peru: days per preparatory step */
.viz-days { padding: 28px 30px 48px; }
.days { display: grid; gap: 10px; }
.day-row { display: grid; grid-template-columns: 130px 1fr 44px; align-items: center; gap: 12px; }
.day-label { font-size: 13px; color: var(--gray); }
.day-dots { display: grid; grid-template-columns: repeat(43, 1fr); gap: 3px; }
.day-dots i { aspect-ratio: 1; border-radius: 50%; background: #C8C8C8; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .3s var(--ease); transition-delay: calc(var(--i) * 18ms); }
.day-n { font-family: var(--mono); font-size: 12px; color: var(--gray-2); text-align: right; }
.day-head .day-label, .day-head .day-unit { font-family: var(--mono); color: var(--gray-2); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.day-row.hot .day-label, .day-row.hot .day-n { color: var(--ink); }
.day-row.hot .day-dots i { background: var(--ink); }
.seen .day-dots i { opacity: 1; transform: none; }

/* Peru: the requirement handoff loop */
.viz-loop { padding: 32px 24px 48px; margin-bottom: 28px; min-height: 0; }
.viz-loop svg { width: 100%; height: auto; display: block; }
.loop-nodes rect { fill: #fff; stroke: var(--ink); stroke-width: 1.5; }
.loop-text text { font-size: 17px; text-anchor: middle; fill: var(--ink); }
.loop-fwd path { stroke: var(--ink); stroke-width: 1.5; }
.loop-fwd polygon { fill: var(--ink); }
.loop-head { fill: var(--neon); }
.loop-back { fill: none; stroke: var(--neon); stroke-width: 2; stroke-dasharray: 7 6; }
.seen .loop-back { animation: loop-run 1.2s linear infinite; }
@keyframes loop-run { to { stroke-dashoffset: -26; } }
.loop-note { font-family: var(--mono); font-size: 13px; text-anchor: middle; fill: var(--gray-2); }

@media (max-width: 860px) {
  .viz-days { padding: 22px 18px 44px; }
  .day-row { grid-template-columns: 1fr auto; gap: 4px 8px; }
  .day-dots { grid-column: 1 / -1; grid-row: 2; gap: 2px; }
  .day-label { font-size: 12px; }
}

/* Row of small document thumbnails (e.g. a set of forms) */
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.thumbs a { display: block; }
.thumbs img { filter: grayscale(1); transition: transform .3s var(--ease), box-shadow .3s, filter .3s; }
.thumbs a:hover img, .thumbs a:focus-visible img { filter: none; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.thumbs span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11px; color: var(--gray); }
@media (max-width: 860px) { .thumbs { gap: 8px; } }

/* The result leads the facts row: same label style as the other facts, with the number set larger */
.fact-result dd b { display: block; font-size: 20px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 2px; }

/* Adoption: customers across four stages; dark dots moved up a stage, neon arrows are the nudges.
   The finished state reads on its own; on scroll the moved dots slide in once. */
.viz-spectrum svg { width: 100%; height: auto; max-height: 150px; }
.adopt-labels text { font-family: var(--mono); font-size: 9px; fill: var(--gray); text-anchor: middle; }
.adopt-dividers path { stroke: #D6D6D6; stroke-width: 1; stroke-dasharray: 2 3; }
.adopt-dots circle { fill: #C4C4C4; }
.adopt-moved { fill: var(--ink); transform: translateX(var(--dx)); transition: transform .9s var(--ease) calc(.5s + var(--i) * .25s); }
.play .adopt-moved { transform: none; }
.adopt-tails path { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: var(--len) 200; stroke-dashoffset: var(--len); transition: stroke-dashoffset .9s var(--ease) calc(.5s + var(--i) * .25s); }
.play .adopt-tails path { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .adopt-moved { transform: none !important; } .adopt-tails path { stroke-dashoffset: 0 !important; } }

/* Replaying a graphic: snap it back to its start with no transitions, then play again */
.viz.reset, .viz.reset * { transition: none !important; animation: none !important; }
.read-soon { color: var(--gray-2); }
