/* Home "What you get" benefit visuals (partials/home-benefits.html; motion in js/home.js).
   Stageshow method, vanilla: each visual is a stage (the .file__media box, overflow hidden) with one hero object
   and at most one card + one chip. One family across the seven:
   - one gutter (28px; 16px compact), one window radius (12), one card radius (14), chips are pills;
   - one shadow pair: --bv-sh-hero on the hero surface, --bv-sh-sat on a satellite sitting on it;
   - satellite rule: the card straddles the hero's left edge, pinned to the stage's bottom-left gutter;
     a chip sits centred on a corner;
   - grounds from the brand: photo, sand, spruce (03), sage, sand, sage, spruce: neighbours always differ;
   - UI type 12.5–15.5px Instrument Sans; covers in Instrument Serif.
   Compact (stage under 540px wide, i.e. phones and the 1024–1199 two-column band) is a second design, not a squeeze.
   Tokens (--hs-*) are shared with the community mock (home-stage.css). */

.bv {
  --g: 28px;
  --bv-sh-hero: 0 0 0 1px rgba(11, 70, 55, .07), 0 30px 60px -12px rgba(16, 46, 38, .30), 0 18px 36px -18px rgba(0, 0, 0, .22);
  --bv-sh-sat: 0 0 0 1px rgba(11, 70, 55, .06), 0 14px 32px -8px rgba(16, 46, 38, .32), 0 4px 10px -4px rgba(0, 0, 0, .12);
  --bv-line: #E9E8E1;
  container: bv / inline-size;
  isolation: isolate;
  font-family: var(--font-sans);
  font-size: 14px; line-height: 1.4;
  color: var(--hs-ink);
  -webkit-font-smoothing: antialiased;
  user-select: none; -webkit-user-select: none;
  text-align: left;
}
.bv *, .bv *::before, .bv *::after { box-sizing: border-box; }
.bv p { margin: 0; }
.bv img { max-width: none; }
.bv .hs-i { display: block; flex: none; }
.bv > * { visibility: var(--hs-illustration-visibility, hidden); }

/* ------------------------------------------------------------------ shared parts */
.bv-sat { z-index: 2; border-radius: 14px; background: #fff; box-shadow: var(--bv-sh-sat); }
.bv-win { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: var(--bv-sh-hero); }
.bv-kicker { font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--hs-muted); }
.bv-title { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.3; letter-spacing: -.012em; color: var(--hs-ink); text-wrap: balance; }
.bv-meta { display: flex; align-items: center; gap: 5px; font-size: 13px; line-height: 1.3; color: var(--hs-muted); }
.bv-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--hs-blue-soft); color: var(--hs-spruce); }
.bv-ph { display: inline-block; width: var(--w); height: .62em; border-radius: 99px; background: rgba(28, 39, 36, .1); vertical-align: .02em; }
.bv-ph--3 { height: 8px; background: rgba(28, 39, 36, .13); }
.bv-disc { display: block; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--hs-blue); box-shadow: 0 0 0 2px #fff; }
.bv-disc--pink { background: var(--hs-pink); }
.bv-disc--l { width: 38px; height: 38px; box-shadow: none; }
.bv-badge { display: inline-flex; align-items: center; flex: none; height: 22px; padding: 0 9px; border-radius: 99px; background: #EDF3F1; font-size: 12px; font-weight: 600; color: var(--hs-spruce); white-space: nowrap; }
.bv-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 5px; border-radius: 99px; background: #fff; box-shadow: var(--bv-sh-sat); font-size: 13px; font-weight: 600; letter-spacing: -.005em; color: var(--hs-ink); white-space: nowrap; }
.bv-chip .hs-av { box-shadow: none; }
.bv-chipwrap { z-index: 3; }

/* ================================================================== 01 · peer groups: photo ground, one card */
.bv--peer { background: #2B2621; }
.bv-photo { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%; }
.bv-group { left: var(--g); bottom: var(--g); width: 252px; padding: 15px 18px 16px; }
.bv-group .bv-title { margin-top: 2px; }
.bv-group__pile { display: flex; margin-top: 12px; }
.bv-group__pile .hs-av { box-shadow: 0 0 0 2px #fff; font-size: 11px; }
.bv-pop { display: inline-grid; }
.bv-pop + .bv-pop { margin-left: -5px; }
.bv-next { display: flex; align-items: center; gap: 11px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--bv-line); }
.bv-next__t { display: flex; flex-direction: column; gap: 1px; font-size: 13px; line-height: 1.3; color: var(--hs-muted); }
.bv-next__t b { font-size: 14px; font-weight: 600; color: var(--hs-ink); }

/* ================================================================== 04 · in-person events: photo hero, RSVP card */
.bv--events { background: #3A2F28; }
.bv-pic { inset: 0; overflow: hidden; background: #3A2F28; }
.bv-pic img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.bv-rsvp { left: var(--g); bottom: var(--g); width: 256px; padding: 16px; }
.bv-rsvp__head { display: flex; align-items: center; gap: 12px; }
.bv-rsvp .hs-date { width: 44px; height: 48px; font-size: 11.5px; }
.bv-rsvp .hs-date b { font-size: 17px; }
.bv-rsvp__t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.bv-rsvp__btn {
  position: relative;
  display: grid; place-items: center;
  height: 38px; margin-top: 14px;
  border-radius: 10px;
  background: var(--hs-blue-soft); box-shadow: inset 0 0 0 1px rgba(11, 70, 55, .14);
  font-size: 14px; font-weight: 600; letter-spacing: -.005em; color: var(--hs-spruce);
  transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.bv-rsvp__lbl { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; transition: opacity .2s ease, transform .3s var(--hs-soft); }
.bv-rsvp__lbl--go { opacity: 0; transform: translateY(-4px); }
.bv-cursor { position: absolute; z-index: 4; right: 62px; bottom: 10px; display: block; opacity: 0; pointer-events: none; }
.bv-cursor svg { display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); transform-origin: 10px 3px; }

/* ================================================================== 05 · tailored intros: the DM thread */
.bv--intros { background: var(--sand); }
.bv-dm { left: var(--g); right: var(--g); top: var(--g); bottom: -48px; }
.bv-dm__head { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-bottom: 1px solid var(--bv-line); }
.bv-dm__pile { display: flex; }
.bv-dm__pile .bv-disc + .bv-disc { margin-left: -8px; }
.bv-dm__tools { display: flex; align-items: center; gap: 12px; margin-left: auto; color: var(--hs-icon); }
.bv-dm__body { padding: 16px 24px 0; }
.bv-msg { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; }
.bv-msg__who { display: flex; align-items: center; gap: 8px; min-height: 22px; }
.bv-msg__who b { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--hs-ink); }
.bv-badge--admin { height: 20px; padding: 0 8px; background: var(--hs-blue-soft); font-size: 11.5px; }
.bv-msg__time { margin-left: 4px; font-size: 12.5px; color: var(--hs-muted); }
.bv-msg__role { font-size: 13px; line-height: 1.3; color: var(--hs-muted); }
.bv-msg__text { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--hs-ink-2); text-wrap: pretty; }
.bv-msg__text p + p { margin-top: 8px; }
.bv-msg--reply { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--bv-line); }
.bv-msg--reply .bv-msg__text { margin-top: 2px; }
.bv-stamp { display: none; }


/* ================================================================== 06 · CPD: a session recording (16:9 player) + the credit card
   The stage is a size container so the player can be sized by both width and height: 16:9, as big as fits while
   leaving room for the card's outside half; the pair is centred. Wide: the card straddles the player's right edge,
   over the poster's pattern. Compact: stacked cards, the credit under the player. */
.bv--cpd { container-type: size; background: var(--sage); }
.bv--cpd > * { --ov: 84px; --pw: min(calc(100cqw - 2 * var(--g) - var(--ov)), calc((100cqh - 2 * var(--g)) * 16 / 9)); }
.bv-player { left: calc((100cqw - var(--pw) - var(--ov)) / 2); top: calc((100cqh - var(--pw) * 9 / 16) / 2); width: var(--pw); aspect-ratio: 16 / 9; }
.bv-video {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 0 0 44px 32px;
  overflow: hidden; isolation: isolate;
  border-radius: 12px; background: #0B4637; color: #F3F2DE; box-shadow: var(--bv-sh-hero);
}
.bv-poster__top { display: flex; align-items: center; gap: 12px; }
.bv-poster__wm { display: block; width: auto; height: calc(var(--pw) * .044); }
.bv-poster__pill { display: inline-flex; align-items: center; height: 21px; padding: 0 9px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(243, 242, 222, .7); font-size: 11px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.bv-poster__t { max-width: calc(var(--pw) - var(--ov) - 64px); margin-top: calc(var(--pw) * .03); font-family: var(--font-serif); font-size: calc(var(--pw) * .06); line-height: 1.02; letter-spacing: -.006em; text-wrap: balance; }
.bv-poster__t em { font-style: italic; color: #E8C4C4; }
.bv-poster__faces { display: flex; gap: calc(var(--pw) * .012); margin-top: calc(var(--pw) * .036); }
.bv-poster__faces .bv-pop + .bv-pop { margin-left: 0; }
.bv-poster__faces img { display: block; width: calc(var(--pw) * .084); height: calc(var(--pw) * .084); border-radius: calc(var(--pw) * .018); object-fit: cover; }
.bv-controls {
  position: absolute; left: 0; right: 0; bottom: 0; height: 40px;
  display: flex; align-items: center; gap: 12px; padding: 0 14px;
  background: #072E24; color: #F3F2DE;
}
.bv-ctl { display: block; flex: none; }
.bv-ctl--play { margin-left: 1px; }
.bv-time { flex: none; font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .01em; color: #DCE6E2; white-space: nowrap; }
.bv-scrub { position: relative; flex: 1; height: 4px; border-radius: 99px; background: #2C5A4D; }
.bv-scrub__buf { position: absolute; inset: 0 auto 0 0; width: 62%; border-radius: inherit; background: #4C7568; }
.bv-scrub__fill { position: absolute; inset: 0 auto 0 0; width: 39%; border-radius: inherit; background: var(--hs-blue); transform-origin: 0 50%; }
.bv-scrub__fill::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #F3F2DE; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.bv-cc { flex: none; display: grid; place-items: center; height: 17px; padding: 0 4px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #F3F2DE; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; line-height: 1; }
/* the credit: straddles the player's right edge, its outside half in the reserved --ov column */
.bv-credit {
  left: calc((100cqw - var(--pw) - var(--ov)) / 2 + var(--pw) + var(--ov) - 176px);
  top: calc((100cqh - var(--pw) * 9 / 16) / 2 + var(--pw) * 9 / 16 * .2);
  width: 176px; padding: 14px 16px 15px;
  display: flex; flex-direction: column;
  background: #FFFEF8;
}
.bv-credit__txt { display: flex; flex-direction: column; }
.bv-credit__k { padding-right: 40px; font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--hs-muted); }
.bv-credit__big { margin: 10px 0 7px; font-family: var(--font-serif); font-size: 31px; line-height: 1; color: var(--hs-spruce); white-space: nowrap; }
.bv-credit__ok { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; height: 22px; padding: 0 9px 0 7px; border-radius: 99px; background: var(--hs-blue-soft); font-size: 12px; font-weight: 600; color: var(--hs-spruce); }
/* the stamp: the brand monogram struck in clay, a few degrees off true */
.bv-seal {
  position: absolute; top: 12px; right: 12px;
  display: block; width: 40px; height: 40px;
  background: var(--clay);
  -webkit-mask: url("/assets/monogram-ivory.svg") center / contain no-repeat;
  mask: url("/assets/monogram-ivory.svg") center / contain no-repeat;
  rotate: -10deg;
}


/* ================================================================== 07 · resources: the library's index cards, a loose pile */
.bv--lib { background: var(--spruce); }
.bv-pile { left: 50%; top: calc(50% + 75px); display: grid; translate: -50% -50%; }
.bv-idx {
  grid-area: 1 / 1;
  display: flex; flex-direction: column;
  width: 304px; height: 160px; padding: 13px 18px 16px;
  border-radius: 3px;
  background-color: #F1EBD4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 16px 30px -10px rgba(0, 0, 0, .5), 0 2px 5px rgba(0, 0, 0, .25);
  color: var(--hs-spruce);
}
.bv-idx__k { padding-bottom: 5px; border-bottom: 3px double rgba(11, 70, 55, .75); font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1.2; }
.bv-idx__l { margin-top: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; line-height: 1.2; opacity: .7; }
.bv-idx__t { margin-top: 3px; font-family: var(--font-serif); font-size: 27px; line-height: 1.02; text-wrap: balance; }
/* back to front: alternate small angles, each card a strip higher, so every title's first line shows */
.bv-idx--back { translate: -14px -150px; rotate: -3deg; }
.bv-idx--mid { translate: 12px -75px; rotate: 2.5deg; }
.bv-idx--top { translate: 0 0; rotate: -1deg; }
.bv-idx--top .bv-idx__t { font-size: 30px; }
.bv-chipwrap--copy { position: absolute; left: 100%; top: 100%; translate: -50% -50%; }
.bv-chip--copy { gap: 7px; padding: 0 14px 0 12px; height: 34px; color: var(--hs-spruce); }

/* ================================================================== motion: once, on scroll-in (js/home.js arms a visual only
   while it is still below the fold, then sets data-in). Rules for this section:
   - large objects (covers, windows, photos, players, cards) never fade: at most a short transform;
   - small chips pop by scale, text and rows are revealed by a clip (a wipe), never by opacity;
   - the markup is the final frame: without JS, with reduced motion, or before arming, everything is solid. */
[data-bv-rise] { transition: transform .8s var(--hs-arrive) var(--d, 0s); }
[data-bv-pop] { transition: transform .45s var(--hs-soft) var(--d, 0s); }
[data-bv-wipe] { clip-path: inset(-6px); transition: clip-path .3s linear var(--d, 0s), transform .45s var(--hs-arrive) var(--d, 0s); }
[data-bv-stamp] { transition: transform .32s cubic-bezier(.3, 1.5, .5, 1) var(--d, 0s); }
.bv-pop { transition: transform .5s var(--hs-soft) calc(.4s + var(--k) * 70ms); }
[data-bv-deal] { transition: transform .75s var(--hs-arrive) var(--d, 0s); }
.bv-scrub__fill { transition: transform 3s linear .6s; }
@media (prefers-reduced-motion: no-preference) {
  .bv[data-bv-armed]:not([data-in]) :is([data-bv-rise], [data-bv-pop], [data-bv-wipe], [data-bv-stamp], [data-bv-deal], .bv-pop, .bv-scrub__fill) { transition: none; }
  .bv[data-bv-armed]:not([data-in]) [data-bv-rise] { transform: translateY(14px); }
  .bv[data-bv-armed]:not([data-in]) [data-bv-pop] { transform: scale(0); }
  .bv[data-bv-armed]:not([data-in]) [data-bv-wipe] { clip-path: inset(-6px -6px 100% -6px); transform: translateY(4px); }
  .bv[data-bv-armed]:not([data-in]) [data-bv-stamp] { transform: scale(1.25); }
  .bv[data-bv-armed]:not([data-in]) .bv-pop { transform: scale(0); }
  /* the cards are dealt from above the stage (which masks them), never faded */
  .bv[data-bv-armed]:not([data-in]) [data-bv-deal] { transform: translateY(-110px); }
  .bv[data-bv-armed]:not([data-in]) .bv-scrub__fill { transform: scaleX(.8); }

  /* 04: the card arrives on "RSVP"; a hand comes in, presses, and the button confirms on itself */
  .bv[data-bv-armed]:not([data-in]) .bv-rsvp__btn { background: var(--hs-spruce); box-shadow: none; color: #fff; }
  .bv[data-bv-armed]:not([data-in]) .bv-rsvp__lbl--go { opacity: 1; transform: none; }
  .bv[data-bv-armed]:not([data-in]) .bv-rsvp__lbl--done { opacity: 0; transform: translateY(4px); }
  .bv[data-bv-armed][data-in] .bv-rsvp__btn { transition-delay: 2.05s; animation: bv-press .22s ease 1.9s; }
  .bv[data-bv-armed][data-in] .bv-rsvp__lbl--go { transition-delay: 2.05s; }
  .bv[data-bv-armed][data-in] .bv-rsvp__lbl--done { transition-delay: 2.12s; }
  .bv[data-bv-armed][data-in] .bv-cursor { animation: bv-hand 2.9s both .95s; }
  .bv[data-bv-armed][data-in] .bv-cursor svg { animation: bv-tap .22s ease 1.9s; }
}
@keyframes bv-press { 50% { transform: scale(.97); } }
@keyframes bv-tap { 50% { transform: scale(.88); } }
@keyframes bv-hand {
  0% { opacity: 0; transform: translate(54px, 40px); }
  12% { opacity: 1; }
  32% { transform: translate(54px, 40px); animation-timing-function: cubic-bezier(.45, 0, .1, 1); }
  58%, 72% { opacity: 1; transform: none; }
  100% { opacity: 0; transform: translate(10px, 10px); }
}

/* ================================================================== compact: a second design for narrow stages */
@container bv (max-width: 539.98px) {
  .bv-sat { border-radius: 12px; }
  .bv-title { font-size: 14.5px; }

  /* 01: the card smaller, the faces kept above it */
  .bv-group { left: 16px; bottom: 16px; width: 224px; padding: 13px 15px 14px; }
  .bv-group__pile { margin-top: 10px; }
  .bv-group__pile .hs-av { --av: 26px !important; font-size: 10px; }
  .bv-next { margin-top: 12px; padding-top: 12px; }
  .bv-ic { width: 30px; height: 30px; border-radius: 9px; }


  /* 04: the photo nearer the edge, the card tighter */
  .bv-rsvp { left: 16px; bottom: 16px; width: 236px; padding: 14px; }
  .bv-rsvp__btn { height: 36px; margin-top: 12px; }

  /* 05: the thread at phone size; the bars paragraph goes, the words stay */
  .bv-dm { left: 16px; right: 16px; top: 16px; }
  .bv-dm__head { height: 46px; gap: 8px; padding: 0 12px; }
  .bv-dm__head > .bv-ph { display: none; }
  .bv-dm__body { padding: 14px 14px 0; }
  .bv-msg { grid-template-columns: 34px minmax(0, 1fr); gap: 10px; }
  .bv-msg .hs-av { --av: 34px !important; }
  .bv-disc--l { width: 34px; height: 34px; }
  .bv-msg__who b { font-size: 14.5px; }
  .bv-msg__text { margin-top: 8px; font-size: 14px; line-height: 1.45; }
  .bv-dm__fill { display: none; }
  .bv-msg--reply { margin-top: 14px; padding-top: 14px; }


  /* 06: stacked cards: the player across the top, the credit under it as a wide strip that fills to the gutter */
  .bv--cpd > * { --g: 16px; --ov: 0px; --pw: calc(100cqw - 2 * var(--g)); }
  .bv-player { left: var(--g); top: var(--g); }
  .bv-video { padding: 0 0 36px 20px; }
  .bv-poster__t { max-width: none; font-size: calc(var(--pw) * .072); }
  .bv-poster__faces img { width: calc(var(--pw) * .1); height: calc(var(--pw) * .1); }
  .bv-poster__pill { height: 19px; font-size: 10px; }
  .bv-controls { height: 34px; gap: 10px; padding: 0 12px; }
  .bv-time { font-size: 11.5px; }
  .bv-credit {
    left: var(--g); right: var(--g); width: auto; top: calc(var(--g) + var(--pw) * 9 / 16 + 12px); bottom: var(--g);
    flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 14px 10px 16px;
  }
  .bv-credit__txt { display: grid; grid-template-columns: auto auto; align-items: center; column-gap: 12px; row-gap: 4px; }
  .bv-credit__k { grid-column: 1 / -1; padding-right: 0; font-size: 11.5px; }
  .bv-credit__big { margin: 0; font-size: 27px; }
  .bv-seal { position: static; width: 38px; height: 38px; flex: none; }

  /* 07: a smaller pile; the chip straddles the top card's foot, right-aligned to it */
  .bv-pile { top: calc(50% + 62px); }
  .bv-idx { width: 248px; height: 132px; padding: 11px 14px 12px; }
  .bv-idx__k { padding-bottom: 4px; font-size: 8.5px; }
  .bv-idx__l { margin-top: 4px; font-size: 8px; }
  .bv-idx__t { font-size: 22px; }
  .bv-idx--top .bv-idx__t { font-size: 24px; }
  .bv-idx--back { translate: -10px -122px; }
  .bv-idx--mid { translate: 8px -61px; }
  .bv-chipwrap--copy { left: auto; right: -6px; translate: 0 -50%; }
  .bv-chip--copy { height: 32px; font-size: 12.5px; }
}

/* 07: the cards under the pile show a strip each: header and the first line of the title (no TITLE: row) */
:is(.bv-idx--back, .bv-idx--mid) .bv-idx__l { display: none; }
:is(.bv-idx--back, .bv-idx--mid) .bv-idx__t { margin-top: 8px; max-height: 1.1em; overflow: hidden; }

/* 05: a reply composer at the foot, only where the stage is tall enough to hold it (the 2-column band, compact) */
.bv-dm__compose { display: none; }
/* 02/05 in the 1024–1199 two-column band: the compact designs sit in a tall slot; fill it */
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .bv-dm .bv-dm__body { display: flex; flex-direction: column; flex: 1; min-height: 0; padding-bottom: 64px; }
  .bv-dm { display: flex; flex-direction: column; }
  .bv-dm .bv-dm__fill { display: block; }
  .bv-dm .bv-stamp { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-size: 12px; font-weight: 500; color: var(--hs-muted); }
  .bv-dm .bv-stamp::before, .bv-dm .bv-stamp::after { content: ""; flex: 1; height: 1px; background: var(--bv-line); }
  .bv-dm .bv-msg__text { line-height: 1.55; }
  .bv-dm .bv-msg__text p + p { margin-top: 10px; }
  .bv-dm__compose { display: flex; align-items: center; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--bv-line); }
  .bv-dm__compose .bv-disc { box-shadow: none; }
  .bv-dm__field { flex: 1; height: 38px; display: flex; align-items: center; padding: 0 14px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--hs-line-2); font-size: 13.5px; color: var(--hs-faint); }
}
/* the narrowest phones: the greeting line and the timestamp go, so the reply stays whole */
@container bv (max-width: 319.98px) {
  .bv-dm__hi, .bv-msg__time--first { display: none; }
}

/* ================================================================== 02 · AI training: the AI Bootcamp course player, mid-lesson
   One focal object: the video. The player window sits a gutter in from the sides and top and runs off the bottom
   (the lesson text under the video is what gets cut). Wide: top bar, a 140px slice of the lesson rail, the video in
   the main column, sized by the stage's height so its controls always show. Compact (< 540): no rail; the lesson
   title + Complete lesson under the video. Phone (< 400): no top bar either, and the slide keeps only the three
   questions and Dylan. The slide is authored at 640 x 360 units (--u) and scales with the video (container units). */
.bv--ai { container-type: size; background: var(--sand); }
.bv-course {
  --vw: min(100cqw - 2 * var(--g) - 152px, (100cqh - var(--g) - 44px - 36px - 58px) * 16 / 9);
  left: var(--g); right: var(--g); top: var(--g); bottom: -40px;
  display: flex; flex-direction: column;
  overflow: hidden; border-radius: 12px; background: #fff; box-shadow: var(--bv-sh-hero);
}
.bv-cbar { display: flex; align-items: center; gap: 10px; flex: none; height: 44px; padding: 0 8px 0 10px; border-bottom: 1px solid var(--bv-line); }
.bv-ibtn { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--hs-line-2); color: var(--hs-icon); }
.bv-cbar__t { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; color: var(--hs-ink); white-space: nowrap; }
.bv-cbar__nav { display: flex; gap: 6px; margin-left: auto; }
.bv-cbtn { display: inline-flex; align-items: center; flex: none; height: 30px; padding: 0 12px; border-radius: 8px; background: var(--hs-spruce); font-size: 13px; font-weight: 600; letter-spacing: -.005em; color: #fff; white-space: nowrap; }
.bv-cbody { display: grid; grid-template-columns: minmax(0, 1fr) var(--vw); flex: 1; min-height: 0; }

/* the rail: progress, the module, five lessons (the one playing highlighted) */
.bv-rail { display: flex; flex-direction: column; min-width: 0; padding: 12px 8px; border-right: 1px solid var(--bv-line); background: var(--hs-canvas); }
.bv-prog { padding: 0 6px 12px; border-bottom: 1px solid var(--bv-line); }
.bv-prog__l { display: flex; justify-content: space-between; gap: 6px; font-size: 11.5px; font-weight: 600; line-height: 1.3; color: var(--hs-ink); white-space: nowrap; }
.bv-prog__p { font-weight: 500; color: var(--hs-muted); font-variant-numeric: tabular-nums; }
.bv-prog__bar { display: block; height: 4px; margin-top: 8px; border-radius: 99px; background: #E7E7DF; }
.bv-prog__bar i { display: block; width: 21%; height: 100%; border-radius: inherit; background: var(--hs-spruce); }
.bv-mod { display: flex; flex-direction: column; gap: 2px; padding: 12px 6px 8px; }
.bv-mod b { font-size: 12px; font-weight: 600; line-height: 1.3; color: var(--hs-ink); }
.bv-mod span { font-size: 11px; line-height: 1.3; color: var(--hs-muted); }
.bv-les { display: grid; grid-template-columns: 18px minmax(0, 1fr); align-items: center; gap: 8px; padding: 7px 6px; border-radius: 8px; }
.bv-les__s { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #CFD3CE; color: #fff; }
.bv-les--done .bv-les__s, .bv-les--now .bv-les__s { background: var(--hs-spruce); box-shadow: none; }
.bv-les__s svg { display: block; }
.bv-les--now .bv-les__s svg { margin-left: 1px; }
.bv-les__t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.bv-les__t b { overflow: hidden; font-size: 12px; font-weight: 500; line-height: 1.3; color: var(--hs-ink); white-space: nowrap; text-overflow: ellipsis; }
.bv-les__t span { font-size: 11px; line-height: 1.3; color: var(--hs-muted); white-space: nowrap; }
.bv-les--now { background: var(--hs-blue-soft); }
.bv-les--now .bv-les__t b { font-weight: 600; color: var(--hs-spruce); white-space: normal; }
.bv-les--now .bv-les__t span { color: #4E6B62; }

/* the video: a whiteboard slide (cream, solid), Dylan's webcam in its bottom-left corner */
.bv-main { display: flex; flex-direction: column; min-width: 0; }
.bv-vid { container: bvvid / inline-size; position: relative; flex: none; aspect-ratio: 16 / 9; overflow: hidden; background: #FBF8EC; }
/* the picture: Dylan's screen share, a desktop chat app at rest on its home screen (neutral greys, no marks), with
   the prompt for this lesson being typed. Authored at 640 x 360 units (--u); a small video (phone) drops the app's
   sidebar and the suggestion chips, and scales the rest up (440 units across). */
.bv-scr { --u: calc(100cqw / 640); position: absolute; inset: 0; display: flex; background: #FDFDFC; font-family: var(--font-sans); color: #2B2B29; }
.bv-scr svg { display: block; flex: none; }
.bv-scr__side { display: flex; flex-direction: column; flex: none; width: calc(146 * var(--u)); padding: calc(12 * var(--u)) calc(10 * var(--u)); border-right: 1px solid #E8E8E4; background: #F5F5F3; font-size: calc(12.5 * var(--u)); line-height: 1.2; }
.bv-scr__lights { display: flex; gap: calc(6 * var(--u)); margin: 0 0 calc(14 * var(--u)) calc(4 * var(--u)); }
.bv-scr__lights i { width: calc(9 * var(--u)); height: calc(9 * var(--u)); border-radius: 50%; background: #DCDCD7; }
.bv-scr__seg { display: flex; padding: calc(2.5 * var(--u)); border-radius: calc(8 * var(--u)); background: #EAEAE6; font-size: calc(12 * var(--u)); color: #8A8A86; }
.bv-scr__seg > * { flex: 1; padding: calc(4 * var(--u)) calc(8 * var(--u)); border-radius: calc(6 * var(--u)); text-align: center; white-space: nowrap; }
.bv-scr__seg b { font-weight: 500; background: #fff; color: #2B2B29; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.bv-scr__side > .bv-scr__seg { margin-bottom: calc(10 * var(--u)); }
.bv-scr__row { padding: calc(5.5 * var(--u)) calc(8 * var(--u)); border-radius: calc(6 * var(--u)); color: #3A3A37; white-space: nowrap; }
.bv-scr__row--on { background: #EAEAE6; }
.bv-scr__grp { padding: calc(8 * var(--u)) calc(8 * var(--u)) 0; font-size: calc(11 * var(--u)); color: #A3A39E; white-space: nowrap; }
.bv-scr__row + .bv-scr__grp { margin-top: calc(10 * var(--u)); }
.bv-scr__main { display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 1; min-width: 0; padding-bottom: calc(14 * var(--u)); }
.bv-scr__hi { font-family: var(--font-serif); font-size: calc(32 * var(--u)); line-height: 1.1; letter-spacing: -.01em; color: #2B2B29; white-space: nowrap; }
.bv-scr__box { position: relative; display: flex; flex-direction: column; align-items: flex-start; width: calc(344 * var(--u)); margin-top: calc(16 * var(--u)); padding: calc(10 * var(--u)) calc(12 * var(--u)) calc(9 * var(--u)); border-radius: calc(14 * var(--u)); background: #fff; box-shadow: 0 0 0 1px #E2E2DE, 0 calc(3 * var(--u)) calc(10 * var(--u)) rgba(0, 0, 0, .05); }
.bv-scr__in { position: relative; min-height: calc(40 * var(--u)); margin-top: calc(2 * var(--u)); padding-right: calc(30 * var(--u)); font-size: calc(14 * var(--u)); line-height: 1.3; color: #2B2B29; }
.bv-scr__ph { color: #A3A39E; }
.bv-scr__tools { display: flex; align-items: center; gap: calc(6 * var(--u)); align-self: stretch; margin-top: calc(6 * var(--u)); font-size: calc(11.5 * var(--u)); }
.bv-scr__plus { display: grid; place-items: center; width: calc(22 * var(--u)); height: calc(22 * var(--u)); border-radius: calc(6 * var(--u)); box-shadow: inset 0 0 0 1px #E2E2DE; color: #6A6A66; }
.bv-scr__plus svg, .bv-scr__mic svg { width: calc(13 * var(--u)); height: calc(13 * var(--u)); }
.bv-scr__seg--sm { padding: calc(2 * var(--u)); font-size: calc(11 * var(--u)); background: #F2F2EF; }
.bv-scr__seg--sm > * { padding: calc(2.5 * var(--u)) calc(7 * var(--u)); }
.bv-scr__model { margin-left: auto; font-weight: 500; color: #3A3A37; }
.bv-scr__mic { color: #6A6A66; }
.bv-scr__chips { display: flex; justify-content: center; gap: calc(5 * var(--u)); margin-top: calc(12 * var(--u)); }
.bv-scr__chips span { padding: calc(4 * var(--u)) calc(9 * var(--u)); border-radius: calc(7 * var(--u)); box-shadow: inset 0 0 0 1px #E2E2DE; background: #fff; font-size: calc(11 * var(--u)); color: #4A4A46; white-space: nowrap; }
/* the pointer: it clicked into the composer and rests there, clear of the words */
.bv-mouse { position: absolute; right: calc(44 * var(--u)); top: calc(22 * var(--u)); width: max(12px, calc(18 * var(--u))); transition: transform 1.6s cubic-bezier(.45, 0, .1, 1) .4s; }
.bv-mouse svg { width: 100%; height: auto; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .3)); transform-origin: 25% 15%; }
.bv-cam { position: absolute; }
.bv-ctl-bar .bv-ctl--play { display: none !important; }
.bv[data-ended] .bv-ctl-bar .bv-ctl--play { display: block !important; }
.bv[data-ended] .bv-ctl--pause { display: none !important; }
@container bvvid (max-width: 400px) {
  .bv-scr { --u: calc(100cqw / 440); }
  .bv-scr__side, .bv-scr__chips { display: none; }
  .bv-scr__main { padding: 0 0 0 calc(118 * var(--u)); align-items: flex-start; justify-content: flex-start; padding-top: calc(26 * var(--u)); }
  .bv-scr__hi { font-size: calc(27 * var(--u)); }
  .bv-scr__box { width: calc(300 * var(--u)); margin-top: calc(12 * var(--u)); }
  .bv-cam { width: calc(96 * var(--u)); }
}

.bv-cam {
  left: calc(12 * var(--u)); bottom: calc(12 * var(--u)); width: calc(104 * var(--u)); aspect-ratio: 392 / 400;
  overflow: hidden; border-radius: calc(14 * var(--u));
  box-shadow: 0 0 0 max(2px, calc(3 * var(--u))) #fff, 0 calc(8 * var(--u)) calc(20 * var(--u)) calc(-4 * var(--u)) rgba(16, 46, 38, .45);
}
.bv-cam img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* he's talking: a small spruce level meter inside the bubble's corner */
.bv-lvl { position: absolute; left: 5px; bottom: 5px; display: flex; align-items: flex-end; justify-content: center; gap: 2px; width: 18px; height: 18px; padding-bottom: 5px; border-radius: 6px; background: var(--hs-spruce); }
.bv-lvl i { display: block; width: 2.5px; height: 8px; border-radius: 2px; background: #fff; transform-origin: 50% 100%; }
.bv-lvl i:nth-child(1) { transform: scaleY(.55); }
.bv-lvl i:nth-child(3) { transform: scaleY(.7); }

/* player controls: a solid white bar under the picture */
.bv-ctl-bar { display: flex; align-items: center; gap: 12px; flex: none; height: 36px; padding: 0 12px; border-bottom: 1px solid var(--bv-line); background: #fff; color: var(--hs-icon); }
.bv-ctl-bar .bv-ctl { display: block; flex: none; }
.bv-ctl-bar .bv-time { color: var(--hs-ink-2); font-size: 12px; }
.bv-scrub2 { position: relative; flex: 1; min-width: 40px; height: 4px; overflow: hidden; border-radius: 99px; background: #E7E7DF; }
.bv-scrub2__buf { position: absolute; inset: 0 auto 0 0; width: 58%; background: #D2DBD8; }
.bv-scrub2__fill { position: absolute; inset: 0; background: var(--hs-spruce); transform: scaleX(var(--p)); transform-origin: 0 50%; transition: transform 1s linear; }
.bv-speed { flex: none; font-size: 12px; font-weight: 600; color: var(--hs-ink-2); }
.bv-cc2 { flex: none; display: grid; place-items: center; height: 16px; padding: 0 3px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px currentColor; font-size: 9px; font-weight: 700; letter-spacing: .04em; line-height: 1; }

/* under the video: the lesson's title row (compact only) and its text, which runs off the bottom */
.bv-lrow { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--bv-line); }
.bv-lrow__t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bv-lrow__t b { font-size: 14.5px; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--hs-ink); white-space: nowrap; }
.bv-lrow__t span { font-size: 12px; line-height: 1.3; color: var(--hs-muted); white-space: nowrap; }
.bv-lesson { padding: 16px 20px 0; }
.bv-lesson__h { font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: var(--hs-ink); text-wrap: balance; }
.bv-lesson p { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--hs-ink-2); text-wrap: pretty; }
.bv-lesson .bv-ph { display: block; height: 7px; margin-top: 11px; }
.bv-lesson__h + .bv-ph { margin-top: 14px; }

@container bv (max-width: 539.98px) {
  .bv--ai > * { --g: 16px; }
  .bv-course { bottom: -60px; }
  .bv-cbar { height: 40px; }
  .bv-cbtn--bar, .bv-rail { display: none; }
  .bv-cbody { grid-template-columns: minmax(0, 1fr); }
  .bv-lrow { display: flex; }
  .bv-lesson { padding: 14px 14px 0; }
}
@container bv (max-width: 399.98px) {
  .bv-cbar { display: none; }
  .bv-ctl-bar { gap: 10px; height: 34px; padding: 0 10px; }
  .bv-ctl-bar .bv-ctl--vol, .bv-speed { display: none; }
  .bv-lesson__h { display: none; }
  .bv-lesson { padding-top: 5px; }
  .bv-lrow { padding: 11px 12px; }
  .bv-cbtn { height: 30px; padding: 0 11px; font-size: 12.5px; }
}

/* ================================================================== 02/03 motion (same rules as above: small things only) */
@media (prefers-reduced-motion: no-preference) {
  .bv[data-bv-armed]:not([data-in]) :is(.bv-scrub2__fill, .bv-mouse) { transition: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .bv[data-bv-armed]:not([data-in]) .bv-mouse { transform: translate(calc(-150 * var(--u)), calc(70 * var(--u))); }
  .bv[data-playing] .bv-lvl i { animation: bv-lvl .36s ease-in-out infinite alternate; }
  .bv[data-playing] .bv-lvl i:nth-child(2) { animation-duration: .29s; animation-delay: .05s; }
  .bv[data-playing] .bv-lvl i:nth-child(3) { animation-duration: .44s; animation-delay: .1s; }
}
@keyframes bv-likepop { 45% { transform: scale(1.3) rotate(-10deg); } }
@keyframes bv-lvl { from { transform: scaleY(.3); } to { transform: scaleY(1); } }


/* ================================================================== 03 · the online community: the Get recommendations channel
   A white window on the spruce ground, inset top and sides, fading out at its foot (a mask on a wrapper, so the
   window keeps its shadow): the channel's banner, then two members' posts on the feed's canvas. */
.bv--comm { container-type: size; background: var(--spruce); }
.bv-ch { inset: 0; padding: var(--g) var(--g) 0; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 70px), transparent calc(100% - 4px)); mask-image: linear-gradient(to bottom, #000 calc(100% - 70px), transparent calc(100% - 4px)); }
.bv-ch__win { position: relative; height: calc(100% + 120px); padding: 10px; background: #fff; }
.bv-ch__banner { padding: 10px; border-radius: 9px; background: var(--hs-spruce); color: #F3F2DE; }
.bv-ch__frame { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 88px; padding: 9px 14px 12px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(243, 242, 222, .55); }
.bv-ch__k { align-self: stretch; padding-bottom: 7px; margin: 0 -14px; padding-left: 14px; border-bottom: 1px solid rgba(243, 242, 222, .55); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.bv-ch__t { font-family: var(--font-serif); font-size: 31px; line-height: 1; letter-spacing: -.005em; white-space: nowrap; }
.bv-ch__pines { position: absolute; right: 16px; bottom: 6px; width: 42px; height: auto; color: #F3F2DE; }
.bv-ch__feed { display: flex; flex-direction: column; gap: 10px; margin: 10px -10px 0; padding: 12px 22px 0; background: var(--hs-canvas); border-top: 1px solid var(--bv-line); min-height: 100%; }
.bv-cp { padding: 14px 16px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--hs-line), 0 1px 2px rgba(0, 0, 0, .03); }
.bv-cp__t { font-size: 15.5px; font-weight: 600; line-height: 1.3; letter-spacing: -.015em; color: var(--hs-ink); text-wrap: balance; }
.bv-cp__by { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.bv-cp__by .hs-av { font-size: 11px; }
.bv-cp__who { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: 12px; line-height: 1.3; color: var(--hs-muted); }
.bv-cp__who b { font-size: 13px; font-weight: 600; color: var(--hs-ink); }
.bv-cp__when { margin-left: 6px; }
.bv-cp__body { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--hs-ink-2); text-wrap: pretty; }
.bv-cp__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: 12.5px; color: var(--hs-muted); }
.bv-cp__react { display: inline-flex; align-items: center; gap: 7px; font-variant-numeric: tabular-nums; }
.bv-cp__thumb { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--hs-blue-soft); color: var(--hs-spruce); }
.bv-cp__thumb .hs-i path { fill: currentColor; }
/* a count that rolls: both numbers stacked in a one-line slot; the markup rests on the new one */
.bv-cnt { display: inline-block; height: 1.3em; overflow: hidden; line-height: 1.3; vertical-align: bottom; }
.bv-cnt__in { display: flex; flex-direction: column; transform: translateY(-50%); }
@container bv (max-width: 539.98px) {
  .bv--comm > * { --g: 16px; }
  .bv-ch__win { padding: 8px; }
  .bv-ch__banner { padding: 8px; }
  .bv-ch__frame { height: 84px; padding: 8px 12px 10px; }
  .bv-ch__k { margin: 0 -12px; padding-left: 12px; font-size: 11px; }
  .bv-ch__t { font-size: clamp(22px, 7.2cqw, 30px); }
  .bv-ch__pines { right: 10px; width: 32px; }
  .bv-ch__feed { margin: 8px -8px 0; padding: 10px 12px 0; }
  .bv-cp { padding: 12px 14px; }
}
.bv-cnt__in, .bv-cp__thumb { transition: transform .45s var(--hs-soft) 1.5s; }
[data-bv-slide] { transition: transform .8s var(--hs-arrive) .35s; }
@media (prefers-reduced-motion: no-preference) {
  .bv[data-bv-armed]:not([data-in]) :is(.bv-cnt__in, .bv-cp__thumb, [data-bv-slide]) { transition: none; }
  .bv[data-bv-armed]:not([data-in]) .bv-cnt__in { transform: none; }
  .bv[data-bv-armed]:not([data-in]) [data-bv-slide] { transform: translateY(90px); }
  .bv[data-bv-armed][data-in] [data-bv-thumb] { animation: bv-likepop .45s cubic-bezier(.3, 1.4, .5, 1) 1.45s; }
}
