/* Brawnd homepage hero and project consultant */
.brawnd-wordpress main {
  background: #F1EEE7;
}

.b2-hero {
  --hero-side-gutter: clamp(10px, 1vw, 18px);
  position: relative;
  width: auto !important;
  min-height: 780px !important;
  margin-inline: var(--hero-side-gutter);
  padding: 132px 0 70px !important;
  overflow: hidden;
  color: #F1EEE7;
  background: #1B1417;
  border-radius: 0 0 46px 46px;
}

.b2-hero .b2-hero-dashboard {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  align-items: center;
  width: var(--shell);
  min-height: 570px;
  gap: clamp(52px, 6vw, 108px) !important;
}

.b2-hero .b2-hero-copy {
  width: 100%;
  max-width: 680px;
  margin: 0;
  padding: 10px 0 68px !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.b2-hero .b2-hero-copy .hero-headline {
  width: 100%;
  max-width: 680px;
  margin: 0 !important;
  font-size: clamp(56px, 4.55vw, 78px) !important;
  line-height: .91 !important;
  letter-spacing: -.059em !important;
  text-align: left;
  text-wrap: balance;
  transform: none !important;
}

.b2-hero .hero-headline-line--lead,
.b2-hero .hero-headline-line--edge {
  display: block;
  width: max-content;
  max-width: 100%;
  font-size: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  text-align: left;
  white-space: nowrap;
}

.b2-hero .hero-headline-line--edge {
  margin-top: .12em !important;
}

.b2-hero .hero-edge-accent {
  display: inline-flex;
  justify-content: flex-start;
  margin: 0 !important;
  vertical-align: baseline;
}

.b2-hero .hero-edge-text {
  transform: none !important;
  transform-origin: left center !important;
}

.b2-hero .hero-edge-accent::after {
  left: -5.5% !important;
  top: -.17em !important;
  width: 111% !important;
  height: 1.31em !important;
  transform: rotate(-.8deg) scaleX(1) scaleY(.95) !important;
  transform-origin: center !important;
}

.b2-hero .hero-actions--dual {
  width: auto;
  justify-content: flex-start;
  margin-top: 40px !important;
  gap: 12px !important;
}

.b2-hero .hero-actions--dual .hero-cta {
  min-height: 50px !important;
  padding: 0 20px !important;
  gap: 22px !important;
  font-size: 13px !important;
}

/* Consultant surface */
.b2-project-consultant {
  position: relative;
  min-width: 0;
  min-height: 600px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 184px;
}

.b2-consultant-card {
  position: relative;
  z-index: 3;
  width: min(100%, 630px);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(43, 47, 45, .82), rgba(20, 24, 22, .74)),
    rgba(28, 31, 29, .76);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(255, 255, 255, .075);
  backdrop-filter: blur(22px) saturate(118%);
  -webkit-backdrop-filter: blur(22px) saturate(118%);
}

.b2-consultant-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: rgba(245, 245, 240, .62);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.b2-consultant-eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F1EEE7;
  box-shadow: 0 0 14px rgba(169, 167, 161, .58);
}

.b2-consultant-card h2 {
  max-width: 530px;
  margin: 0;
  color: #f8f6f2;
  font-size: clamp(34px, 3vw, 48px);
  line-height: .98;
  letter-spacing: -.046em;
}

.b2-consultant-intro {
  max-width: 520px;
  margin: 14px 0 22px;
  color: rgba(247, 245, 241, .58);
  font-size: 14px;
  line-height: 1.55;
}

.b2-consultant-log {
  display: none;
  max-height: 218px;
  margin: 0 0 14px;
  padding-right: 5px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(169, 167, 161, .38) transparent;
}

.b2-consultant-card.has-messages .b2-consultant-log {
  display: grid;
  gap: 9px;
}

.b2-consultant-message {
  width: fit-content;
  max-width: 91%;
  padding: 11px 13px;
  border-radius: 14px;
  color: rgba(248, 247, 243, .82);
  font-size: 13px;
  line-height: 1.48;
}

.b2-consultant-message--user {
  justify-self: end;
  border: 1px solid rgba(241, 238, 231, .19);
  color: rgba(248, 247, 243, .94);
  background: #352528;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(169, 167, 161, .07);
}

.b2-consultant-message--assistant {
  justify-self: start;
  border: 1px solid rgba(245, 241, 236, .16);
  color: rgba(248, 247, 243, .94);
  background: #2C2023;
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .32),
    inset 0 1px 0 rgba(255, 255, 255, .045);
}


.b2-consultant-message-handoff {
  display: block;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(248, 247, 243, .72);
}

.b2-consultant-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 9px;
}

.b2-consultant-message-action {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  color: rgba(247, 245, 241, .78);
  background: rgba(255, 255, 255, .045);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.b2-consultant-message-action:hover,
.b2-consultant-message-action:focus-visible {
  color: #fff;
  border-color: rgba(169, 167, 161, .32);
  background: rgba(169, 167, 161, .17);
  transform: translateY(-1px);
}

.b2-consultant-message-action--primary {
  color: #20171A;
  border-color: rgba(169, 167, 161, .27);
  background: #F1EEE7;
}

.b2-consultant-message.is-pending {
  color: rgba(248, 247, 243, .46);
  animation: b2-consultant-pulse 1.25s ease-in-out infinite;
}

.b2-consultant-input-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 19px;
  background: rgba(13, 14, 13, .96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.b2-consultant-input-shell:focus-within {
  border-color: rgba(169, 167, 161, .45);
  box-shadow: 0 0 0 4px rgba(169, 167, 161, .07);
}

.b2-consultant-form textarea {
  display: block;
  width: 100%;
  min-height: 116px;
  max-height: 190px;
  padding: 18px 18px 10px;
  resize: none;
  border: 0;
  outline: 0;
  color: #F1EEE7;
  background: transparent;
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
}

.b2-consultant-form textarea::placeholder {
  color: rgba(245, 243, 238, .4);
}

.b2-consultant-trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.b2-consultant-controls {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 0 11px 11px 13px;
}

.b2-consultant-suggestions {
  display: flex;
  flex: 1;
  gap: 7px;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none;
}

.b2-consultant-suggestions::-webkit-scrollbar {
  display: none;
}

.b2-consultant-suggestions button {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 999px;
  color: rgba(245, 244, 239, .61);
  background: rgba(255, 255, 255, .045);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.b2-consultant-suggestions button:hover,
.b2-consultant-suggestions button:focus-visible {
  color: #F1EEE7;
  border-color: rgba(169, 167, 161, .32);
  background: rgba(169, 167, 161, .16);
}

.b2-consultant-submit {
  position: relative;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #20171A;
  background: transparent;
  cursor: pointer;
  transition: transform .2s ease;
}

.b2-consultant-submit::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(241, 238, 231, .55);
  border-radius: 50%;
  background: #F1EEE7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 4px 14px rgba(0, 0, 0, .24);
  transition: background .2s ease, box-shadow .2s ease;
}

.b2-consultant-submit svg {
  position: relative;
  z-index: 1;
  display: block;
  transform: translateX(1px);
}

.b2-consultant-submit:hover,
.b2-consultant-submit:focus-visible {
  transform: translateY(-2px);
}

.b2-consultant-submit:hover::before,
.b2-consultant-submit:focus-visible::before {
  background: #F1EEE7;
  box-shadow: inset 0 1px 0 rgba(244, 250, 235, .45), 0 6px 20px rgba(169, 167, 161, .28);
}

.b2-consultant-submit:focus-visible {
  outline: 2px solid var(--brawnd-moss-accent);
  outline-offset: 3px;
}

.b2-consultant-submit:disabled,
.b2-consultant-suggestions button:disabled {
  cursor: wait;
  opacity: .55;
}

.b2-consultant-status {
  margin: 10px 2px 0;
  color: rgba(245, 244, 239, .4);
  font-size: 11px;
  line-height: 1.4;
}

/* Existing modular website animation now belongs to the consultant */
.b2-consultant-visual {
  position: absolute;
  z-index: 1;
  right: 4px;
  bottom: -28px;
  width: 390px;
  height: 290px;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: .78;
  transition: opacity .35s ease, transform .6s cubic-bezier(.16, .84, .24, 1);
}

.b2-consultant-visual::before {
  content: "";
  position: absolute;
  inset: 18% 2% 4% 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169, 167, 161, .2), rgba(169, 167, 161, .06) 48%, transparent 72%);
  filter: blur(8px);
}

.b2-consultant-orbit {
  position: absolute;
  width: 330px;
  height: 220px;
  border: 1px solid rgba(169, 167, 161, .08);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.b2-consultant-visual .hero-visual {
  position: relative;
  z-index: 2;
  width: 360px;
  height: 270px;
  display: grid;
  place-items: center;
  margin: 0 !important;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.b2-consultant-visual .brawnd-block-stage {
  width: 360px;
  filter: drop-shadow(0 25px 60px rgba(0, 0, 0, .32)) !important;
}

.b2-project-consultant:has(.is-thinking) .b2-consultant-visual,
.b2-consultant-visual.is-thinking {
  opacity: 1;
  transform: translateY(-5px) scale(1.025);
}

.b2-project-consultant:has(.is-thinking) .b2-consultant-orbit,
.b2-consultant-visual.is-thinking .b2-consultant-orbit {
  animation: b2-consultant-orbit 2.4s linear infinite;
}

@keyframes b2-consultant-pulse {
  0%,
  100% { opacity: .46; }
  50% { opacity: .82; }
}

@keyframes b2-consultant-orbit {
  to { transform: rotate(351deg); }
}

#strength {
  border-top: 0 !important;
  background: #F1EEE7 !important;
  box-shadow: none !important;
}

/* Large laptop */
@media (max-width: 1380px) {
  .b2-hero {
    min-height: 735px !important;
    padding: 122px 0 62px !important;
  }

  .b2-hero .b2-hero-dashboard {
    grid-template-columns: minmax(0, .88fr) minmax(470px, 1.12fr);
    min-height: 550px;
    gap: clamp(38px, 4.7vw, 72px) !important;
  }

  .b2-hero .b2-hero-copy .hero-headline {
    font-size: clamp(52px, 4.35vw, 70px) !important;
  }

  .b2-project-consultant {
    min-height: 570px;
    padding-bottom: 170px;
  }

  .b2-consultant-card {
    padding: 24px;
  }

  .b2-consultant-visual {
    right: 0;
    width: 360px;
    transform: scale(.93);
    transform-origin: right bottom;
  }
}

/* Tablet */
@media (max-width: 980px) {
  .b2-hero {
    min-height: 0 !important;
    padding: 110px 0 70px !important;
  }

  .b2-hero .b2-hero-dashboard {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 56px !important;
  }

  .b2-hero .b2-hero-copy {
    max-width: 720px;
    padding: 8px 0 0 !important;
  }

  .b2-hero .b2-hero-copy .hero-headline {
    max-width: 720px;
    font-size: clamp(52px, 7.8vw, 70px) !important;
  }

  .b2-project-consultant {
    width: min(100%, 720px);
    min-height: 610px;
    justify-self: end;
    padding-bottom: 188px;
  }

  .b2-consultant-card {
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .b2-hero {
    --hero-side-gutter: 8px;
    padding: 96px 0 52px !important;
    border-radius: 0 0 30px 30px;
  }

  .b2-hero .b2-hero-dashboard {
    width: calc(100% - 28px);
    gap: 44px !important;
  }

  .b2-hero .b2-hero-copy {
    width: 100%;
  }

  .b2-hero .b2-hero-copy .hero-headline {
    font-size: clamp(42px, 12.3vw, 58px) !important;
    line-height: .93 !important;
    letter-spacing: -.056em !important;
  }

  .b2-hero .hero-headline-line--lead,
  .b2-hero .hero-headline-line--edge {
    width: auto;
    white-space: normal;
  }

  .b2-hero .hero-actions--dual {
    margin-top: 31px !important;
    flex-wrap: wrap;
  }

  .b2-hero .hero-actions--dual .hero-cta {
    min-height: 47px !important;
    padding: 0 16px !important;
    gap: 15px !important;
    font-size: 12px !important;
  }

  .b2-project-consultant {
    min-height: 0;
    padding-bottom: 0;
    display: grid;
    gap: 8px;
  }

  .b2-consultant-card {
    padding: 20px 16px 17px;
    border-radius: 21px;
  }

  .b2-consultant-card h2 {
    font-size: clamp(32px, 9.6vw, 42px);
  }

  .b2-consultant-intro {
    font-size: 13px;
  }

  .b2-consultant-controls {
    align-items: center;
  }

  .b2-consultant-suggestions {
    padding-right: 3px;
  }

  .b2-consultant-submit {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .b2-consultant-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 240px;
    margin-top: -18px;
    justify-self: center;
    transform: scale(.8);
    transform-origin: center top;
  }

  .b2-consultant-visual .hero-visual {
    width: 340px;
    height: 240px;
  }

  .b2-consultant-visual .brawnd-block-stage {
    width: 340px;
  }
}

@media (max-width: 420px) {
  .b2-hero .b2-hero-copy .hero-headline {
    font-size: clamp(39px, 11.6vw, 49px) !important;
  }

  .b2-consultant-card {
    padding-inline: 14px;
  }

  .b2-consultant-controls {
    padding-inline: 10px;
  }

  .b2-consultant-visual {
    transform: scale(.72);
    margin-bottom: -42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b2-consultant-message.is-pending,
  .b2-consultant-orbit {
    animation: none !important;
  }

  .b2-consultant-visual {
    transition: none !important;
  }
}


/* Match the primary hero headline rhythm to the consultant heading. */
.b2-hero .b2-hero-copy .hero-headline {
  font-size: clamp(40.8px, 3.6vw, 57.6px) !important;
  line-height: .98 !important;
  letter-spacing: -.046em !important;
}

@media (max-width: 760px) {
  .b2-hero .b2-hero-copy .hero-headline {
    font-size: clamp(38.4px, 11.52vw, 50.4px) !important;
  }
}


/* Lift the complete left hero group while preserving headline rhythm. */
@media (min-width: 981px) {
  .b2-hero .b2-hero-copy {
    position: relative;
    top: -80px;
  }
}


/* Reference-led open consultant composition. */
.b2-consultant-card {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.b2-consultant-card h2 {
  max-width: none;
  margin: 0 0 22px !important;
}

.b2-consultant-log {
  margin-bottom: 16px;
}

.b2-consultant-input-shell {
  border-color: rgba(235, 240, 237, .14) !important;
  border-radius: 22px !important;
  background: rgba(11, 10, 10, .78) !important;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255, 255, 255, .035) !important;
}

.b2-consultant-form textarea {
  min-height: 150px;
  padding: 20px 20px 14px;
}

.b2-consultant-controls {
  min-height: 60px;
  align-items: center;
  padding: 9px 12px 11px !important;
  border-top: 1px solid rgba(255, 255, 255, .055);
  background: rgba(255, 255, 255, .035);
}

.b2-consultant-suggestions {
  gap: 8px;
  padding: 0;
}

.b2-consultant-suggestions button {
  min-height: 38px;
  padding-inline: 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
}

@media (max-width: 760px) {
  .b2-consultant-card {
    padding: 0 !important;
  }

  .b2-consultant-card h2 {
    margin-bottom: 18px !important;
  }

  .b2-consultant-form textarea {
    min-height: 136px;
    padding: 18px 16px 12px;
  }

  .b2-consultant-controls {
    min-height: 58px;
    padding: 8px 10px 10px !important;
  }

  .b2-consultant-suggestions button {
    min-height: 36px;
    padding-inline: 12px;
  }
}

/* Reference-led composer tray: inset beneath the textarea like the supplied reference. */
.b2-consultant-input-shell {
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.b2-consultant-input-shell:focus-within {
  border-color: transparent !important;
  box-shadow: none !important;
}

.b2-consultant-form textarea {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  border: 1px solid rgba(235, 240, 237, .14);
  border-radius: 22px;
  background: linear-gradient(145deg, #2C2023 0%, #20171A 48%, #20171A 100%);
  box-shadow:
    0 18px 46px rgba(0, 0, 0, .16),
    inset 0 1px 0 rgba(255, 255, 255, .035);
  transition: border-color .25s ease, box-shadow .25s ease;
}

.b2-consultant-input-shell:focus-within textarea {
  border-color: rgba(169, 167, 161, .45);
  box-shadow:
    0 0 0 4px rgba(169, 167, 161, .07),
    0 18px 46px rgba(0, 0, 0, .16);
}

.b2-consultant-controls {
  position: relative;
  z-index: 1;
  width: calc(100% - 24px);
  min-height: 66px;
  margin: -12px 12px 0;
  padding: 22px 12px 10px !important;
  border: 1px solid rgba(235, 240, 237, .08);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: rgba(255, 255, 255, .075);
  box-shadow: 0 15px 34px rgba(0, 0, 0, .12);
}

.b2-consultant-suggestions button {
  border-color: rgba(255, 255, 255, .09);
  background: rgba(255, 255, 255, .055);
}

@media (max-width: 760px) {
  .b2-consultant-controls {
    width: calc(100% - 16px);
    min-height: 62px;
    margin: -10px 8px 0;
    padding: 18px 10px 9px !important;
    border-radius: 0 0 16px 16px;
  }
}

/* Compact desktop consultant conversation width. */
@media (min-width: 981px) {
  .b2-consultant-log,
  .b2-consultant-form {
    width: min(100%, 470px);
  }
}

/* Premium full-bleed hero and integrated consultant visual. */
.b2-hero {
  --hero-side-gutter: 0px !important;
  width: 100% !important;
  margin-inline: 0 !important;
}

.b2-project-consultant {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: max-content;
  align-content: start;
  justify-items: end;
  padding-bottom: 0;
}

.b2-consultant-card {
  justify-self: end;
}

.b2-consultant-visual {
  position: relative;
  right: auto;
  bottom: auto;
  width: 470px;
  height: 230px;
  margin-top: 40px;
  margin-right: clamp(0px, calc(100% - 470px), 160px);
  justify-self: end;
  opacity: .55;
  transform: none;
  transform-origin: center;
}

.b2-consultant-visual::before {
  inset: 18% 12% 7%;
  background: radial-gradient(circle, rgba(169, 167, 161, .14), rgba(169, 167, 161, .035) 48%, transparent 72%);
  filter: blur(10px);
}

.b2-consultant-orbit {
  width: 260px;
  height: 170px;
  border-color: rgba(169, 167, 161, .045);
}

.b2-consultant-visual .hero-visual {
  width: 300px;
  height: 220px;
}

.b2-consultant-visual .brawnd-block-stage {
  width: 300px;
  filter: drop-shadow(0 22px 46px rgba(0, 0, 0, .28)) !important;
}

.b2-project-consultant:has(.is-thinking) .b2-consultant-visual,
.b2-consultant-visual.is-thinking {
  opacity: .94;
  transform: translateY(-3px) scale(1.02);
}

@media (max-width: 980px) {
  .b2-project-consultant {
    min-height: 0;
    padding-bottom: 0;
  }

  .b2-consultant-visual {
    width: 260px;
    height: 200px;
    margin: 36px auto 0;
    justify-self: center;
  }

  .b2-consultant-visual .hero-visual {
    width: 250px;
    height: 190px;
  }

  .b2-consultant-visual .brawnd-block-stage {
    width: 250px;
  }

  .b2-consultant-orbit {
    width: 225px;
    height: 148px;
  }
}

@media (max-width: 760px) {
  .b2-consultant-visual {
    width: 220px;
    height: 174px;
    margin: 28px auto 0;
    transform: none;
  }

  .b2-consultant-visual .hero-visual {
    width: 210px;
    height: 164px;
  }

  .b2-consultant-visual .brawnd-block-stage {
    width: 210px;
  }

  .b2-consultant-orbit {
    width: 188px;
    height: 122px;
  }
}

@media (max-width: 420px) {
  .b2-consultant-visual {
    width: 198px;
    height: 158px;
    margin-top: 26px;
    margin-bottom: 0;
    transform: none;
  }

  .b2-consultant-visual .hero-visual {
    width: 190px;
    height: 150px;
  }

  .b2-consultant-visual .brawnd-block-stage {
    width: 190px;
  }
}

/* Three-panel consultant visual aligned precisely to the suggestion tray. */
.b2-consultant-visual {
  width: 446px;
  height: auto;
  aspect-ratio: 446 / 190;
  margin: -158px auto 0 12px;
}

.b2-consultant-visual .hero-visual,
.b2-consultant-visual .brawnd-block-stage {
  width: 100%;
  height: 100%;
}

.b2-consultant-visual .brawnd-block-stage {
  aspect-ratio: auto;
}

.b2-consultant-visual .brawnd-block-frame {
  width: 100%;
  height: auto;
  aspect-ratio: 446 / 190;
}

.b2-consultant-visual .brawnd-block-frame,
.b2-consultant-visual .brawnd-block-stage.is-layout .brawnd-block-frame,
.b2-consultant-visual .brawnd-block-stage.is-refine .brawnd-block-frame,
.b2-consultant-visual .brawnd-block-stage:hover .brawnd-block-frame {
  transform: none !important;
}

.b2-consultant-visual .brawnd-piece.p1,
.b2-consultant-visual .brawnd-piece.p5,
.b2-consultant-visual .brawnd-piece.p6,
.brawnd-block-floater .brawnd-piece.p1,
.brawnd-block-floater .brawnd-piece.p5,
.brawnd-block-floater .brawnd-piece.p6 {
  display: none !important;
}

.b2-consultant-visual .brawnd-piece.p2 {
  width: 66% !important;
  height: 100% !important;
  left: 0 !important;
  top: 0 !important;
}

.b2-consultant-visual .brawnd-piece.p3 {
  width: 30% !important;
  height: 48% !important;
  right: 0 !important;
  top: 0 !important;
}

.b2-consultant-visual .brawnd-piece.p4 {
  width: 30% !important;
  height: 48% !important;
  right: 0 !important;
  bottom: 0 !important;
}

.b2-consultant-visual .brawnd-piece.p7 {
  width: 24% !important;
  height: 11% !important;
  left: 8% !important;
  bottom: 10% !important;
}

.brawnd-block-floater .brawnd-piece.p2,
.brawnd-block-floater .brawnd-piece.p3 {
  top: 0 !important;
}

@media (max-width: 980px) {
  .b2-consultant-visual {
    width: calc(100% - 24px);
    margin: -158px 12px 0;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .b2-consultant-visual {
    width: calc(100% - 16px);
    margin: -158px 8px 0;
    justify-self: stretch;
  }
}



/* Let the transparent suggestion tray sit above the animation. */
.b2-consultant-visual {
  z-index: 0;
}

.b2-consultant-form {
  position: relative;
  z-index: 4;
}

.b2-consultant-controls {
  z-index: 5;
}


/* Seamless transition from the suggestion tray into the animation. */
.b2-consultant-controls {
  background:
    linear-gradient(180deg, #352528, #2C2023) !important;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, .22),
    inset 0 1px 0 rgba(255, 255, 255, .075),
    inset 0 -1px 0 rgba(255, 255, 255, .025);
  backdrop-filter: blur(18px) saturate(118%);
  -webkit-backdrop-filter: blur(18px) saturate(118%);
}

.b2-consultant-visual {
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent 122px,
    rgba(0, 0, 0, .2) 136px,
    rgba(0, 0, 0, .72) 156px,
    #000 178px
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    transparent 122px,
    rgba(0, 0, 0, .2) 136px,
    rgba(0, 0, 0, .72) 156px,
    #000 178px
  );
}


/* Keep the black input surface above the inset suggestion tray. */
.b2-consultant-form textarea {
  z-index: 7;
}


/* Deeper upper-edge fade for the animation-to-tray junction. */
.b2-consultant-visual::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 112px;
  right: 0;
  left: 0;
  height: 78px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(32, 34, 31, .96) 0,
    rgba(32, 34, 31, .78) 24px,
    rgba(32, 34, 31, .38) 50px,
    transparent 78px
  );
}


/* Quiet consultant label and scroll-aware floating return control. */
.b2-project-consultant {
  min-height: 0 !important;
  padding-bottom: 0 !important;
  align-self: center;
}

.b2-consultant-card {
  width: min(100%, 470px);
}

.b2-consultant-card .b2-consultant-label {
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: none;
  margin: 0 0 14px !important;
  color: rgba(247, 245, 241, .65);
  font-size: 15px !important;
  font-weight: 600;
  line-height: 1.3 !important;
  letter-spacing: -.01em !important;
}

.b2-consultant-card .b2-consultant-label::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F1EEE7;
  box-shadow: 0 0 0 4px rgba(169, 167, 161, .08);
}

.b2-consultant-card.is-return-highlight .b2-consultant-form textarea {
  border-color: rgba(169, 167, 161, .62);
  box-shadow:
    0 0 0 5px rgba(169, 167, 161, .09),
    0 18px 46px rgba(0, 0, 0, .18);
}

.b2-consultant-floater {
  position: fixed;
  z-index: 1100;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  width: 142px;
  height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px 6px 6px;
  border: 1px solid rgba(169, 167, 161, .24);
  border-radius: 16px;
  color: #F1EEE7;
  background:
    linear-gradient(145deg, rgba(27, 28, 26, .97), rgba(27, 28, 26, .97));
  box-shadow:
    0 18px 55px rgba(0, 0, 0, .36),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(16px) scale(.94);
  transform-origin: right bottom;
  transition:
    opacity .28s ease,
    visibility .28s ease,
    transform .38s cubic-bezier(.2, .8, .2, 1),
    border-color .2s ease,
    background .2s ease;
  cursor: pointer;
}

.b2-consultant-floater.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  animation: b2-consultant-float 4.8s ease-in-out infinite;
}

.b2-consultant-floater:hover,
.b2-consultant-floater:focus-visible {
  border-color: rgba(169, 167, 161, .48);
  background:
    linear-gradient(145deg, rgba(27, 28, 26, .99), rgba(27, 28, 26, .99));
  outline: none;
}

.b2-consultant-floater-icon {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(169, 167, 161, .21);
  border-radius: 10px;
  background: rgba(27, 28, 26, .32);
}

.b2-consultant-floater-icon::before {
  content: "";
  width: 14px;
  height: 10px;
  border: 1.5px solid rgba(246, 244, 244, .88);
  border-radius: 5px;
}

.b2-consultant-floater-icon::after {
  content: "";
  position: absolute;
  left: 9px;
  bottom: 7px;
  width: 4px;
  height: 4px;
  border-bottom: 1.5px solid rgba(246, 244, 244, .88);
  transform: rotate(-38deg);
}

.b2-consultant-floater-icon > span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #F1EEE7;
  box-shadow: 6px 0 0 rgba(169, 167, 161, .7);
}

.b2-consultant-floater-label {
  flex: 1;
  white-space: nowrap;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.b2-consultant-floater-arrow {
  color: rgba(247, 246, 241, .58);
  font-size: 12px;
}

.b2-consultant-floater.is-thinking .b2-consultant-floater-icon {
  animation: b2-consultant-floater-pulse 1.35s ease-in-out infinite;
}

@keyframes b2-consultant-float {
  0%,
  100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1); }
}

@keyframes b2-consultant-floater-pulse {
  50% {
    border-color: rgba(169, 167, 161, .54);
    box-shadow: 0 0 0 6px rgba(169, 167, 161, .06);
  }
}

@media (max-width: 760px) {
  .b2-project-consultant {
    align-self: auto;
  }

  .b2-consultant-card {
    width: 100%;
  }

  .b2-consultant-card .b2-consultant-label {
    margin-bottom: 12px !important;
    font-size: 14px !important;
  }

  .b2-consultant-floater {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 138px;
    height: 48px;
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b2-consultant-floater,
  .b2-consultant-floater.is-visible,
  .b2-consultant-floater.is-thinking .b2-consultant-floater-icon {
    animation: none !important;
    transition-duration: .01ms !important;
  }
}


/* Desktop hero baseline and spacing refinement. */
@media (min-width: 981px) {
  .b2-hero {
    padding-top: 112px !important;
  }

  .b2-hero .b2-hero-dashboard {
    align-items: start;
    gap: clamp(64px, 4.8vw, 92px) !important;
    padding-top: 78px;
  }

  .b2-hero .b2-hero-copy {
    position: relative;
    top: 0;
    max-width: 680px;
    padding: 0 0 68px !important;
  }

  .b2-project-consultant {
    align-self: start;
    justify-self: end;
    width: 100%;
  }

  .b2-consultant-card {
    justify-self: end;
  }
}

@media (min-width: 981px) and (max-width: 1380px) {
  .b2-hero {
    padding-top: 106px !important;
  }

  .b2-hero .b2-hero-dashboard {
    gap: clamp(48px, 4.2vw, 68px) !important;
    padding-top: 68px;
  }
}


/* Right aligned consultant label that retires once the conversation begins. */
.b2-consultant-card .b2-consultant-label {
  width: 100%;
  max-height: 24px;
  justify-content: flex-end;
  text-align: right;
  overflow: hidden;
  transform-origin: right center;
  transition:
    opacity .22s ease,
    transform .28s ease,
    max-height .28s ease,
    margin .28s ease;
}

.b2-consultant-card.has-started-project .b2-consultant-label {
  max-height: 0;
  margin-bottom: 0 !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
  .b2-consultant-card .b2-consultant-label {
    transition: none !important;
  }
}


/* More compact consultant suggestion controls. */
.b2-consultant-suggestions {
  gap: 7px;
}

.b2-consultant-suggestions button {
  min-height: 32px;
  padding-inline: 11px;
  border-radius: 10px;
  font-size: 10px;
}

@media (max-width: 760px) {
  .b2-consultant-suggestions button {
    min-height: 32px;
    padding-inline: 10px;
    font-size: 10px;
  }
}


/* Trusted client logo marquee. */
.b2-client-trust {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin: 26px auto 0;
  color: #F1EEE7;
}

.b2-client-trust-title {
  display: grid;
  grid-template-columns: minmax(36px, 1fr) auto minmax(36px, 1fr);
  align-items: center;
  gap: 24px;
}

.b2-client-trust-title span {
  height: 1px;
  background: rgba(238, 232, 234, .16);
}

.b2-client-trust-title p {
  margin: 0;
  color: rgba(240, 243, 239, .62);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .01em;
  white-space: nowrap;
}

.b2-client-marquee {
  overflow: hidden;
  margin-top: 27px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.b2-client-marquee-track {
  --client-marquee-gap: clamp(54px, 5.5vw, 96px);
  width: max-content;
  display: flex;
  align-items: center;
  gap: var(--client-marquee-gap);
  will-change: transform;
  animation: b2-client-marquee 100s linear infinite;
}

.b2-client-marquee:hover .b2-client-marquee-track,
.b2-client-marquee:focus-within .b2-client-marquee-track {
  animation-play-state: paused;
}

.b2-client-marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--client-marquee-gap);
}

.b2-client-logo {
  flex: 0 0 clamp(142px, 10.8vw, 188px);
  height: 54px;
  display: grid;
  place-items: center;
}

.b2-client-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 46px;
  object-fit: contain;
  opacity: .56;
  transition: opacity .22s ease, transform .22s ease;
}

.b2-client-logo--crest img {
  max-height: 54px;
}

.b2-client-logo:hover img {
  opacity: .86;
  transform: translateY(-1px);
}

@keyframes b2-client-marquee {
  to {
    transform: translateX(calc(-50% - (var(--client-marquee-gap) / 2)));
  }
}

@media (max-width: 760px) {
  .b2-client-trust {
    width: calc(100% - 28px);
    margin-top: 18px;
  }

  .b2-client-trust-title {
    gap: 13px;
  }

  .b2-client-trust-title p {
    font-size: 11px;
  }

  .b2-client-marquee {
    margin-top: 21px;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  }

  .b2-client-marquee-track {
    --client-marquee-gap: 38px;
    animation-duration: 92s;
  }

  .b2-client-logo {
    flex-basis: 126px;
    height: 46px;
  }

  .b2-client-logo img {
    max-height: 38px;
  }

  .b2-client-logo--crest img {
    max-height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b2-client-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
  }

  .b2-client-marquee::-webkit-scrollbar {
    display: none;
  }

  .b2-client-marquee-track {
    animation: none !important;
    transform: none !important;
  }

  .b2-client-marquee-group[aria-hidden="true"] {
    display: none;
  }
}


/* Keep the trust marquee beneath the hero grid, never beside it. */
.b2-hero {
  display: block !important;
}

.b2-client-trust {
  clear: both;
}


/* Balance visually dominant client marks with the rest of the marquee. */
.b2-client-logo img[src$="/skilx.png"] {
  max-width: 78%;
  max-height: 38px;
}

.b2-client-logo img[src$="/west-crises.png"] {
  max-width: 70%;
  max-height: 40px;
}

@media (max-width: 760px) {
  .b2-client-logo img[src$="/skilx.png"] {
    max-height: 32px;
  }

  .b2-client-logo img[src$="/west-crises.png"] {
    max-height: 34px;
  }
}


/* Compact hero rhythm and centred trust marquee. */
.b2-client-trust {
  width: min(1120px, calc(100% - 96px));
  margin-top: 18px;
}

.b2-client-marquee {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 13%,
    #000 87%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 13%,
    #000 87%,
    transparent 100%
  );
}

@media (min-width: 981px) {
  .b2-hero {
    min-height: 690px !important;
    padding-bottom: 50px !important;
  }

  .b2-hero .b2-hero-dashboard {
    min-height: 390px;
  }
}

@media (min-width: 981px) and (max-width: 1380px) {
  .b2-hero {
    min-height: 650px !important;
    padding-bottom: 46px !important;
  }

  .b2-hero .b2-hero-dashboard {
    min-height: 370px;
  }

  .b2-client-trust {
    width: min(980px, calc(100% - 72px));
  }
}

@media (max-width: 760px) {
  .b2-client-trust {
    width: calc(100% - 40px);
    margin-top: 12px;
  }

  .b2-client-marquee {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 16%,
      #000 84%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 16%,
      #000 84%,
      transparent 100%
    );
  }
}


/* Final compact trust-section scale. */
.b2-client-trust {
  margin-top: 10px;
}

.b2-client-trust-title p {
  font-size: 12px;
}

.b2-client-marquee {
  margin-top: 20px;
}

.b2-client-logo {
  flex-basis: clamp(118px, 8.8vw, 154px);
  height: 44px;
}

.b2-client-logo img {
  max-height: 38px;
  opacity: .5;
}

.b2-client-logo--crest img {
  max-height: 44px;
}

.b2-client-logo img[src$="/skilx.png"] {
  max-height: 31px;
}

.b2-client-logo img[src$="/west-crises.png"] {
  max-height: 33px;
}

@media (min-width: 981px) {
  .b2-hero {
    padding-bottom: 42px !important;
  }
}

@media (min-width: 981px) and (max-width: 1380px) {
  .b2-hero {
    padding-bottom: 38px !important;
  }
}

@media (max-width: 760px) {
  .b2-client-trust {
    margin-top: 8px;
  }

  .b2-client-trust-title p {
    font-size: 10.5px;
  }

  .b2-client-marquee {
    margin-top: 16px;
  }

  .b2-client-logo {
    flex-basis: 108px;
    height: 38px;
  }

  .b2-client-logo img {
    max-height: 30px;
  }

  .b2-client-logo--crest img {
    max-height: 36px;
  }

  .b2-client-logo img[src$="/skilx.png"] {
    max-height: 26px;
  }

  .b2-client-logo img[src$="/west-crises.png"] {
    max-height: 28px;
  }
}


/* Premium hero finishing pass: tighter rhythm, clearer proof and integrated consultant depth. */
@media (min-width: 981px) {
  .b2-hero {
    min-height: 650px !important;
    padding-bottom: 30px !important;
  }

  .b2-hero .b2-hero-dashboard {
    min-height: 354px;
  }

  .b2-client-trust {
    margin-top: -4px;
  }
}

/* Treat the consultant as the hero's visual feature without adding another box. */
.b2-project-consultant::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -72px;
  right: -88px;
  bottom: -86px;
  left: -96px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 64% 43%, rgba(169, 167, 161, .15) 0, rgba(169, 167, 161, .075) 34%, transparent 69%),
    radial-gradient(ellipse at 50% 88%, rgba(169, 167, 161, .08), transparent 64%);
  filter: blur(10px);
}

.b2-consultant-card {
  isolation: isolate;
  z-index: 2;
}

.b2-consultant-form textarea {
  border-color: rgba(169, 167, 161, .24);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, .38),
    0 0 32px rgba(169, 167, 161, .035),
    inset 0 1px 0 rgba(169, 167, 161, .1);
}

.b2-consultant-controls {
  border-color: rgba(169, 167, 161, .12);
  background:
    linear-gradient(180deg, #352528, #2C2023) !important;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .25),
    0 0 28px rgba(169, 167, 161, .045),
    inset 0 1px 0 rgba(255, 255, 255, .08),
    inset 0 -1px 0 rgba(255, 255, 255, .025);
}

.b2-consultant-input-shell:focus-within textarea {
  border-color: rgba(169, 167, 161, .52);
  box-shadow:
    0 0 0 4px rgba(169, 167, 161, .075),
    0 25px 68px rgba(0, 0, 0, .32),
    0 0 46px rgba(169, 167, 161, .09);
}

/* Increase proof legibility while keeping the logo strip quiet. */
.b2-client-logo img {
  opacity: .62;
}

.b2-client-logo:hover img {
  opacity: .92;
}

.b2-client-trust-title p {
  color: rgba(240, 243, 239, .7);
}

.b2-client-trust-title span {
  background: rgba(238, 232, 234, .19);
}

@media (min-width: 981px) and (max-width: 1380px) {
  .b2-hero {
    min-height: 620px !important;
    padding-bottom: 28px !important;
  }

  .b2-hero .b2-hero-dashboard {
    min-height: 340px;
  }

  .b2-client-trust {
    margin-top: -2px;
  }
}

@media (max-width: 760px) {
  .b2-project-consultant::before {
    top: -46px;
    right: -28px;
    bottom: -54px;
    left: -28px;
    opacity: .78;
  }

  .b2-client-logo img {
    opacity: .58;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b2-project-consultant::before {
    filter: none;
  }
}


/* Restore deliberate breathing room above the client proof strip. */
@media (min-width: 981px) {
  .b2-client-trust {
    margin-top: 20px;
  }
}

@media (min-width: 981px) and (max-width: 1380px) {
  .b2-client-trust {
    margin-top: 22px;
  }
}


/* Bring the two primary hero elements inward while preserving their spacing. */
@media (min-width: 981px) {
  .b2-hero .b2-hero-copy {
    transform: translateX(25px);
  }

  .b2-project-consultant {
    transform: translateX(-25px);
  }
}


/* Slightly lower the client proof strip for final visual balance. */
@media (min-width: 981px) {
  .b2-client-trust {
    margin-top: 30px;
  }
}

@media (min-width: 981px) and (max-width: 1380px) {
  .b2-client-trust {
    margin-top: 32px;
  }
}

/* Keep the hero charcoal, with soft lighting confined to the consultant. */
.b2-hero {
  isolation: isolate;
  background: #1B1417 !important;
}

.b2-hero::before,
.b2-hero::after {
  content: none !important;
  display: none !important;
}

.b2-project-consultant::before {
  content: none;
}

/* A quiet bronze glow adds depth behind the chat without tinting its text. */
.b2-consultant-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -16px -20px -24px;
  border-radius: 28px;
  pointer-events: none;
  background: radial-gradient(ellipse at 65% 46%, rgba(169, 167, 161, .11), transparent 72%);
  filter: blur(16px);
}

.b2-hero .b2-hero-dashboard,
.b2-client-trust {
  position: relative;
  z-index: 2;
}

/* Keep the entire black composer above the inset suggestion tray (z-index: 5). */
.b2-consultant-composer {
  position: relative;
  z-index: 6;
}

.b2-consultant-form .b2-consultant-composer textarea {
  padding-right: 70px !important;
  padding-bottom: 56px !important;
}

.b2-consultant-voice {
  position: absolute;
  z-index: 8;
  right: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(169, 167, 161, .26);
  border-radius: 50%;
  color: rgba(248, 249, 246, .8);
  background: #352528;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.b2-consultant-voice:hover:not(:disabled),
.b2-consultant-voice:focus-visible {
  color: #fff;
  background: #2C2023;
  border-color: rgba(169, 167, 161, .7);
  box-shadow: 0 0 0 3px rgba(169, 167, 161, .14);
}

.b2-consultant-voice:focus-visible {
  outline: 2px solid #F1EEE7;
  outline-offset: 3px;
}

.b2-consultant-voice:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.b2-consultant-voice .b2-consultant-stop-icon {
  display: none;
}

.b2-consultant-voice.is-recording .b2-consultant-mic-icon {
  display: none;
}

.b2-consultant-voice.is-recording .b2-consultant-stop-icon {
  display: block;
}

.b2-consultant-voice-cancel {
  position: absolute;
  z-index: 8;
  left: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(235, 240, 237, .22);
  border-radius: 50%;
  color: #f5f7f4;
  background: #352528;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.b2-consultant-voice-cancel:hover,
.b2-consultant-voice-cancel:focus-visible {
  background: #303A30;
  border-color: rgba(235, 240, 237, .64);
}

.b2-consultant-voice-cancel:focus-visible {
  outline: 2px solid #F1EEE7;
  outline-offset: 3px;
}

.b2-consultant-voice-cancel[hidden] {
  display: none;
}

.b2-consultant-voice.is-recording {
  color: #fff;
  background: #2C2023;
  border-color: rgba(169, 167, 161, .86);
  box-shadow: 0 0 0 5px rgba(169, 167, 161, .12);
  animation: b2-voice-listening 1.5s ease-in-out infinite;
}

.b2-consultant-voice-feedback {
  position: absolute;
  z-index: 8;
  pointer-events: none;
  right: 68px;
  bottom: 24px;
  max-width: calc(100% - 95px);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: rgba(221, 210, 197, .93);
  font-size: 11px;
  line-height: 1.25;
}

.b2-consultant-voice-feedback.has-setup-link {
  pointer-events: auto;
}

.b2-consultant-voice-feedback a {
  margin-left: 3px;
  color: #F1EEE7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.b2-consultant-voice-feedback a:focus-visible {
  outline: 2px solid #F1EEE7;
  outline-offset: 2px;
}

.b2-consultant-voice-feedback[hidden] {
  display: none;
}

.b2-consultant-waveform {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 30px;
  pointer-events: none;
  transform: translateX(-50%);
}

.b2-consultant-waveform[hidden] {
  display: none;
}

.b2-consultant-waveform span {
  flex: 0 0 3px;
  height: 5px;
  border-radius: 3px;
  background: rgba(169, 167, 161, .95);
  transition: height .12s ease;
}

.b2-consultant-composer.is-processing .b2-consultant-waveform span {
  display: none;
}

.b2-consultant-composer.is-processing .b2-consultant-waveform span:nth-child(7),
.b2-consultant-composer.is-processing .b2-consultant-waveform span:nth-child(8),
.b2-consultant-composer.is-processing .b2-consultant-waveform span:nth-child(9) {
  display: block;
  flex-basis: 5px;
  height: 5px !important;
  animation: b2-voice-processing .9s ease-in-out infinite alternate;
}

.b2-consultant-composer.is-processing .b2-consultant-waveform span:nth-child(8) { animation-delay: .15s; }
.b2-consultant-composer.is-processing .b2-consultant-waveform span:nth-child(9) { animation-delay: .3s; }

@keyframes b2-voice-listening {
  50% { box-shadow: 0 0 0 7px rgba(169, 167, 161, .055); }
}

@keyframes b2-voice-processing {
  to { opacity: .35; transform: scale(.75); }
}

@media (max-width: 760px) {
  .b2-consultant-voice {
    right: 16px;
    bottom: 16px;
    width: 32px;
    height: 32px;
  }

  .b2-consultant-voice-cancel {
    left: 16px;
    bottom: 16px;
    width: 32px;
    height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b2-consultant-voice.is-recording,
  .b2-consultant-composer.is-processing .b2-consultant-waveform span {
    animation: none;
  }

  .b2-consultant-waveform span {
    transition: none;
  }
}

/* Keep the send action beside the microphone in the composer from the start. */
.b2-consultant-card .b2-consultant-form .b2-consultant-composer textarea {
  padding-right: 112px !important;
}

.b2-consultant-card .b2-consultant-composer .b2-consultant-voice {
  right: 62px;
  bottom: 18px;
}

.b2-consultant-card .b2-consultant-composer .b2-consultant-submit {
  position: absolute;
  z-index: 8;
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  right: 18px;
  bottom: 18px;
}

.b2-consultant-card .b2-consultant-composer .b2-consultant-submit::before {
  inset: 0;
}

.b2-consultant-controls .b2-consultant-suggestions {
  width: 100%;
  min-width: 0;
  justify-content: center;
  justify-content: safe center;
  gap: 8px;
  padding-right: 0;
}

/* Once the visitor starts a conversation, give the replies room and dock both
   controls inside a short, expanding message field. */
.b2-consultant-card.is-compact .b2-consultant-log {
  max-height: min(300px, 34vh);
}

.b2-consultant-card.is-compact .b2-consultant-form .b2-consultant-composer textarea {
  min-height: 64px;
  max-height: 154px;
  padding: 17px 108px 16px 18px !important;
  border-radius: 19px;
}

.b2-consultant-card.is-compact .b2-consultant-composer .b2-consultant-voice {
  right: 62px;
  bottom: 15px;
}

.b2-consultant-card.is-compact .b2-consultant-voice-cancel {
  left: 15px;
  bottom: 15px;
}

.b2-consultant-card.is-compact .b2-consultant-composer .b2-consultant-submit {
  position: absolute;
  z-index: 8;
  right: 18px;
  bottom: 15px;
}

.b2-consultant-card.is-compact .b2-consultant-waveform {
  bottom: 17px;
}

.b2-consultant-card.is-compact .b2-consultant-controls {
  min-height: 0;
  padding: 20px 10px 8px !important;
}

.b2-consultant-card.is-compact.has-no-suggestions .b2-consultant-controls,
.b2-consultant-card.is-compact .b2-consultant-suggestions[hidden],
.b2-consultant-card.is-compact .b2-consultant-suggestions button[hidden] {
  display: none !important;
}

@media (max-width: 760px) {
  .b2-consultant-card.is-compact .b2-consultant-form .b2-consultant-composer textarea {
    padding-left: 16px !important;
    padding-right: 102px !important;
  }

  .b2-consultant-card.is-compact .b2-consultant-composer .b2-consultant-voice {
    right: 58px;
    bottom: 16px;
  }

  .b2-consultant-card.is-compact .b2-consultant-composer .b2-consultant-submit {
    right: 16px;
    bottom: 16px;
  }

  .b2-consultant-card .b2-consultant-composer .b2-consultant-voice {
    right: 58px;
    bottom: 16px;
  }

  .b2-consultant-card .b2-consultant-composer .b2-consultant-submit {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    right: 16px;
    bottom: 16px;
  }
}

/* Give the secondary action a defined surface against the quiet hero grid. */
.b2-hero .hero-actions--dual .hero-cta--secondary {
  background: #1E211E !important;
  border-color: rgba(233, 226, 228, .38) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .14);
}

.b2-hero .hero-actions--dual .hero-cta--secondary:hover,
.b2-hero .hero-actions--dual .hero-cta--secondary:focus-visible {
  background: #2B2E29 !important;
  border-color: rgba(233, 226, 228, .62) !important;
}

/* Keep the proof rules near their label and clear of the background grid. */
.b2-client-trust-title {
  max-width: 680px;
  margin-inline: auto;
}

.b2-client-trust-title span {
  background: rgba(238, 232, 234, .32);
}

/* Keep the proof close to the hero content while longer conversations scroll. */
@media (min-width: 981px) {
  .b2-client-trust {
    margin-top: 63px;
  }

  .b2-consultant-card.is-compact .b2-consultant-log {
    max-height: min(170px, 24vh);
  }

  .b2-consultant-card.is-compact .b2-consultant-form .b2-consultant-composer textarea {
    max-height: 88px;
  }
}

@media (min-width: 981px) and (max-width: 1380px) {
  .b2-client-trust {
    margin-top: 65px;
  }
}

/* Espresso canvas with aubergine depth on elevated conversation surfaces. */
.b2-hero .b2-consultant-form textarea {
  background: linear-gradient(145deg, #302226 0%, #241A1D 65%, #241A1D 100%) !important;
  border-color: rgba(241, 238, 231, .16);
}

.b2-hero .b2-consultant-controls {
  background: linear-gradient(180deg, #352528, #2C2023) !important;
  border-color: rgba(241, 238, 231, .12);
}

.b2-hero .b2-consultant-message--user {
  background: #352528;
}

.b2-hero .b2-consultant-message--assistant {
  background: #151215;
  border-color: rgba(241, 238, 231, .2);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, .28),
    inset 0 1px 0 rgba(241, 238, 231, .07);
}

.b2-hero .hero-actions--dual .hero-cta--secondary {
  background: #352528 !important;
}

.b2-hero .hero-actions--dual .hero-cta--secondary:hover,
.b2-hero .hero-actions--dual .hero-cta--secondary:focus-visible {
  background: #443035 !important;
}

/* A lighter glass tray beneath the solid composer, as in the supplied reference. */
.b2-hero .b2-consultant-controls {
  background: rgba(241, 238, 231, .14) !important;
  border: 1px solid rgba(241, 238, 231, .16) !important;
  border-top: 0 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12) !important;
  backdrop-filter: blur(5px) saturate(100%) !important;
  -webkit-backdrop-filter: blur(5px) saturate(100%) !important;
}

/* Separate the chat from the canvas with a grounded shadow, without a halo. */
.b2-hero .b2-project-consultant::before,
.b2-hero .b2-consultant-card::before {
  content: none !important;
  display: none !important;
}

.b2-hero .b2-consultant-form textarea {
  box-shadow:
    0 22px 46px rgba(0, 0, 0, .3),
    inset 0 1px 0 rgba(241, 238, 231, .1);
}

/* Give both hero actions the same compact footprint on wider layouts. */
@media (min-width: 761px) {
  .b2-hero .hero-actions--dual .hero-cta--primary,
  .b2-hero .hero-actions--dual .hero-cta--secondary {
    box-sizing: border-box;
    width: 172px !important;
    min-width: 0 !important;
    justify-content: space-between;
  }
}


/* The return control shares the header's glass treatment and responds to the section beneath it. */
.b2-consultant-floater {
  background: rgba(44, 32, 35, .76);
  border-color: rgba(241, 238, 231, .22);
  color: #F1EEE7;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .20), inset 0 1px 0 rgba(241, 238, 231, .08);
  -webkit-backdrop-filter: blur(18px) saturate(112%);
  backdrop-filter: blur(18px) saturate(112%);
}
.b2-consultant-floater:hover,
.b2-consultant-floater:focus-visible {
  background: rgba(44, 32, 35, .88);
  border-color: rgba(241, 238, 231, .4);
}
.b2-consultant-floater.is-on-light {
  background: rgba(241, 238, 231, .78);
  border-color: rgba(44, 32, 35, .2);
  color: #241A1D;
  box-shadow: 0 10px 30px rgba(32, 23, 26, .13), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.b2-consultant-floater.is-on-light:hover,
.b2-consultant-floater.is-on-light:focus-visible {
  background: rgba(241, 238, 231, .91);
  border-color: rgba(44, 32, 35, .38);
}
.b2-consultant-floater.is-on-light .b2-consultant-floater-icon {
  background: rgba(44, 32, 35, .06);
  border-color: rgba(44, 32, 35, .2);
}
.b2-consultant-floater.is-on-light .b2-consultant-floater-icon::before,
.b2-consultant-floater.is-on-light .b2-consultant-floater-icon::after {
  border-color: #241A1D;
}
.b2-consultant-floater.is-on-light .b2-consultant-floater-icon > span {
  background: #241A1D;
  box-shadow: 6px 0 0 rgba(44, 32, 35, .62);
}
.b2-consultant-floater.is-on-light .b2-consultant-floater-arrow {
  color: rgba(36, 26, 29, .67);
}


/* One serif family across the hero. Italic gives the circled phrase emphasis without changing its voice. */
.b2-hero .b2-hero-copy .hero-headline {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: clamp(42px, 3.5vw, 62px) !important;
  font-weight: 400 !important;
  letter-spacing: -.044em !important;
  line-height: 1.02 !important;
}
.b2-hero .hero-headline-line,
.b2-hero .hero-edge-accent {
  font-weight: inherit !important;
}
.b2-hero .hero-edge-text {
  font-family: inherit !important;
  font-size: 1em !important;
  font-style: italic !important;
  font-weight: 400 !important;
  letter-spacing: -.052em !important;
  line-height: 1 !important;
  white-space: nowrap;
  transform: none !important;
  -webkit-text-fill-color: #F1EEE7 !important;
}
@media (max-width: 980px) and (min-width: 761px) {
  .b2-hero .b2-hero-copy .hero-headline {
    font-size: clamp(42px, 5.5vw, 54px) !important;
  }
}
@media (max-width: 760px) {
  .b2-hero .b2-hero-copy .hero-headline {
    font-size: clamp(36px, 9.35vw, 47px) !important;
    line-height: 1.04 !important;
  }
  .b2-hero .hero-edge-text {
    font-size: .88em !important;
    letter-spacing: -.055em !important;
  }
}


/* Match the secondary action and composer while restoring the suggestion tray glass. */
.b2-hero .hero-actions--dual .hero-cta--secondary {
  background: #281C20 !important;
  border-color: rgba(241, 238, 231, .25) !important;
}
.b2-hero .hero-actions--dual .hero-cta--secondary:hover,
.b2-hero .hero-actions--dual .hero-cta--secondary:focus-visible {
  background: #352528 !important;
}
/* Optical correction: the larger composer reads lighter than the same colored button. */
.b2-hero .b2-consultant-form textarea {
  background: #24191D !important;
  border-color: rgba(241, 238, 231, .16) !important;
}
.b2-hero .b2-consultant-controls {
  background: rgba(241, 238, 231, .14) !important;
  border-color: rgba(241, 238, 231, .14) !important;
}

/* Trim the glass tray without reducing or clipping suggestion labels. */
.b2-hero .b2-consultant-controls {
  min-height: 60px;
  padding: 16px 12px 8px !important;
}
.b2-hero .b2-consultant-card.is-compact .b2-consultant-controls {
  min-height: 0;
  padding: 16px 10px 8px !important;
}
@media (max-width: 760px) {
  .b2-hero .b2-consultant-controls {
    min-height: 56px;
    padding: 14px 10px 8px !important;
  }
}


/* Match the two hero actions to the compact navigation CTA footprint. */
@media (min-width: 761px) {
  .b2-hero .hero-actions--dual .hero-cta--primary,
  .b2-hero .hero-actions--dual .hero-cta--secondary {
    box-sizing: border-box;
    width: 114px !important;
    min-width: 114px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 10px !important;
    gap: 5px !important;
    font-size: 11px !important;
    line-height: 1.15;
    white-space: nowrap;
    justify-content: space-between;
  }
}
@media (max-width: 760px) {
  .b2-hero .hero-actions--dual .hero-cta--primary,
  .b2-hero .hero-actions--dual .hero-cta--secondary {
    box-sizing: border-box;
    width: 124px !important;
    min-width: 0 !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 10px !important;
    gap: 6px !important;
    font-size: 11px !important;
    white-space: nowrap;
    justify-content: space-between;
  }
}

/* Optical match: the outlined action needs a touch more width to read as equal. */
@media (min-width: 761px) {
  .b2-hero .hero-actions--dual .hero-cta--secondary {
    width: 120px !important;
    min-width: 120px !important;
  }
}

/* One semantic headline with desktop and mobile breaks at their respective widths. */
.b2-hero .hero-break--mobile {
  display: none;
}

.b2-hero .hero-break--desktop {
  display: initial;
}

/* Hero hierarchy: message and actions precede the consultant on phones and tablets. */
@media (max-width: 1200px) {
  .b2-hero .b2-hero-dashboard {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    align-items: start;
    gap: clamp(32px, 5vw, 52px) !important;
  }

  .b2-hero .b2-hero-copy {
    order: 0;
    max-width: 720px;
    transform: none;
  }

  .b2-hero .b2-project-consultant {
    order: 1;
    width: min(100%, 720px);
    min-width: 0;
    justify-self: start;
    justify-items: start;
    transform: none;
  }

  .b2-hero .b2-consultant-card {
    justify-self: start;
    width: min(100%, 600px);
  }

  .b2-hero .hero-headline-line--lead,
  .b2-hero .hero-headline-line--edge {
    width: auto;
    white-space: normal;
  }

  .b2-hero .b2-client-trust {
    margin-top: 46px;
  }
}

@media (min-width: 761px) and (max-width: 1200px) {
  .b2-hero .b2-hero-dashboard {
    padding-top: 28px;
    gap: 68px !important;
  }

  .b2-hero .b2-hero-copy {
    margin-inline: auto;
    padding-bottom: 0 !important;
    align-items: center;
    text-align: center;
  }

  .b2-hero .b2-hero-copy .hero-headline,
  .b2-hero .hero-headline-line--lead,
  .b2-hero .hero-headline-line--edge {
    text-align: center;
  }

  .b2-hero .hero-headline-line--lead,
  .b2-hero .hero-headline-line--edge {
    margin-inline: auto;
  }

  .b2-hero .hero-actions--dual {
    justify-content: center;
  }

  .b2-hero .b2-project-consultant,
  .b2-hero .b2-consultant-card {
    justify-self: center;
    justify-items: center;
  }

  /* The composer and conversation must fill the widened card as well. */
  .b2-hero .b2-consultant-card {
    width: min(100%, 720px);
  }

  .b2-hero .b2-consultant-card .b2-consultant-form,
  .b2-hero .b2-consultant-card .b2-consultant-log {
    width: 100%;
    max-width: none;
  }

  .b2-hero .hero-actions--dual .hero-cta--primary,
  .b2-hero .hero-actions--dual .hero-cta--secondary {
    width: auto !important;
    min-width: 210px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding-inline: 18px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 760px) {
  .b2-hero {
    padding-top: 60px !important;
    padding-bottom: 52px !important;
  }

  .b2-hero .b2-hero-dashboard {
    width: calc(100% - 36px);
    gap: 58px !important;
    padding-top: 0;
  }

  .b2-hero .b2-hero-copy {
    order: 0;
    padding: 0 !important;
  }

  .b2-hero .b2-hero-copy .hero-headline {
    max-width: 100%;
    font-size: clamp(36px, 10vw, 44px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.045em !important;
  }

  /* Fixed three-line phone headline, without relying on automatic wrapping. */
  .b2-hero .b2-hero-copy .hero-headline {
    text-wrap: normal;
  }

  .b2-hero .hero-headline-line--lead {
    width: auto;
    white-space: normal;
  }

  .b2-hero .hero-break--desktop {
    display: none;
  }

  .b2-hero .hero-break--mobile {
    display: initial;
  }

  .b2-hero .hero-mobile-line--first,
  .b2-hero .hero-mobile-line--middle,
  .b2-hero .hero-mobile-line--tail,
  .b2-hero .hero-edge-accent {
    white-space: nowrap;
  }

  .b2-hero .hero-edge-accent {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
  }

  .b2-hero .hero-edge-text {
    font-size: .91em !important;
  }

  .b2-hero .hero-actions--dual {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin-top: 27px !important;
    gap: 12px !important;
  }

  .b2-hero .hero-actions--dual .hero-cta--primary,
  .b2-hero .hero-actions--dual .hero-cta--secondary {
    width: min(100%, 220px) !important;
    min-width: 0 !important;
    height: 46px !important;
    min-height: 46px !important;
    padding-inline: 14px !important;
    font-size: 12px !important;
  }

  .b2-hero .b2-project-consultant {
    order: 1;
    width: 100%;
  }

  .b2-hero .b2-consultant-card {
    width: 100%;
  }

  /* Shorten only the initial composer; conversation replies can still expand. */
  .b2-hero .b2-consultant-card:not(.is-compact) .b2-consultant-form textarea {
    min-height: 112px !important;
  }

  .b2-hero .b2-client-trust {
    width: calc(100% - 40px);
    margin-top: 68px;
  }
}

@media (min-width: 1201px) {
  .b2-hero .b2-project-consultant {
    justify-items: end;
  }

  .b2-hero .b2-consultant-card {
    justify-self: end;
  }

  .b2-hero .b2-client-trust {
    margin-top: 84px;
  }
}

@media (max-width: 360px) {
  .b2-hero .b2-hero-copy .hero-headline {
    font-size: clamp(32px, 10vw, 36px) !important;
  }

  .b2-hero .hero-edge-text {
    font-size: .9em !important;
  }
}

/* A quiet wine highlight travels continuously around the project composer. */
@property --b2-composer-light-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.b2-hero .b2-consultant-composer::after {
  --b2-composer-light-angle: 0deg;
  content: "";
  position: absolute;
  z-index: 8;
  inset: 0;
  padding: 1.5px;
  border-radius: 22px;
  pointer-events: none;
  background: conic-gradient(
    from var(--b2-composer-light-angle),
    transparent 0deg 292deg,
    rgba(166, 94, 112, .25) 306deg,
    rgba(200, 127, 142, .68) 320deg,
    rgba(166, 94, 112, .24) 334deg,
    transparent 348deg 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  animation: b2-composer-light-pass 14s linear infinite;
}

.b2-hero .b2-consultant-card.is-compact .b2-consultant-composer::after {
  border-radius: 19px;
}

@keyframes b2-composer-light-pass {
  0% { --b2-composer-light-angle: 0deg; }
  100% { --b2-composer-light-angle: 360deg; }
}

@media (max-width: 760px) {
  .b2-hero .b2-consultant-composer::after {
    opacity: .55;
  }
}

@media (prefers-reduced-motion: reduce) {
  .b2-hero .b2-consultant-composer::after {
    animation: none;
    opacity: 0;
  }
}
