/* You know your business best (from the Alamode and Place to B talks): off
   the shelf on the left, a receipt growing line by line; the team on the
   right, their own apps popping into place around them, wired to the systems
   they already run. It plays while on screen, then settles and repeats.
   Tokens only, no raw hex. */

main > section.bd:not(.hero) { padding-top: clamp(40px, 6vh, 90px); }
.bd-wrap { max-width: var(--page-w); margin: 0 auto; }
.bd-text { max-width: 62ch; margin: 0 auto; text-align: center; }
.bd-ask { margin: 0 0 0.8em; font: italic 500 var(--text-lg)/1.4 var(--display); color: var(--ink-3); }
.bd-head { margin: 0; font: 600 var(--head-xl)/1.06 var(--display); letter-spacing: -0.016em; color: var(--ink); }
.bd-lead { margin: 0.9em auto 0; max-width: 56ch; font: var(--text-base)/1.55 var(--body); color: var(--ink-2); }

.bd-stage {
  margin: clamp(28px, 3.4vw, 50px) auto 0;
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 70px); align-items: end;
}
.bd-cap { margin: 0.9em 0 0; text-align: center; font: 600 var(--text-lg)/1.3 var(--display); color: var(--ink); }
.bd-cap span { display: block; margin-top: 0.2em; font: italic 500 var(--text-sm)/1.4 var(--display); color: var(--ink-3); }

/* left: the shelf and its receipt */
.bd-left { margin-bottom: 0; }
.bd-shelf { position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 1.2em; opacity: 0.9; }
.bd-shelf img { width: 44%; height: auto; display: block; filter: saturate(0.7); }
.bd-receipt {
  width: 52%; padding: 1.1em 1.1em 1.2em;
  background: color-mix(in srgb, var(--ink) 92%, var(--paper));
  color: var(--paper);
  font: 500 var(--text-sm)/1.35 var(--body);
  clip-path: polygon(0 0, 100% 0, 100% 96%, 92% 100%, 84% 96%, 76% 100%, 68% 96%, 60% 100%, 52% 96%, 44% 100%, 36% 96%, 28% 100%, 20% 96%, 12% 100%, 4% 96%, 0 100%);
}
.bd-receipt b { display: block; margin-bottom: 0.6em; font: 600 var(--text-sm)/1.2 var(--body); letter-spacing: 0.08em; text-transform: uppercase; }
.bd-line {
  display: flex; justify-content: space-between; gap: 0.8em;
  padding: 0.42em 0; border-top: 1px dashed color-mix(in srgb, var(--paper) 35%, transparent);
  opacity: 0; transform: translateY(6px);
  transition: opacity 500ms ease, transform 600ms ease;
}
.bd-line i { font-style: normal; font-weight: 600; text-align: right; color: color-mix(in srgb, var(--pen) 82%, black); }
.bd-line.on { opacity: 1; transform: none; }

/* right: the team and the apps they build */
.bd-team { position: relative; padding-top: 50%; margin-bottom: 5.6em; }
.bd-team > img.bd-team-art {
  position: absolute; left: 19%; bottom: -3%; width: 62%; height: auto;
  /* the painting keeps its own counter; its edges melt into the page */
  -webkit-mask-image: radial-gradient(closest-side, var(--ink) 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, var(--ink) 62%, transparent 100%);
}
.bd-app {
  position: absolute; width: 21%; z-index: 1;
  padding: 0.7em 0.8em 0.75em;
  border-radius: 10px;
  background: color-mix(in srgb, var(--paper) 70%, white 10%);
  border: 2px solid color-mix(in srgb, var(--kind-reference) 70%, transparent);
  box-shadow: 0 0 1.4em color-mix(in srgb, var(--kind-reference) 30%, transparent);
  font: 600 var(--text-sm)/1.25 var(--display); color: var(--ink);
  opacity: 0; transform: translateY(14px) scale(0.9);
  transition: opacity 700ms ease, transform 900ms cubic-bezier(.3,1.4,.5,1);
}
.bd-app::before {
  content: ""; display: block; height: 0.45em; margin-bottom: 0.55em;
  background: radial-gradient(circle at 0.25em 50%, var(--ink-3) 0.16em, transparent 0.18em),
              radial-gradient(circle at 0.75em 50%, var(--ink-3) 0.16em, transparent 0.18em);
  border-bottom: 1px solid color-mix(in srgb, var(--kind-reference) 40%, transparent);
  padding-bottom: 0.35em;
}
.bd-app small { display: block; margin-top: 0.25em; font: 400 var(--text-xs)/1.3 var(--body); color: var(--ink-3); }
.bd-app.on { opacity: 1; transform: none; }
.bd-sys {
  position: absolute; bottom: -2.2em;
  font: 500 var(--text-xs)/1 var(--body); color: var(--ink-3);
  padding: 0.5em 0.8em; border-radius: 6px;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}
.bd-sys::before { content: ""; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.5em; border-radius: 50%; background: var(--kind-plan); box-shadow: 0 0 0.6em var(--kind-plan); vertical-align: 0.05em; }

@media (prefers-reduced-motion: reduce) {
  .bd-line, .bd-app { opacity: 1; transform: none; transition: none; }
}
@media (max-width: 760px) {
  .bd-stage { grid-template-columns: 1fr; }
}
