/* About page. Shares the homepage tokens via bulkpe-aurora.css.
   Motion lives in files/js/bulkpe-about.js (GSAP + ScrollTrigger). */

.au {
  --au-night: #0f1220;
  --au-glass: rgba(255, 255, 255, 0.06);
  --au-glass-line: rgba(255, 255, 255, 0.12);
  --au-violet-soft: #cfc2f8;
  --au-warm: #f4f2ee;
}
/* Tilted tape must not cause sideways scroll. clip (not hidden) keeps sticky working. */
.au { overflow-x: clip; }

.au-h2 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--bh-ink);
  text-wrap: balance;
}
.au-h2 em { font-style: normal; color: var(--bh-brand); }

.au-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}
.au-head .bh-lede { margin: 0; }
.au-head > div .bh-lede { margin-top: 14px; }

/* ---------- Hero ---------- */

.au-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(56px, 8vw, 104px) 0;
  background:
    radial-gradient(120% 80% at 85% 10%, rgba(129, 90, 240, 0.28), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(13, 159, 140, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bh-navy), var(--au-night));
  color: #fff;
}
.au-rails {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.au-rails-pulse path {
  stroke-dasharray: 26 974;
  stroke-dashoffset: 1000;
  animation: au-flow 5.2s linear infinite;
  filter: drop-shadow(0 0 6px currentColor);
}
.au-rails-pulse path:nth-child(2) { animation-duration: 6.4s; animation-delay: -1.8s; }
.au-rails-pulse path:nth-child(3) { animation-duration: 4.6s; animation-delay: -3.1s; }
.au-rails-pulse path:nth-child(4) { animation-duration: 5.8s; animation-delay: -0.6s; }
.au-rails-pulse path:nth-child(5) { animation-duration: 6.9s; animation-delay: -4.2s; }
.au-hero.is-paused .au-rails-pulse path { animation-play-state: paused; }
@keyframes au-flow { to { stroke-dashoffset: 0; } }

.au-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 56px;
  align-items: center;
}
.au-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--au-violet-soft);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.au-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.6; }

.au-title {
  margin: 0;
  font-size: clamp(34px, 4.6vw, 66px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #fff;
}
.au-tline { display: block; overflow: hidden; padding-bottom: 0.06em; }
.au-tline > span { display: inline-block; }
.au-title em { font-style: normal; color: #b9a3ff; }
.au-hero-lede {
  margin: 24px 0 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.55;
}
.au-hero .bh-actions { margin-top: 32px; }
.au-btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}
.au-btn-outline:hover { background: #fff; color: var(--bh-ink); border-color: #fff; }

/* Hero desk: where the rails converge. Rows are driven by bulkpe-about.js */
.au-dc {
  position: relative;
  border-radius: 22px;
  background: #1b2033;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
  padding: 18px;
  color: #fff;
  transform-style: preserve-3d;
}
.au-dc-head { display: flex; align-items: center; gap: 12px; }
.au-dc-head img { width: 28px; height: 28px; border-radius: 8px; background: #fff; padding: 3px; }
.au-dc-title { display: grid; line-height: 1.25; }
.au-dc-title strong { font-size: 14px; font-weight: 600; }
.au-dc-title span { font-size: 12px; color: rgba(255, 255, 255, 0.55); }
.au-dc-status {
  margin-left: auto;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.3s var(--bh-ease), color 0.3s var(--bh-ease);
}
.au-dc-status.is-busy { background: rgba(129, 90, 240, 0.22); color: #cfc2f8; }
.au-dc-status.is-done { background: rgba(13, 159, 140, 0.2); color: #5fe0cb; }
.au-dc-tabs {
  display: flex;
  gap: 4px;
  margin: 16px 0 12px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
}
.au-dc-tabs button {
  flex: 1;
  padding: 8px 6px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--bh-font);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--bh-ease), color 0.25s var(--bh-ease);
}
.au-dc-tabs button:hover { color: #fff; }
.au-dc-tabs button.is-on { background: #fff; color: var(--bh-ink); }
.au-dc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; min-height: 236px; }
.au-dc-rows li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto auto 22px;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid transparent;
  transition: background 0.3s var(--bh-ease), border-color 0.3s var(--bh-ease);
}
.au-dc-rows li.is-busy { background: rgba(129, 90, 240, 0.12); border-color: rgba(129, 90, 240, 0.35); }
.au-dc-rows i {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(129, 90, 240, 0.2);
  color: #cfc2f8;
  font-size: 11px;
  font-weight: 700;
  font-style: normal;
}
.au-dc-rows li:nth-child(even) i { background: rgba(13, 159, 140, 0.18); color: #5fe0cb; }
.au-dc-rows span { display: grid; min-width: 0; font-size: 11.5px; color: rgba(255, 255, 255, 0.5); line-height: 1.3; }
.au-dc-rows span strong { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.au-dc-rows em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.65);
}
.au-dc-rows b { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.au-dc-rows u {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  transition: background 0.3s var(--bh-ease), border-color 0.3s var(--bh-ease);
}
.au-dc-rows li.is-busy u { border-color: rgba(255, 255, 255, 0.18); border-top-color: #b9a3ff; animation: au-spin 0.7s linear infinite; }
.au-dc-rows li.is-done u { background: var(--bh-teal); border-color: var(--bh-teal); }
.au-dc-rows li.is-done u::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  rotate: 45deg;
}
@keyframes au-spin { to { rotate: 360deg; } }
.au-dc-foot { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.au-dc-bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.au-dc-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--bh-brand), var(--bh-teal)); transform-origin: left; transition: transform 0.45s var(--bh-ease); }
.au-dc-count { font-size: 12px; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; white-space: nowrap; }
.au-dc-run {
  padding: 8px 12px;
  border: 0;
  border-radius: 9px;
  background: var(--bh-brand);
  color: #fff;
  font-family: var(--bh-font);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--bh-ease), transform 0.2s var(--bh-ease);
}
.au-dc-run:hover { background: var(--bh-brand-deep); }
.au-dc-run:active { transform: scale(0.96); }
.au-dc-run:disabled { opacity: 0.55; cursor: progress; }

/* ---------- Journey ---------- */

.au-journey { background: #fff; padding: clamp(80px, 10vw, 128px) 0; }
.au-journey-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.au-journey-head {
  position: sticky;
  top: calc(var(--bh-header) + 32px);
}
.au-journey-head .bh-btn { margin-top: 28px; }
.au-timeline { position: relative; }
.au-timeline ol { list-style: none; margin: 0; padding: 0; }
.au-timeline-track {
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: var(--bh-line);
  border-radius: 2px;
  overflow: hidden;
}
.au-timeline-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(var(--bh-brand), var(--bh-teal));
  transform-origin: top;
}
.au-step {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 0 0 56px;
}
.au-step:last-child { padding-bottom: 0; }
.au-step-dot {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--bh-line-strong);
  color: var(--bh-muted);
  font-size: 13px;
  font-weight: 700;
  transition: background 0.4s var(--bh-ease), border-color 0.4s var(--bh-ease), color 0.4s var(--bh-ease), box-shadow 0.4s var(--bh-ease);
}
.au-step.is-active .au-step-dot {
  background: var(--bh-brand);
  border-color: var(--bh-brand);
  color: #fff;
  box-shadow: 0 0 0 8px var(--bh-brand-soft);
}
.au-step-tag {
  display: inline-block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bh-brand);
}
.au-step h3 {
  margin: 6px 0 8px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.au-step p { margin: 0; max-width: 46ch; color: var(--bh-ink-soft); font-size: 15px; line-height: 1.6; }

/* ---------- Mission ---------- */

.au-mission { background: var(--au-warm); padding: clamp(80px, 10vw, 128px) 0; }
.au-manifesto {
  margin: 0;
  max-width: 22ch;
  font-size: clamp(30px, 4.6vw, 62px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.045em;
  color: var(--bh-ink);
}
.au-manifesto em { font-style: normal; color: var(--bh-brand); }
.au-word { display: inline; }
.au-promise {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.au-promise li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--bh-line);
  font-size: 14px;
  font-weight: 600;
  color: var(--bh-ink);
}
.au-promise li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bh-teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat;
}
/* ---------- Virtue tape ---------- */

.au-tape {
  position: relative;
  z-index: 3;
  margin: -28px 0;
  padding: 18px 0;
  overflow: hidden;
  background: var(--bh-brand);
  rotate: -2deg;
  box-shadow: 0 18px 40px rgba(99, 67, 204, 0.25);
}
.au-tape-track {
  display: flex;
  width: max-content;
  animation: au-marquee 38s linear infinite;
}
.au-tape span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  color: #fff;
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.au-tape b { color: #5fe0cb; font-size: 0.62em; font-weight: 700; letter-spacing: 0.06em; }
@keyframes au-marquee { to { transform: translateX(-50%); } }

/* ---------- Cards (beliefs + stack) with cursor spotlight ---------- */

.au-beliefs { background: #fff; padding-top: clamp(96px, 11vw, 140px); }
.au-belief-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.au-card,
.au-tool {
  border: 1px solid var(--bh-line);
  border-radius: 20px;
  background: #fff;
  padding: 12px 12px 20px;
  transition: transform 0.35s var(--bh-ease), box-shadow 0.35s var(--bh-ease);
}
.au-card:hover,
.au-tool:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(18, 20, 28, 0.08);
}
.au-card-num,
.au-tag {
  display: inline-block;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bh-brand);
}
.au-card h3,
.au-tool h3 { margin: 6px 8px 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.25; }
.au-card p,
.au-tool p { margin: 0 8px; color: var(--bh-ink-soft); font-size: 14px; line-height: 1.55; }

/* ---------- Virtues ---------- */

.au-virtues { background: var(--bh-bg); padding: clamp(80px, 10vw, 128px) 0; }
.au-virtue-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.au-virtue-head { position: sticky; top: calc(var(--bh-header) + 32px); }
.au-quote {
  margin: 40px 0 0;
  padding: 24px;
  border-radius: 20px;
  background: var(--bh-navy);
  color: #fff;
}
.au-quote p { margin: 0; color: #fff; font-size: 20px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.3; }
.au-quote cite { display: block; margin-top: 12px; color: rgba(255, 255, 255, 0.6); font-size: 13px; font-style: normal; }

.au-acc { border-top: 1px solid var(--bh-line-strong); }
.au-acc button {
  align-items: center;
  padding: 22px 4px;
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: -0.02em;
  border-bottom-color: var(--bh-line-strong);
  transition: color 0.25s var(--bh-ease), padding-left 0.35s var(--bh-ease);
}
.au-acc button em {
  font-style: normal;
  min-width: 2.4em;
  color: var(--bh-muted);
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.25s var(--bh-ease);
}
.au-acc button span {
  margin-left: auto;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--bh-line-strong);
  font-size: 18px;
  transition: background 0.25s var(--bh-ease), color 0.25s var(--bh-ease), border-color 0.25s var(--bh-ease);
}
.au-acc button:hover { color: var(--bh-brand-deep); padding-left: 10px; }
.au-acc .item.is-open button em { color: var(--bh-brand); }
.au-acc .item.is-open button span { background: var(--bh-brand); border-color: var(--bh-brand); color: #fff; }
/* Smooth height: aurora.css toggles display; override with a grid-row collapse */
.au-acc .a {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 4px;
  transition: grid-template-rows 0.45s var(--bh-ease);
}
.au-acc .a > p { overflow: hidden; min-height: 0; margin: 0; font-size: 15px; line-height: 1.6; max-width: 56ch; }
.au-acc .item.is-open .a { grid-template-rows: 1fr; padding-bottom: 22px; border-bottom: 1px solid var(--bh-line-strong); }

/* ---------- Stack (dark) ---------- */

.au-stack {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 10vw, 128px) 0;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(129, 90, 240, 0.24), transparent 60%),
    linear-gradient(180deg, var(--bh-navy), var(--au-night));
  color: #fff;
}
.au-stack .bh-kicker { color: var(--au-violet-soft); }
.au-stack .au-h2 { color: #fff; }
.au-stack .au-h2 em { color: #b9a3ff; }
.au-stack .bh-lede { color: rgba(255, 255, 255, 0.65); }
.au-toolgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.au-tool {
  background: var(--au-glass);
  border-color: var(--au-glass-line);
}
.au-tool:hover { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35); }
.au-tool .au-tag { color: #5fe0cb; }
.au-tool h3 { color: #fff; }
.au-tool p { color: rgba(255, 255, 255, 0.65); }
/* Stack mini-UIs. They play on hover, keyboard focus, or .is-play (added when
   scrolled into view by bulkpe-about.js). */
.au-mini {
  position: relative;
  height: 200px;
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 14px;
  background: #f6f4fb;
  overflow: hidden;
  color: var(--bh-ink);
  font-size: 12px;
}
.au-tool:focus-visible { outline: 2px solid #b9a3ff; outline-offset: 3px; }

/* Payouts: rows settle one by one */
.au-mini-pay { display: grid; align-content: center; gap: 8px; }
.mp-row {
  position: relative;
  display: grid;
  grid-template-columns: 26px 1fr auto 18px;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.mp-row i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--bh-brand-soft); color: var(--bh-brand-deep); font-size: 9px; font-weight: 700; font-style: normal; }
.mp-row span { font-weight: 600; }
.mp-row b { font-variant-numeric: tabular-nums; }
.mp-row em { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--bh-line-strong); transition: background 0.3s var(--bh-ease), border-color 0.3s var(--bh-ease); }
.mp-row em::after { content: ""; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; opacity: 0; transition: opacity 0.2s; }
.mp-row::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--bh-brand); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--bh-ease); }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) .mp-row::after { transform: scaleX(1); }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) .mp-row em { background: var(--bh-teal); border-color: var(--bh-teal); }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) .mp-row em::after { opacity: 1; }
.mp-row:nth-child(2)::after, .mp-row:nth-child(2) em, .mp-row:nth-child(2) em::after { transition-delay: 0.35s; }
.mp-row:nth-child(3)::after, .mp-row:nth-child(3) em, .mp-row:nth-child(3) em::after { transition-delay: 0.7s; }
.mp-row em, .mp-row em::after { transition-delay: 0.45s; }
.mp-row:nth-child(2) em, .mp-row:nth-child(2) em::after { transition-delay: 0.8s; }
.mp-row:nth-child(3) em, .mp-row:nth-child(3) em::after { transition-delay: 1.15s; }

/* Collections: rails flow into the account, total rolls over */
.au-mini-collect { display: grid; grid-template-columns: 58px 1fr 124px; align-items: center; gap: 0; }
.mc-src { display: grid; gap: 22px; }
.mc-src span { padding: 6px 0; border-radius: 8px; background: #fff; text-align: center; font-size: 11px; font-weight: 700; color: var(--bh-brand-deep); box-shadow: 0 2px 8px rgba(18, 20, 28, 0.05); }
.mc-pipes { width: 100%; height: 100%; max-height: 120px; }
.mc-pipes path { fill: none; stroke: #dcd4f7; stroke-width: 2; vector-effect: non-scaling-stroke; }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) .mc-pipes path { stroke: var(--bh-brand); stroke-dasharray: 10 8; animation: mc-flow 0.9s linear infinite; }
@keyframes mc-flow { to { stroke-dashoffset: -18; } }
.mc-acct { padding: 12px; border-radius: 12px; background: #fff; box-shadow: 0 6px 20px rgba(18, 20, 28, 0.06); }
.mc-acct small { display: block; color: var(--bh-muted); font-size: 10px; font-weight: 600; }
.mc-num { position: relative; display: block; height: 1.3em; overflow: hidden; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; }
.mc-num span { display: block; transition: transform 0.6s var(--bh-ease) 0.6s; }
.mc-acct em { display: block; font-style: normal; font-size: 11px; font-weight: 700; color: var(--bh-teal); opacity: 0; transform: translateY(4px); transition: opacity 0.4s var(--bh-ease) 0.9s, transform 0.4s var(--bh-ease) 0.9s; }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) .mc-num span { transform: translateY(-100%); }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) .mc-acct em { opacity: 1; transform: none; }

/* Bank accounts: stacked cards fan out */
.au-mini-bank { perspective: 800px; }
.mb-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  padding: 14px 16px;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(18, 20, 28, 0.16);
  translate: -50% -50%;
  transition: transform 0.6s var(--bh-ease);
}
.mb-card small { display: block; font-size: 10px; font-weight: 600; opacity: 0.75; }
.mb-card strong { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.mb-card span { font-size: 10px; opacity: 0.7; }
.mb-fd { background: var(--bh-teal); transform: translateY(-22px) scale(0.9); }
.mb-escrow { background: var(--bh-navy); transform: translateY(-11px) scale(0.95); }
.mb-current { background: var(--bh-brand); transform: none; }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) .mb-fd { transform: translate(-17%, -30px) rotate(-5deg) scale(0.86); }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) .mb-escrow { transform: translate(17%, -24px) rotate(5deg) scale(0.9); }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) .mb-current { transform: translateY(24px); }

/* Prepaid card: flips to show the team limit */
.au-mini-card { display: grid; place-items: center; perspective: 900px; }
.pc { position: relative; width: 236px; aspect-ratio: 1.586; transform-style: preserve-3d; transition: transform 0.8s var(--bh-ease); }
.pc-face { position: absolute; inset: 0; border-radius: 14px; padding: 14px 16px; backface-visibility: hidden; box-shadow: 0 16px 34px rgba(99, 67, 204, 0.3); }
.pc-front { background: linear-gradient(135deg, var(--bh-brand) 0%, var(--bh-brand-deep) 60%, var(--bh-navy) 130%); color: #fff; }
.pc-front img { height: 18px; width: auto; }
.pc-chip { position: absolute; left: 16px; top: 52px; width: 32px; height: 24px; border-radius: 5px; background: linear-gradient(135deg, #f3e3b3, #c9a85c); }
.pc-num { position: absolute; left: 16px; bottom: 34px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }
.pc-name { position: absolute; left: 16px; right: 16px; bottom: 12px; display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; }
.pc-name small { opacity: 0.7; font-weight: 500; }
.pc-back { background: var(--bh-navy); color: #fff; transform: rotateY(180deg); display: grid; align-content: center; gap: 4px; }
.pc-back small { font-size: 10px; color: rgba(255, 255, 255, 0.6); }
.pc-back strong { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.pc-bar { display: block; height: 6px; margin: 6px 0 2px; border-radius: 6px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.pc-bar span { display: block; height: 100%; width: 62%; background: #5fe0cb; transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--bh-ease) 0.5s; }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) .pc { transform: rotateY(180deg); }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) .pc-bar span { transform: scaleX(1); }

/* Bills: press Pay all, billers turn Paid */
.au-mini-bills { display: grid; align-content: start; gap: 7px; }
.bl-row { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: #fff; }
.bl-row i { color: var(--bh-brand); font-size: 12px; text-align: center; }
.bl-row > span { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bl-row em, .vf-row em { display: block; height: 20px; overflow: hidden; font-style: normal; font-size: 10px; font-weight: 700; border-radius: 6px; }
.bl-row em span, .vf-row em span { display: block; height: 20px; line-height: 20px; padding: 0 8px; transition: transform 0.45s var(--bh-ease); }
.bl-row em span:first-child { background: #fff1e6; color: #b85c1a; }
.bl-row em span:last-child, .vf-row em span:last-child { background: rgba(13, 159, 140, 0.12); color: var(--bh-teal); }
.bl-btn { justify-self: end; margin-top: 4px; padding: 7px 14px; border-radius: 9px; background: var(--bh-brand); color: #fff; font-size: 11px; font-weight: 700; transition: transform 0.15s var(--bh-ease); }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) .bl-btn { animation: bl-press 0.35s var(--bh-ease) 0.1s; }
@keyframes bl-press { 50% { transform: scale(0.9); } }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) :is(.bl-row, .vf-row) em span { transform: translateY(-100%); }
.bl-row:nth-child(1) em span, .vf-row:nth-child(1) em span { transition-delay: 0.45s; }
.bl-row:nth-child(2) em span, .vf-row:nth-child(2) em span { transition-delay: 0.75s; }
.bl-row:nth-child(3) em span, .vf-row:nth-child(3) em span { transition-delay: 1.05s; }

/* Verification: scan passes, checks clear */
.au-mini-verify { display: grid; align-content: center; gap: 8px; }
.vf-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: #fff; }
.vf-row b { padding: 3px 0; border-radius: 6px; background: var(--bh-brand-soft); color: var(--bh-brand-deep); text-align: center; font-size: 10px; letter-spacing: 0.04em; }
.vf-row > span { color: var(--bh-ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vf-row em span:first-child { background: var(--bh-bg-alt); color: var(--bh-muted); }
.vf-scan { position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(transparent, rgba(129, 90, 240, 0.18), transparent); opacity: 0; pointer-events: none; }
:is(.au-tool:hover, .au-tool:focus-visible, .au-tool.is-play) .vf-scan { animation: vf-scan 1.2s var(--bh-ease) 1; }
@keyframes vf-scan { 0% { opacity: 1; transform: translateY(-40px); } 100% { opacity: 0; transform: translateY(200px); } }

/* Belief mini-scenes: same play triggers as the stack cards */
.au-card .au-mini { height: 170px; }
.au-card:focus-visible { outline: 2px solid var(--bh-brand); outline-offset: 3px; }

/* 01 Harder path: the climb draws itself to the customer */
.au-mini-path { padding: 10px 12px; }
.au-mini-path svg { width: 100%; height: 100%; overflow: visible; }
.ph-easy { fill: none; stroke: var(--bh-line-strong); stroke-width: 2; stroke-dasharray: 4 6; }
.ph-label { fill: var(--bh-muted); font: 600 9px var(--bh-font); }
.ph-hard { fill: none; stroke: var(--bh-brand); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 72; transition: stroke-dashoffset 1.3s var(--bh-ease); }
.ph-start { fill: var(--bh-brand); }
.ph-flag path:first-child { stroke: var(--bh-ink); stroke-width: 2; }
.ph-cloth { fill: var(--bh-teal); transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform 0.4s var(--bh-ease) 1.15s; }
.ph-goal { fill: var(--bh-teal); font: 700 9px var(--bh-font); letter-spacing: 0.06em; opacity: 0; transition: opacity 0.4s var(--bh-ease) 1.25s; }
:is(.au-card:hover, .au-card:focus-visible, .au-card.is-play) .ph-hard { stroke-dashoffset: 0; }
:is(.au-card:hover, .au-card:focus-visible, .au-card.is-play) .ph-cloth { transform: none; }
:is(.au-card:hover, .au-card:focus-visible, .au-card.is-play) .ph-goal { opacity: 1; }

/* 02 Company of many: scattered teammates gather into one stack */
.au-mini-team { display: grid; place-items: center; align-content: center; gap: 14px; }
.tm-stack { display: flex; align-items: center; }
.tm-stack img,
.tm-more {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  margin-left: -12px;
  border-radius: 50%;
  border: 2px solid #f6f4fb;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s var(--bh-ease), margin 0.6s var(--bh-ease);
}
.tm-stack > :first-child { margin-left: 0; }
.tm-more { display: grid; place-items: center; background: var(--bh-brand); color: #fff; font-size: 11px; font-weight: 700; }
.tm-stack > :nth-child(1) { transform: translate(-14px, -30px) rotate(-8deg); }
.tm-stack > :nth-child(2) { transform: translate(-4px, 26px); }
.tm-stack > :nth-child(3) { transform: translate(0, -18px); }
.tm-stack > :nth-child(4) { transform: translate(2px, 30px) rotate(6deg); }
.tm-stack > :nth-child(5) { transform: translate(6px, -28px); }
.tm-stack > :nth-child(6) { transform: translate(10px, 22px) rotate(-5deg); }
.tm-stack > :nth-child(7) { transform: translate(14px, -14px); }
.tm-stack > :nth-child(8) { transform: translate(18px, 28px); }
.tm-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--bh-brand-deep); opacity: 0; transition: opacity 0.4s var(--bh-ease) 0.45s; }
:is(.au-card:hover, .au-card:focus-visible, .au-card.is-play) .tm-stack > * { transform: none; }
:is(.au-card:hover, .au-card:focus-visible, .au-card.is-play) .tm-label { opacity: 1; }

/* 03 Trustworthy: every step of a payout, on the record */
.au-mini-audit { display: grid; align-content: center; gap: 0; padding: 14px 16px; }
.ad-row { position: relative; display: grid; grid-template-columns: 14px 1fr auto; align-items: center; gap: 10px; padding: 6px 0; }
.ad-row + .ad-row::before { content: ""; position: absolute; left: 6px; top: -6px; height: 12px; width: 2px; background: var(--bh-line-strong); }
.ad-row em { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--bh-line-strong); background: #f6f4fb; transition: background 0.3s var(--bh-ease), border-color 0.3s var(--bh-ease); }
.ad-row span { font-weight: 600; color: var(--bh-muted); transition: color 0.3s var(--bh-ease); }
.ad-row time { font-size: 10px; color: var(--bh-muted); font-variant-numeric: tabular-nums; }
:is(.au-card:hover, .au-card:focus-visible, .au-card.is-play) .ad-row em { background: var(--bh-teal); border-color: var(--bh-teal); }
:is(.au-card:hover, .au-card:focus-visible, .au-card.is-play) .ad-row span { color: var(--bh-ink); }
.ad-row:nth-child(2) em, .ad-row:nth-child(2) span { transition-delay: 0.3s; }
.ad-row:nth-child(3) em, .ad-row:nth-child(3) span { transition-delay: 0.6s; }
.ad-row:nth-child(4) em, .ad-row:nth-child(4) span { transition-delay: 0.9s; }

/* 04 Builders: the API call types itself out */
.au-mini-code { display: grid; align-content: start; gap: 4px; padding: 0 0 12px; background: var(--bh-navy); color: rgba(255, 255, 255, 0.85); }
.cd-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; margin-bottom: 6px; background: rgba(255, 255, 255, 0.05); }
.cd-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.2); }
.cd-bar span { margin-left: 6px; font-size: 10px; color: rgba(255, 255, 255, 0.45); }
.au-mini-code code { display: block; width: max-content; max-width: calc(100% - 28px); margin: 0 14px; font: 500 11.5px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; overflow: hidden; clip-path: inset(0 100% 0 0); transition: clip-path 0.55s steps(18, end); }
.cd-line b { color: #b9a3ff; font-weight: 700; }
.cd-res { margin-top: 6px !important; padding: 3px 8px; border-radius: 6px; background: rgba(13, 159, 140, 0.18); color: #5fe0cb; font-weight: 700 !important; }
.cd-line:nth-of-type(2) { transition-delay: 0.5s; }
.cd-line:nth-of-type(3) { transition-delay: 1s; }
.cd-res { transition-delay: 1.55s !important; transition-timing-function: var(--bh-ease) !important; }
:is(.au-card:hover, .au-card:focus-visible, .au-card.is-play) .au-mini-code code { clip-path: inset(0 0 0 0); }

/* ---------- Team: one screen, pinned; scrolling changes the person ---------- */

.au-team {
  position: relative;
  scroll-margin-top: var(--bh-header);
  /* Top edge stays pure night so it continues the Stack section above without a seam */
  background:
    linear-gradient(180deg, var(--au-night) 0%, rgba(15, 18, 32, 0) 35%),
    radial-gradient(70% 60% at 15% 55%, rgba(129, 90, 240, 0.2), transparent 65%),
    radial-gradient(50% 50% at 100% 100%, rgba(13, 159, 140, 0.12), transparent 60%),
    var(--au-night);
  color: #fff;
}
.au-team-pin {
  height: calc(100vh - var(--bh-header));
  height: calc(100svh - var(--bh-header));
  min-height: 560px;
  overflow: hidden;
}
.au-team-inner {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 3vh, 32px);
  padding: clamp(24px, 5vh, 56px) 0;
}
.au-team .bh-kicker { color: var(--au-violet-soft); margin-bottom: 8px; }
.au-team .au-h2 { color: #fff; font-size: clamp(26px, min(3vw, 5vh), 42px); }
.au-team .au-h2 em { color: #b9a3ff; }
.au-team-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.au-team-hint {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.au-team-hint span { display: inline-block; margin-left: 4px; animation: au-nudge 1.8s var(--bh-ease) infinite; }
@keyframes au-nudge { 50% { transform: translateY(4px); } }

.au-team-body {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: clamp(24px, 4vw, 56px);
}
.au-stage {
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}
.au-stage-shot {
  position: relative;
  height: 100%;
  max-height: 560px;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: #1b2033;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}
.au-stage-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform-origin: 50% 30%;
}
.au-stage-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15, 18, 32, 0) 60%, rgba(15, 18, 32, 0.5)),
    radial-gradient(120% 90% at 50% 40%, transparent 60%, rgba(15, 18, 32, 0.4));
}
.au-stage-index {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 clamp(12px, 3vh, 24px);
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.au-stage-index b { color: #fff; font-size: 15px; }
.au-stage-role {
  margin: 0 0 8px;
  color: #5fe0cb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.au-stage-name {
  margin: 0;
  overflow: hidden;
  padding-bottom: 0.08em;
  font-size: clamp(32px, min(4.4vw, 7.5vh), 64px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #fff;
}
.au-stage-name span { display: inline-block; }
.au-stage-quote {
  margin: clamp(14px, 3vh, 24px) 0 0;
  padding-left: 20px;
  max-width: 44ch;
  border-left: 2px solid var(--bh-brand);
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, min(1.3vw, 2.2vh), 18px);
  font-weight: 500;
  line-height: 1.6;
}

/* Roster: who's here, grouped; the track fills as you scroll through */
.au-roster { position: relative; min-height: 0; align-self: center; padding-left: 18px; }
.au-roster-track { position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.au-roster-fill { position: absolute; inset: 0; background: linear-gradient(var(--bh-brand), var(--bh-teal)); transform: scaleY(0); transform-origin: top; }
.au-people { display: grid; gap: 2px; }
.au-roster-group {
  margin: 10px 0 4px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.au-roster-group:first-child { margin-top: 0; }
.au-person {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  width: 100%;
  padding: 3px 6px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  text-align: left;
  font-family: var(--bh-font);
  cursor: pointer;
  transition: background 0.3s var(--bh-ease), transform 0.4s var(--bh-ease);
}
.au-person:hover { background: rgba(255, 255, 255, 0.05); }
.au-person.is-on { background: rgba(255, 255, 255, 0.08); transform: translateX(6px); }
.au-shot {
  grid-row: span 2;
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  background: #1b2033;
}
.au-shot img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  display: block;
  object-fit: cover !important;
  object-position: center 22% !important;
  filter: grayscale(1) brightness(0.7);
  transition: filter 0.4s var(--bh-ease);
}
.au-person.is-on .au-shot img,
.au-person:hover .au-shot img { filter: none; }
.au-shot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); transition: box-shadow 0.3s var(--bh-ease); }
.au-person.is-on .au-shot::after { box-shadow: inset 0 0 0 2px #b9a3ff; }
.au-line { display: none; }
.au-person strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.3s var(--bh-ease);
}
.au-person .role { font-size: 11px; line-height: 1.25; color: rgba(255, 255, 255, 0.35); }
.au-person.is-on strong,
.au-person:hover strong { color: #fff; }
.au-person:focus-visible { outline: 2px solid #b9a3ff; outline-offset: 2px; }

/* ---------- Flow: one payout run, file to UTR ---------- */

.au-flow { background: var(--bh-bg); padding: clamp(80px, 10vw, 128px) 0; }
.au-flow-track { position: relative; }
.au-flow-rail {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 2px;
  background: var(--bh-line-strong);
}
.au-flow-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bh-brand), var(--bh-teal));
  transform: scaleX(0);
  transform-origin: left;
}
.au-flow-token {
  position: absolute;
  left: 0;
  top: 50%;
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bh-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 0 0 6px var(--bh-brand-soft), 0 8px 20px rgba(99, 67, 204, 0.35);
}
.au-flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.au-flow-step { position: relative; padding-top: 40px; }
.au-flow-node {
  position: absolute;
  left: 50%;
  top: -6px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--bh-bg);
  border: 2px solid var(--bh-line-strong);
  transition: background 0.3s var(--bh-ease), border-color 0.3s var(--bh-ease);
}
.au-flow-step.is-play .au-flow-node { background: var(--bh-teal); border-color: var(--bh-teal); }
.au-flow-card {
  height: 100%;
  padding: 10px 10px 18px;
  border: 1px solid var(--bh-line);
  border-radius: 18px;
  background: #fff;
  opacity: 0.55;
  transition: opacity 0.4s var(--bh-ease), box-shadow 0.4s var(--bh-ease), transform 0.4s var(--bh-ease);
}
.au-flow-step.is-play .au-flow-card { opacity: 1; box-shadow: 0 20px 44px rgba(18, 20, 28, 0.07); transform: translateY(-4px); }
.au-flow-card .au-mini { height: 140px; margin-bottom: 14px; padding: 12px; font-size: 11px; }
.au-flow-n { display: inline-block; padding: 0 6px; color: var(--bh-brand); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.au-flow-card h3 { margin: 4px 6px 6px; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.au-flow-card p { margin: 0 6px; color: var(--bh-ink-soft); font-size: 13px; line-height: 1.5; }

/* 01 Upload */
.fm-upload { display: grid; align-content: center; gap: 10px; }
.fu-file { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; background: #fff; }
.fu-file i { color: var(--bh-teal); font-size: 18px; }
.fu-file span { display: grid; color: var(--bh-muted); line-height: 1.3; }
.fu-file strong { color: var(--bh-ink); font-size: 12px; }
.fu-bar { display: block; height: 5px; border-radius: 5px; background: #e6e1f5; overflow: hidden; }
.fu-bar span { display: block; height: 100%; background: var(--bh-brand); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--bh-ease); }
.fu-ok { font-style: normal; font-weight: 700; color: var(--bh-teal); opacity: 0; transition: opacity 0.3s var(--bh-ease) 0.9s; }
.au-flow-step.is-play .fu-bar span { transform: none; }
.au-flow-step.is-play .fu-ok { opacity: 1; }

/* 02 Verify */
.fm-verify { display: grid; align-content: center; gap: 6px; }
.fv-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 9px; border-radius: 9px; background: #fff; font-variant-numeric: tabular-nums; color: var(--bh-ink-soft); font-weight: 600; }
.fv-row em { display: block; height: 18px; overflow: hidden; border-radius: 5px; font-style: normal; font-size: 10px; font-weight: 700; }
.fv-row em span { display: block; height: 18px; line-height: 18px; padding: 0 7px; transition: transform 0.4s var(--bh-ease); }
.fv-row em span:first-child { background: var(--bh-bg-alt); color: var(--bh-muted); }
.fv-row em span:last-child { background: rgba(13, 159, 140, 0.12); color: var(--bh-teal); }
.au-flow-step.is-play .fv-row em span { transform: translateY(-100%); }
.fv-row:nth-child(1) em span { transition-delay: 0.25s; }
.fv-row:nth-child(2) em span { transition-delay: 0.5s; }
.fv-row:nth-child(3) em span { transition-delay: 0.75s; }

/* 03 Approve */
.fm-approve { display: grid; align-content: center; gap: 8px; }
.fa-row { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 10px; background: #fff; }
.fa-row i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--bh-brand-soft); color: var(--bh-brand-deep); font-size: 9px; font-weight: 700; font-style: normal; }
.fa-row span { display: grid; font-weight: 600; line-height: 1.2; }
.fa-row small { color: var(--bh-muted); font-weight: 500; font-size: 10px; }
.fa-row u { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--bh-teal); }
.fa-row u::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; rotate: 45deg; }
.fa-row b { display: block; height: 22px; overflow: hidden; border-radius: 7px; font-size: 10px; }
.fa-row b span { display: block; height: 22px; line-height: 22px; padding: 0 9px; transition: transform 0.4s var(--bh-ease) 0.45s; }
.fa-row b span:first-child { background: var(--bh-brand); color: #fff; }
.fa-row b span:last-child { background: rgba(13, 159, 140, 0.12); color: var(--bh-teal); }
.au-flow-step.is-play .fa-row b { animation: bl-press 0.3s var(--bh-ease) 0.2s; }
.au-flow-step.is-play .fa-row b span { transform: translateY(-100%); }

/* 04 Route */
.fm-route { display: grid; align-content: center; gap: 9px; }
.fr-row { display: grid; grid-template-columns: 36px 1fr 26px; align-items: center; gap: 8px; }
.fr-row b { font-size: 10px; letter-spacing: 0.04em; color: var(--bh-brand-deep); }
.fr-row > span { height: 8px; border-radius: 8px; background: #e6e1f5; overflow: hidden; }
.fr-row > span span { display: block; width: var(--w); height: 100%; border-radius: inherit; background: var(--bh-brand); transform: scaleX(0); transform-origin: left; transition: transform 0.8s var(--bh-ease); }
.fr-row:nth-child(2) > span span { background: var(--bh-brand-deep); transition-delay: 0.12s; }
.fr-row:nth-child(3) > span span { background: var(--bh-teal); transition-delay: 0.24s; }
.fr-row em { font-style: normal; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.au-flow-step.is-play .fr-row > span span { transform: none; }

/* 05 Settle */
.fm-settle { display: grid; align-content: center; justify-items: start; gap: 2px; }
.fm-settle small { color: var(--bh-muted); font-weight: 600; }
.fm-settle strong { font-size: 22px; font-weight: 700; letter-spacing: -0.03em; }
.fs-utr { color: var(--bh-ink-soft); font-variant-numeric: tabular-nums; }
.fs-report { margin-top: 8px; padding: 5px 10px; border-radius: 8px; background: var(--bh-ink); color: #fff; font-style: normal; font-weight: 700; opacity: 0; transform: translateY(6px) scale(0.95); transition: opacity 0.35s var(--bh-ease) 0.4s, transform 0.35s var(--bh-ease) 0.4s; }
.au-flow-step.is-play .fs-report { opacity: 1; transform: none; }

/* ---------- Connect + close ---------- */

.au-connect { background: #fff; padding: 64px 0; }
.au-connect-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; }
.au-connect-card {
  border: 1px solid var(--bh-line);
  border-radius: 20px;
  padding: 28px;
  background: var(--bh-bg);
}
.au-connect-card h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bh-brand);
}
.au-mail {
  color: var(--bh-ink);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.au-mail span { display: inline-block; color: var(--bh-brand); transition: transform 0.3s var(--bh-ease); }
.au-mail:hover span { transform: translateX(6px); }
.au-socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.au-socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bh-ink);
  color: #fff;
  text-decoration: none;
  transition: background 0.25s var(--bh-ease), transform 0.25s var(--bh-ease);
}
.au-socials a:hover { background: var(--bh-brand); transform: translateY(-2px); }

.au-close { position: relative; overflow: hidden; padding: clamp(88px, 10vw, 128px) 0; }
.au-close .bh-wrap { position: relative; z-index: 1; }
.au-close .bh-display { font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.045em; }
.au-close-glow {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 900px;
  height: 900px;
  translate: -50% -45%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(129, 90, 240, 0.45), transparent);
  pointer-events: none;
}

/* ---------- Story modal ---------- */

.au-modal {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 13000;
  background: rgba(15, 18, 32, 0.6);
  backdrop-filter: blur(6px);
  padding: 20px;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--bh-ease), visibility 0s linear 0.35s;
}
.au-modal.is-open { opacity: 1; visibility: visible; transition: opacity 0.35s var(--bh-ease); }
html.au-modal-open { overflow: hidden; }
.au-modal-panel {
  width: min(680px, 100%);
  max-height: min(86vh, 780px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.45s var(--bh-ease);
}
.au-modal.is-open .au-modal-panel { transform: none; }
.au-modal-panel header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.au-modal-panel h2 { margin: 8px 0 12px; font-size: 28px; letter-spacing: -0.035em; }
.au-modal-panel p { color: var(--bh-ink-soft); font-size: 15px; line-height: 1.7; }
.au-modal-panel h3 { margin: 26px 0 8px; font-size: 18px; letter-spacing: -0.02em; }
.au-modal-panel button {
  border: 1px solid var(--bh-line-strong);
  background: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--bh-font);
  font-size: 18px;
}

/* ---------- Motion gating ----------
   html.au-motion is set in <head> when motion is allowed. Hero pieces stay hidden
   only until bulkpe-about.js adds .au-ready and GSAP takes over; the failsafe
   reveals them if the script never runs. */

html.au-motion:not(.au-ready) .au-tline > span { transform: translateY(110%); animation: au-failsafe 0.01s 2.5s forwards; }
html.au-motion:not(.au-ready) .au-hero [data-hero],
html.au-motion:not(.au-ready) .au-dc { opacity: 0; animation: au-failsafe 0.01s 2.5s forwards; }
@keyframes au-failsafe { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .au-rails-pulse { display: none; }
  .au-tape-track { animation: none; }
  .au-modal,
  .au-modal-panel,
  .au-acc .a,
  .au-shot img { transition: none; }
  .au-team-hint span { animation: none; }
  .au-modal-panel { transform: none; }
  .au-mini *, .au-mini *::after { transition: none !important; animation: none !important; }
  .au-flow-card { transition: none; }
  .au-dc-rows li.is-busy u { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .au-hero-grid,
  .au-journey-grid,
  .au-virtue-grid,
  .au-head,
  .au-connect-grid { grid-template-columns: 1fr; }
  .au-journey-head,
  .au-virtue-head { position: static; }
  /* Flow stacks vertically; rail runs down the left */
  .au-flow-rail { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .au-flow-fill { transform: scaleY(0); transform-origin: top; }
  .au-flow-token { display: none; }
  .au-flow-steps { grid-template-columns: 1fr; gap: 16px; padding-left: 32px; }
  .au-flow-step { padding-top: 0; }
  .au-flow-node { left: -32px; top: 22px; margin-left: 0; }
  .au-flow-card { display: grid; grid-template-columns: 200px 1fr; grid-template-rows: 1fr auto 1fr; column-gap: 16px; opacity: 1; }
  .au-flow-card .au-mini { grid-row: 1 / span 3; margin: 0; }
  .au-flow-n { align-self: end; }
  .au-flow-card p { align-self: start; }
  .au-dc { max-width: 520px; }
  .au-belief-grid { grid-template-columns: 1fr 1fr; }
  .au-toolgrid { grid-template-columns: 1fr 1fr; }
  /* Phones: no pin. The team becomes a swipeable card row with quotes. */
  .au-team-pin { height: auto; min-height: 0; overflow: visible; }
  .au-team-inner { padding: 64px 0; }
  .au-team-hint { display: none; }
  .au-team-body { display: block; }
  .au-stage,
  .au-roster-track,
  .au-roster-group { display: none; }
  .au-roster { padding: 0; }
  .au-people {
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-right: -20px;
    padding-right: 20px;
  }
  .au-people::-webkit-scrollbar { display: none; }
  .au-person,
  .au-person.is-on { display: block; padding: 0; background: transparent; transform: none; scroll-snap-align: start; cursor: default; }
  .au-shot { grid-row: auto; width: 100%; height: auto; aspect-ratio: 4 / 4.6; border-radius: 18px; }
  .au-shot img { filter: none; }
  .au-person.is-on .au-shot::after { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
  .au-person strong { display: block; margin-top: 12px; font-size: 16px; color: #fff; }
  .au-person .role { display: block; margin-top: 2px; color: #5fe0cb; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
  .au-line { position: static; display: block; margin-top: 10px; padding: 0; background: none; opacity: 1; transform: none; color: rgba(255, 255, 255, 0.72); font-size: 14px; line-height: 1.55; }
}

@media (max-width: 640px) {
  .au-flow-card { grid-template-columns: 1fr; }
  .au-flow-card { grid-template-rows: none; }
  .au-flow-card .au-mini { grid-row: auto; margin-bottom: 12px; }
  .au-hero { padding-top: 40px; }
  .au-step { grid-template-columns: 40px 1fr; gap: 16px; padding-bottom: 40px; }
  .au-step-dot { width: 40px; height: 40px; font-size: 12px; }
  .au-timeline-track { left: 19px; }
  .au-belief-grid,
  .au-toolgrid { grid-template-columns: 1fr; }
  .au-dc-rows li { grid-template-columns: 30px minmax(0, 1fr) auto 22px; }
  .au-dc-rows em { display: none; }
  .au-tape { rotate: -3deg; }
  .au-connect-card { padding: 22px; }
}
