/* ============================================================
   Byond Boundrys — Homepage (redesign v2)
   Higher contrast · scroll motion · connected process · branded cases
   ============================================================ */
.bb-home-main {
  --home-navy: #0a2540;
  --home-ink: #1e3a55;
  --home-text: #3b556e;
  --home-muted: #62788b;
  --home-cream: #fff9ef;
  --home-cream-2: #fff3e2;
  --home-line: #e9dcc8;
  --home-orange: #f97316;
  --home-orange-deep: #e05e04;
  --home-violet: #7c3aed;
  --home-blue: #2563eb;
  --home-rose: #ec4899;
  --home-green: #0e9f6e;
  background: #fff;
  color: var(--home-navy);
  font-family: 'Inter', system-ui, sans-serif;
}
.bb-home-main *, .bb-home-main *::before, .bb-home-main *::after { box-sizing: border-box; }
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.bb-home-container { width: min(calc(100% - 32px), 1400px); margin-inline: auto; }
.bb-home-section { padding: clamp(2rem, 3.4vw, 3.2rem) 0; }
.bb-kicker { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .8rem; color: var(--home-orange-deep); font: 700 .72rem/1.2 'JetBrains Mono', monospace; letter-spacing: .16em; text-transform: uppercase; }
.bb-kicker::before { content: ''; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--home-orange), var(--home-violet)); }
.bb-section-head { margin-bottom: clamp(2rem, 3.4vw, 3.2rem); }
.bb-section-head h2 { max-width: 820px; margin: 0; color: var(--home-navy); font: 700 clamp(2.05rem, 3.4vw, 3.3rem)/1.05 'Space Grotesk', sans-serif; letter-spacing: -.04em; }
.bb-section-head h2 em { font-style: normal; background: linear-gradient(92deg, var(--home-orange) 8%, var(--home-violet) 88%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bb-section-head > p, .bb-section-head-split > p { max-width: 560px; margin: 0; color: var(--home-text); font-size: 1.02rem; line-height: 1.72; }
.bb-section-head-split, .bb-section-head-actions { display: grid; gap: 1.15rem; align-items: end; }
.bb-section-head-actions { align-items: center; }
.bb-text-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--home-navy); font-size: .9rem; font-weight: 750; text-decoration: none; transition: color .18s ease, gap .18s ease; }
.bb-text-link:hover { color: var(--home-orange-deep); gap: .65rem; }
.bb-muted-link { color: var(--home-muted); cursor: default; }

/* ---------- Scroll reveal (generic) ---------- */
.bb-motion-enabled [data-reveal] { opacity: 0; transform: translateY(26px); }
.bb-motion-enabled [data-reveal].is-visible { opacity: 1; transform: none; transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s cubic-bezier(.19,.74,.24,1) var(--reveal-delay, 0ms); }
.bb-motion-enabled .bb-reveal-card { opacity: 0; transform: translateY(24px) scale(.985); }
.bb-motion-enabled .bb-reveal-card.is-visible { opacity: 1; transform: translateY(0) scale(1); transition: opacity .6s ease var(--reveal-delay, 0ms), transform .6s cubic-bezier(.2,.75,.25,1) var(--reveal-delay, 0ms), box-shadow .24s ease, border-color .24s ease; }

/* ---------- Industries & domains — compact navigation cards ---------- */
.bb-industries-section {
  position: relative;
  overflow: hidden;
  padding: 0 0 clamp(3rem, 4.4vw, 3.8rem);
  border-top: 1px solid rgba(10,37,64,.045);
  background:
    radial-gradient(circle at 7% 46%, rgba(249,115,22,.08), transparent 29%),
    radial-gradient(circle at 93% 42%, rgba(124,58,237,.075), transparent 31%),
    linear-gradient(180deg, #fbf8f3 0%, #fff 100%);
}
.bb-industries-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background-image: radial-gradient(rgba(10,37,64,.14) .6px, transparent .6px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 82%, transparent);
}
.bb-industries-inner { position: relative; z-index: 1; padding-top: clamp(.65rem, 1vw, .95rem); }
.bb-industries-head { margin-bottom: clamp(1.55rem, 2.5vw, 2.15rem); }
.bb-industry-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: clamp(.7rem, 1vw, .95rem); }
.bb-industry-card {
  --industry-tone: var(--home-orange);
  --industry-soft: #fff0e5;
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 1.2rem;
  border: 1px solid rgba(218,202,181,.82);
  border-radius: 1.15rem;
  background: rgba(255,255,255,.8);
  color: var(--home-navy);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(10,37,64,.038);
  backdrop-filter: blur(8px);
  transition: transform .22s cubic-bezier(.2,.7,.3,1), border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.bb-industry-card::before {
  content: '';
  position: absolute;
  width: 112px;
  height: 112px;
  right: -54px;
  top: -54px;
  border-radius: 50%;
  background: var(--industry-soft);
  opacity: .75;
  transition: transform .24s ease;
}
.bb-industry-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--industry-tone) 34%, var(--home-line));
  background: rgba(255,255,255,.94);
  box-shadow: 0 22px 46px rgba(10,37,64,.085);
}
.bb-industry-card:hover::before { transform: scale(1.15); }
.bb-industry-tone-orange { --industry-tone: #f97316; --industry-soft: #fff0e5; }
.bb-industry-tone-blue { --industry-tone: #2563eb; --industry-soft: #eaf2ff; }
.bb-industry-tone-violet { --industry-tone: #7c3aed; --industry-soft: #f3edff; }
.bb-industry-tone-rose { --industry-tone: #db4d91; --industry-soft: #fff0f7; }
.bb-industry-tone-indigo { --industry-tone: #5d4ee8; --industry-soft: #efedff; }
.bb-industry-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: .8rem;
  background: var(--industry-soft);
  color: var(--industry-tone);
  font-size: 1.14rem;
  transition: transform .22s ease;
}
.bb-industry-card:hover .bb-industry-icon { transform: rotate(-5deg) scale(1.05); }
.bb-industry-card h3 {
  position: relative;
  z-index: 1;
  margin: .9rem 0 .45rem;
  color: var(--home-navy);
  font: 700 clamp(1.02rem, 1.18vw, 1.18rem)/1.16 'Space Grotesk', sans-serif;
  letter-spacing: -.025em;
}
.bb-industry-card p { position: relative; z-index: 1; margin: 0; color: var(--home-text); font-size: .78rem; line-height: 1.55; }
.bb-industry-card-link {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: .55rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--industry-tone);
  font-size: .72rem;
  font-weight: 780;
}
.bb-industry-card-link i {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--industry-soft);
  font-size: .95rem;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.bb-industry-card:hover .bb-industry-card-link i { transform: translateX(3px); background: var(--industry-tone); color: #fff; }



.bb-build-section { padding-top: clamp(2rem, 3vw, 2.6rem); padding-bottom: clamp(2rem, 3.4vw, 3rem); }
.bb-build-copy .bb-kicker { margin-bottom: .55rem; }
.bb-build-visual { max-width: 100%; }
.bb-build-item + .bb-build-item { margin-top: 0; }
/* ---------- What we build — editorial accordion ---------- */
.bb-build-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 14%, rgba(249,115,22,.06), transparent 24%),
    radial-gradient(circle at 92% 10%, rgba(124,58,237,.06), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, #fff 100%);
}
.bb-build-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image: radial-gradient(rgba(10,37,64,.13) .6px, transparent .6px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}
.bb-build-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
}
.bb-build-copy {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  height: 100%;
  min-height: clamp(440px, 31vw, 520px);
  justify-content: flex-end;
  padding: clamp(1.35rem, 2.4vw, 2.35rem);
  border-radius: 1.35rem;
  box-shadow: 0 22px 48px rgba(10,37,64,.14);
  background: var(--home-navy);
}
.bb-build-copy::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,43,74,.05) 0%, rgba(11,43,74,.16) 38%, rgba(7,29,52,.76) 100%),
    linear-gradient(90deg, rgba(5,20,48,.72), rgba(5,20,48,.25) 62%, transparent 100%);
}
.bb-build-copy-content { position: relative; z-index: 2; max-width: 610px; }
.bb-build-copy .bb-kicker { color: #ffc09c; }
.bb-build-copy .bb-build-topline,
.bb-build-copy .bb-build-intro { color: rgba(255,255,255,.84); }
.bb-build-copy h2 { color: #fff; }
.bb-build-topline {
  margin: 0;
  color: var(--home-ink);
  font-size: .9rem;
  font-weight: 720;
  line-height: 1.55;
}
.bb-build-copy h2 {
  max-width: 22ch;
  margin: .85rem 0 0;
  color: var(--home-navy);
  font: 700 clamp(1.95rem, 3.4vw, 3rem)/1.04 'Space Grotesk', sans-serif;
  letter-spacing: -.045em;
}
.bb-build-copy h2 em {
  font-style: normal;
  background: linear-gradient(90deg, #f97316 0%, #d65b98 52%, #7c3aed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* Keep the editorial copy readable over the image at every cascade breakpoint. */
.bb-build-copy-content .bb-kicker { color: #ffc09c; }
.bb-build-copy-content .bb-build-topline,
.bb-build-copy-content .bb-build-intro { color: rgba(255,255,255,.9); text-shadow: 0 1px 2px rgba(0,0,0,.18); }
.bb-build-copy-content h2 { color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.2); }
.bb-build-proof { display: flex; flex-wrap: wrap; gap: .45rem .8rem; margin-top: 1.05rem; padding-top: .9rem; border-top: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.88); font-size: .72rem; font-weight: 720; }
.bb-build-proof span { display: inline-flex; align-items: center; gap: .28rem; }
.bb-build-proof i { color: #ff9a51; font-size: .9rem; }
.bb-build-intro {
  max-width: 540px;
  margin: .95rem 0 0;
  color: var(--home-text);
  font-size: clamp(.96rem, 1.1vw, 1.03rem);
  line-height: 1.7;
}
.bb-build-visual {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
}
.bb-build-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  filter: blur(.7px) saturate(.88);
  transform: scale(1.035);
}
.bb-build-accordion {
  display: flex;
  flex-direction: column;
  gap: .72rem;
  padding-top: clamp(.15rem, .5vw, .4rem);
}
.bb-build-item {
  border: 1px solid rgba(218,202,181,.82);
  border-radius: 1.25rem;
  background: rgba(255,255,255,.78);
  box-shadow: 0 12px 30px rgba(10,37,64,.035);
  backdrop-filter: blur(6px);
  transition: border-color .22s ease, box-shadow .22s ease, background .22s ease;
}
.bb-build-item:hover {
  border-color: rgba(249,115,22,.28);
  box-shadow: 0 18px 40px rgba(10,37,64,.06);
}
.bb-build-item.is-open {
  border-color: rgba(249,115,22,.4);
  background: linear-gradient(135deg, rgba(255,255,255,.97), rgba(255,251,244,.96));
  box-shadow: 0 20px 44px rgba(10,37,64,.08);
}
.bb-build-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border: 0;
  background: transparent;
  color: var(--home-navy);
  text-align: left;
  font: 700 clamp(1.04rem, 1.3vw, 1.22rem)/1.25 'Space Grotesk', sans-serif;
  letter-spacing: -.02em;
  cursor: pointer;
}
.bb-build-trigger span:first-child { flex: 1 1 auto; }
.bb-build-trigger-icon {
  position: relative;
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(249,115,22,.35);
  border-radius: 50%;
  color: var(--home-orange-deep);
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}
.bb-build-trigger-icon::before,
.bb-build-trigger-icon::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .18s ease;
}
.bb-build-trigger-icon::after { transform: rotate(90deg); }
.bb-build-item.is-open .bb-build-trigger-icon { background: rgba(249,115,22,.08); border-color: rgba(249,115,22,.55); }
.bb-build-item.is-open .bb-build-trigger-icon::after { opacity: 0; }
.bb-build-panel {
  padding: 0 1.15rem 1.1rem;
}
.bb-build-panel p {
  margin: 0;
  color: var(--home-text);
  font-size: .95rem;
  line-height: 1.72;
}
.bb-build-meta {
  margin-top: 1rem !important;
  color: var(--home-ink) !important;
  font-size: .78rem !important;
  font-weight: 750;
  letter-spacing: -.005em;
}
.bb-build-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.1rem;
  color: var(--home-orange-deep);
  font-size: .84rem;
  font-weight: 780;
  text-decoration: none;
}
.bb-build-link i { transition: transform .18s ease; }
.bb-build-link:hover i { transform: translateX(3px); }


/* ---------- Outcomes / value cards ---------- */
.bb-problems-section {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 6% 12%, rgba(249,115,22,.09), transparent 26%),
    radial-gradient(circle at 94% 86%, rgba(124,58,237,.08), transparent 27%),
    linear-gradient(180deg, #fffaf2 0%, #fff 100%);
}
.bb-problems-section::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .3; background-image: radial-gradient(rgba(10,37,64,.15) .65px, transparent .65px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 78%, transparent); }
.bb-problems-section > .bb-home-container { position: relative; z-index: 1; }
.bb-problem-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.bb-problem-card {
  --tone: var(--home-orange); --tone-soft: #fff0e5;
  position: relative; display: grid; grid-template-columns: minmax(0,1fr) clamp(126px, 12vw, 176px);
  align-items: center; gap: clamp(.85rem, 1.8vw, 1.5rem); overflow: hidden; min-height: 250px;
  padding: clamp(1.25rem, 2vw, 1.75rem); border: 1px solid var(--home-line); border-radius: 1.4rem;
  background: linear-gradient(135deg, #fff, #fffaf3 92%);
  box-shadow: 0 16px 42px rgba(10,37,64,.06);
  transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s ease, border-color .26s ease;
}
.bb-problem-card::before { content: ''; position: absolute; inset: auto -2.5rem -3.2rem auto; width: 11rem; height: 11rem; border-radius: 50%; background: var(--tone-soft); opacity: .8; pointer-events: none; transition: transform .3s ease; }
.bb-problem-card::after { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--tone), transparent 65%); opacity: 0; transition: opacity .25s ease; }
.bb-problem-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--tone) 32%, var(--home-line)); box-shadow: 0 28px 64px rgba(10,37,64,.11); }
.bb-problem-card:hover::before { transform: scale(1.12); }
.bb-problem-card:hover::after { opacity: 1; }
.bb-problem-content { position: relative; z-index: 2; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.bb-card-label, .bb-pillar-label { display: inline-flex; align-items: center; gap: .6rem; color: var(--tone); font: 750 .68rem/1.2 'JetBrains Mono', monospace; letter-spacing: .07em; text-transform: uppercase; }
.bb-icon-box { display: inline-flex; width: 40px; height: 40px; flex: 0 0 auto; align-items: center; justify-content: center; border-radius: .8rem; background: var(--tone-soft); color: var(--tone); font-size: 1.1rem; transition: transform .25s ease; }
.bb-problem-card:hover .bb-icon-box { transform: rotate(-6deg) scale(1.06); }
.bb-problem-card h3 { margin: .95rem 0 .5rem; color: var(--home-navy); font: 700 1.42rem/1.16 'Space Grotesk', sans-serif; letter-spacing: -.025em; }
.bb-problem-card > .bb-problem-content > p { max-width: 560px; margin: 0; color: var(--home-text); font-size: .92rem; line-height: 1.62; }
.bb-tag-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .95rem; }
.bb-tag-row span { padding: .4rem .62rem; border: 1px solid color-mix(in srgb, var(--tone) 22%, var(--home-line)); border-radius: 999px; background: rgba(255,255,255,.85); color: var(--home-ink); font-size: .68rem; font-weight: 700; }
.bb-card-cta { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.05rem; color: var(--home-navy); font-size: .82rem; font-weight: 780; text-decoration: none; transition: color .18s ease, gap .18s ease; }
.bb-card-cta i { color: var(--tone); transition: transform .18s ease; }
.bb-card-cta:hover { color: var(--tone); gap: .68rem; }
.bb-sticker-stage, .bb-service-visual {
  position: relative; z-index: 2; display: flex; aspect-ratio: 1; align-items: center; justify-content: center; overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--tone) 18%, var(--home-line)); border-radius: 1.35rem;
  background: radial-gradient(circle at 70% 18%, rgba(255,255,255,.95), transparent 32%), linear-gradient(145deg, var(--tone-soft), rgba(255,255,255,.85));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 16px 35px rgba(10,37,64,.08);
}
.bb-sticker-stage::before, .bb-service-visual::before { content: ''; position: absolute; inset: 13%; border: 1px dashed color-mix(in srgb, var(--tone) 30%, transparent); border-radius: 50%; animation: bbStickerSpin 16s linear infinite; }
.bb-sticker-stage img, .bb-service-visual img { position: relative; z-index: 2; width: 88%; height: 88%; object-fit: contain; animation: bbStickerFloat 4.8s ease-in-out infinite; }
.bb-sticker-fallback, .bb-service-fallback { position: relative; z-index: 2; display: flex; width: 54%; height: 54%; align-items: center; justify-content: center; border-radius: 1.2rem; background: rgba(255,255,255,.85); color: var(--tone); box-shadow: 0 12px 30px rgba(10,37,64,.1); font-size: clamp(2rem, 4vw, 3.5rem); animation: bbStickerFloat 4.8s ease-in-out infinite; }
.bb-orbit-dot, .bb-service-spark { position: absolute; z-index: 3; width: 9px; height: 9px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 5px color-mix(in srgb, var(--tone) 12%, transparent); }
.bb-orbit-dot-one, .bb-service-spark-one { top: 16%; right: 16%; animation: bbPulseDot 2.7s ease-in-out infinite; }
.bb-orbit-dot-two, .bb-service-spark-two { left: 13%; bottom: 17%; width: 6px; height: 6px; animation: bbPulseDot 2.7s .8s ease-in-out infinite; }
.bb-tone-orange { --tone: #f97316; --tone-soft: #fff0e5; }
.bb-tone-violet { --tone: #7c3aed; --tone-soft: #f3edff; }
.bb-tone-blue { --tone: #2563eb; --tone-soft: #eaf1ff; }
.bb-tone-rose { --tone: #ec4899; --tone-soft: #fff0f7; }

/* ---------- Why Byond Boundrys ---------- */
.bb-why-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 12%, rgba(249,115,22,.08), transparent 25%),
    radial-gradient(circle at 94% 12%, rgba(124,58,237,.07), transparent 28%),
    linear-gradient(180deg, #fffaf3 0%, #fffdf9 48%, #fff 100%);
}
.bb-why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background-image: radial-gradient(rgba(10,37,64,.13) .6px, transparent .6px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 34%, transparent 70%, #000 100%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 34%, transparent 70%, #000 100%);
}
.bb-why-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr);
  gap: clamp(1.5rem, 3.2vw, 3rem);
  align-items: stretch;
}
.bb-why-intro {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}
.bb-why-intro h2 {
  max-width: 10.5ch;
  margin: 0;
  color: var(--home-navy);
  font: 700 clamp(2.35rem, 4.2vw, 4.15rem)/.98 'Space Grotesk', sans-serif;
  letter-spacing: -.055em;
}
.bb-why-intro h2 em {
  font-style: normal;
  background: linear-gradient(92deg, var(--home-orange) 6%, var(--home-violet) 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bb-why-lead {
  max-width: 640px;
  margin: 1.1rem 0 0;
  color: var(--home-text);
  font-size: clamp(.98rem, 1.25vw, 1.08rem);
  line-height: 1.7;
}
.bb-why-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-top: 1.15rem;
  padding: clamp(1.3rem, 2vw, 1.75rem);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 1.55rem;
  background:
    radial-gradient(circle at 88% 82%, rgba(124,58,237,.4), transparent 37%),
    radial-gradient(circle at 92% 20%, rgba(249,115,22,.24), transparent 30%),
    linear-gradient(145deg, #102b4b 0%, #071a30 68%, #08172a 100%);
  box-shadow: 0 24px 58px rgba(10,37,64,.16);
  color: #fff;
}
.bb-why-feature::before {
  content: '';
  position: absolute;
  right: -8%;
  bottom: -32%;
  z-index: -1;
  width: 72%;
  height: 66%;
  border-radius: 50%;
  opacity: .48;
  background: repeating-radial-gradient(ellipse at center, transparent 0 12px, rgba(249,115,22,.32) 13px 14px, transparent 15px 22px);
  transform: rotate(-10deg);
}
.bb-why-feature-mark {
  display: inline-flex;
  width: 46px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(249,115,22,.22), rgba(124,58,237,.26));
  color: #ffc08d;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.bb-why-feature h3 {
  max-width: 570px;
  margin: 1.25rem 0 0;
  color: #fff;
  font: 700 clamp(1.35rem, 1.75vw, 1.72rem)/1.14 'Space Grotesk', sans-serif;
  letter-spacing: -.035em;
}
.bb-why-feature p {
  max-width: 600px;
  margin: .9rem 0 0;
  color: #cbd9e6;
  font-size: .93rem;
  line-height: 1.7;
}
.bb-why-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: auto;
  padding: .78rem 1.08rem;
  border-radius: .75rem;
  background: linear-gradient(92deg, #f97316, #d64e86 55%, #7c3aed);
  color: #fff;
  font-size: .84rem;
  font-weight: 780;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(124,58,237,.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.bb-why-cta:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(124,58,237,.26); }
.bb-why-cta i { transition: transform .18s ease; }
.bb-why-cta:hover i { transform: translateX(3px); }
.bb-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  height: 100%;
  grid-template-rows: repeat(2, minmax(0,1fr));
  gap: .95rem;
  padding-top: .15rem;
}
.bb-why-card {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.15rem 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(218,202,181,.82);
  border-radius: 1.2rem;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 30px rgba(10,37,64,.045);
  backdrop-filter: blur(8px);
  transition: transform .24s cubic-bezier(.2,.7,.3,1), border-color .24s ease, box-shadow .24s ease;
}
.bb-why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(124,58,237,.26);
  box-shadow: 0 22px 46px rgba(10,37,64,.085);
}
.bb-why-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 50%;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg, var(--home-orange), var(--home-violet)) border-box;
  color: var(--home-navy);
  font-size: 1.45rem;
  box-shadow: 0 10px 24px rgba(10,37,64,.06);
  transition: transform .22s ease;
}
.bb-why-card:hover .bb-why-icon { transform: rotate(-5deg) scale(1.05); }
.bb-why-card h3 {
  margin: 1rem 0 .5rem;
  color: var(--home-navy);
  font: 700 1.08rem/1.22 'Space Grotesk', sans-serif;
  letter-spacing: -.025em;
}
.bb-why-card p {
  margin: 0;
  color: var(--home-text);
  font-size: .84rem;
  line-height: 1.6;
}
.bb-why-accent {
  display: block;
  width: 48px;
  height: 2px;
  margin-top: auto;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--home-orange), var(--home-violet));
  transform-origin: left center;
  transition: width .22s ease;
}
.bb-why-card:hover .bb-why-accent { width: 70px; }

@media (min-width: 1181px) {
  .bb-why-layout > * { min-height: 100%; }
  .bb-why-feature { min-height: 0; }
  .bb-why-grid { align-self: stretch; }
  .bb-why-card { height: 100%; }
}
@media (max-width: 1180px) {
  .bb-why-layout { grid-template-columns: 1fr; align-items: start; }
  .bb-why-intro { min-height: 0; }
  .bb-why-feature { flex: 0 1 auto; }
  .bb-why-grid { height: auto; grid-template-rows: none; }
  .bb-why-intro h2 { max-width: 14ch; }
  .bb-why-feature { max-width: none; }
  .bb-why-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 860px) {
  .bb-why-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bb-why-card { min-height: 205px; }
}
@media (max-width: 560px) {
  .bb-why-section { padding-top: 2.15rem; padding-bottom: 2.4rem; }
  .bb-why-layout { gap: 1.15rem; }
  .bb-why-intro h2 { max-width: 100%; font-size: clamp(2rem, 10vw, 2.7rem); }
  .bb-why-lead { margin-top: .8rem; font-size: .91rem; line-height: 1.62; }
  .bb-why-feature { margin-top: 1rem; padding: 1.2rem; border-radius: 1.15rem; }
  .bb-why-feature h3 { margin-top: .9rem; font-size: 1.32rem; }
  .bb-why-feature p { font-size: .86rem; line-height: 1.62; }
  .bb-why-cta { width: 100%; margin-top: 1.05rem; }
  .bb-why-grid {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    padding: .15rem .1rem .5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .bb-why-grid::-webkit-scrollbar { display: none; }
  .bb-why-card {
    min-height: 210px;
    flex: 0 0 min(80vw, 280px);
    scroll-snap-align: start;
  }
}

/* ---------- Case studies ---------- */
.bb-cases-section { background: linear-gradient(180deg, #fdf8f0 0%, #fffaf3 100%); }
.bb-case-grid { display: grid; gap: 1.05rem; }
.bb-case-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--home-line); border-radius: 1.4rem; background: #fff; box-shadow: 0 18px 52px rgba(10,37,64,.06); transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s ease; }
.bb-case-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px rgba(10,37,64,.12); }
.bb-case-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16/9; text-decoration: none; }
.bb-case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s cubic-bezier(.2,.7,.3,1); }
.bb-case-card:hover .bb-case-media img { transform: scale(1.045); }
.bb-case-cover { --tone: var(--home-orange); position: relative; display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--tone) 16%, #0a2540) 0%, #0a2540 58%, color-mix(in srgb, var(--home-violet) 30%, #0a2540) 100%); }
.bb-case-cover::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 30%, transparent 78%); mask-image: radial-gradient(circle at 50% 45%, #000 30%, transparent 78%); }
.bb-case-cover::after { content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tone) 34%, transparent), transparent 66%); filter: blur(6px); transition: transform .45s ease; }
.bb-case-card:hover .bb-case-cover::after { transform: scale(1.18); }
.bb-case-mono { position: relative; z-index: 2; display: inline-flex; width: 74px; height: 74px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.28); border-radius: 1.15rem; background: rgba(255,255,255,.1); color: #fff; font: 700 1.7rem/1 'Space Grotesk', sans-serif; letter-spacing: -.02em; backdrop-filter: blur(8px); box-shadow: 0 18px 44px rgba(0,0,0,.28); }
.bb-case-cover-title { position: absolute; z-index: 2; left: 1.1rem; bottom: .95rem; right: 1.1rem; color: rgba(255,255,255,.92); font: 700 .74rem/1.35 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.bb-case-index { position: absolute; z-index: 3; left: .95rem; top: .95rem; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 30px; padding-inline: .5rem; border: 1px solid rgba(255,255,255,.7); border-radius: 999px; background: rgba(10,37,64,.78); color: #fff; font: 700 .66rem/1 'JetBrains Mono', monospace; backdrop-filter: blur(8px); }
.bb-case-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 1.3rem 1.35rem 1.4rem; }
.bb-case-category { color: var(--home-orange-deep); font: 700 .66rem/1.3 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; }
.bb-case-body h3 { margin: .55rem 0 .5rem; color: var(--home-navy); font: 700 1.34rem/1.18 'Space Grotesk', sans-serif; letter-spacing: -.02em; }
.bb-case-body h3 a { color: inherit; text-decoration: none; }
.bb-case-body h3 a:hover { color: var(--home-orange-deep); }
.bb-case-body > p { margin: 0 0 1rem; color: var(--home-text); font-size: .9rem; line-height: 1.62; }
.bb-case-outcome { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1.05rem; padding: .45rem .7rem; border: 1px solid color-mix(in srgb, var(--home-green) 30%, var(--home-line)); border-radius: 999px; background: color-mix(in srgb, var(--home-green) 7%, #fff); color: #0b7a55; font-size: .72rem; font-weight: 750; }
.bb-case-outcome i { font-size: .9rem; }
.bb-case-body .bb-text-link { margin-top: auto; }

/* ---------- Use case to production journey ---------- */
.bb-journey-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(10,37,64,.06);
  background:
    radial-gradient(circle at 4% 48%, rgba(249,115,22,.12), transparent 29%),
    radial-gradient(circle at 53% 18%, rgba(124,58,237,.08), transparent 32%),
    radial-gradient(circle at 96% 52%, rgba(37,99,235,.11), transparent 30%),
    linear-gradient(180deg, #fbf8f3 0%, #f8f5f0 54%, #fbfaf8 100%);
}
.bb-journey-section::before,
.bb-journey-section::after {
  content: '';
  position: absolute;
  pointer-events: none;
}
.bb-journey-section::before {
  inset: 0;
  opacity: .27;
  background-image: radial-gradient(rgba(10,37,64,.17) .65px, transparent .65px);
  background-size: 23px 23px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 2%, #000 22%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 2%, #000 22%, #000 82%, transparent 100%);
}
.bb-journey-section::after {
  width: 420px;
  height: 420px;
  right: -190px;
  top: 24%;
  border: 1px solid rgba(37,99,235,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 44px rgba(37,99,235,.025), 0 0 0 88px rgba(124,58,237,.02);
}
.bb-journey-section > .bb-home-container { position: relative; z-index: 1; }
.bb-journey-head { max-width: 1050px; margin: 0 auto clamp(1.5rem, 2.4vw, 2.4rem); text-align: center; }
.bb-journey-head .bb-kicker { justify-content: center; }
.bb-journey-head h2 { margin: 0; color: var(--home-navy); font: 700 clamp(2.15rem, 3.55vw, 3.55rem)/1.04 'Space Grotesk', sans-serif; letter-spacing: -.045em; }
.bb-journey-head h2 em { font-style: normal; background: linear-gradient(92deg, var(--home-orange) 5%, var(--home-violet) 58%, var(--home-blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bb-journey-head > p:last-child { max-width: 820px; margin: 1rem auto 0; color: var(--home-text); font-size: clamp(.98rem, 1.35vw, 1.08rem); line-height: 1.7; }
.bb-journey-shell { position: relative; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none; }
.bb-journey-main { display: grid; grid-template-columns: minmax(0,1fr) minmax(225px,265px); gap: clamp(1rem, 1.8vw, 1.45rem); align-items: stretch; }
.bb-journey-stages { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); min-width: 0; }
.bb-journey-track { position: absolute; z-index: 0; left: 12.5%; right: 12.5%; top: 54px; height: 3px; overflow: hidden; border-radius: 999px; background: #e5dfda; box-shadow: inset 0 1px 2px rgba(10,37,64,.08); }
.bb-journey-track-fill { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f97316 0%, #b44ae9 35%, #6d4df1 66%, #3182f6 100%); box-shadow: 0 0 12px rgba(124,58,237,.34); transform: scaleX(0); transform-origin: left center; transition: transform 1.35s cubic-bezier(.2,.72,.25,1) .15s; }
.bb-journey-shell.is-visible .bb-journey-track-fill { transform: scaleX(1); }
.bb-journey-stage { --journey-tone: var(--home-orange); --journey-soft: #fff0e5; position: relative; z-index: 1; min-width: 0; padding: 0 clamp(.65rem, 1.2vw, 1rem) 1rem; }
.bb-journey-stage:not(:last-of-type)::after { content: ''; position: absolute; top: 122px; right: 0; bottom: 8px; width: 1px; background: linear-gradient(to bottom, rgba(10,37,64,.12), rgba(10,37,64,.035)); }
.bb-journey-tone-orange { --journey-tone: #f97316; --journey-soft: #fff0e5; }
.bb-journey-tone-violet { --journey-tone: #a23be5; --journey-soft: #f5ecff; }
.bb-journey-tone-indigo { --journey-tone: #6647e8; --journey-soft: #efecff; }
.bb-journey-tone-blue { --journey-tone: #2876e8; --journey-soft: #eaf2ff; }
.bb-journey-axis { position: relative; display: flex; height: 108px; align-items: center; justify-content: center; }
.bb-journey-number { position: absolute; left: 0; top: 13px; color: var(--journey-tone); font: 700 clamp(1.45rem, 2.1vw, 2rem)/1 'Space Grotesk', sans-serif; letter-spacing: -.04em; opacity: .94; }
.bb-journey-marker { position: relative; z-index: 2; display: inline-flex; width: 74px; height: 74px; align-items: center; justify-content: center; border: 5px solid rgba(255,255,255,.78); border-radius: 50%; background: linear-gradient(145deg, #fff, var(--journey-soft)); color: var(--journey-tone); font-size: 1.8rem; box-shadow: 0 0 0 1px color-mix(in srgb, var(--journey-tone) 18%, #fff), 0 10px 28px color-mix(in srgb, var(--journey-tone) 20%, transparent), 0 0 25px color-mix(in srgb, var(--journey-tone) 12%, transparent); transition: transform .24s ease, box-shadow .24s ease; }
.bb-journey-stage:hover .bb-journey-marker { transform: translateY(-4px) scale(1.035); box-shadow: 0 0 0 1px color-mix(in srgb, var(--journey-tone) 30%, #fff), 0 18px 38px color-mix(in srgb, var(--journey-tone) 25%, transparent), 0 0 34px color-mix(in srgb, var(--journey-tone) 15%, transparent); }
.bb-journey-stage-body h3 { margin: .45rem 0 .55rem; color: var(--home-navy); font: 700 clamp(1.08rem, 1.45vw, 1.28rem)/1.18 'Space Grotesk', sans-serif; letter-spacing: -.025em; }
.bb-journey-stage-body > p { min-height: 5.6em; margin: 0; color: var(--home-text); font-size: clamp(.78rem, .95vw, .88rem); line-height: 1.62; }
.bb-journey-deliverables { display: grid; gap: .42rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.bb-journey-deliverables li { display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: .38rem; padding: .42rem .62rem; border: 1px solid color-mix(in srgb, var(--journey-tone) 18%, var(--home-line)); border-radius: 999px; background: rgba(255,255,255,.86); color: var(--home-ink); font-size: .67rem; font-weight: 720; line-height: 1.25; box-shadow: 0 4px 12px rgba(10,37,64,.025); }
.bb-journey-deliverables li i { flex: 0 0 auto; color: var(--journey-tone); font-size: .8rem; }
.bb-live-panel { position: relative; overflow: visible; min-height: 100%; padding: 1.35rem 1.25rem; border: 1px solid rgba(90,169,255,.7); border-radius: 1.45rem; background: radial-gradient(circle at 84% 5%, rgba(37,99,235,.22), transparent 34%), linear-gradient(155deg, #10385f, #071d33 72%); color: #fff; box-shadow: 0 22px 46px rgba(7,29,51,.22), 0 0 28px rgba(37,99,235,.16), inset 0 1px 0 rgba(255,255,255,.12); }
.bb-live-panel::before { content: ''; position: absolute; left: calc(-1 * clamp(1rem, 1.8vw, 1.45rem)); top: 54px; width: clamp(1rem, 1.8vw, 1.45rem); height: 3px; background: linear-gradient(90deg, #3182f6, #67b1ff); box-shadow: 0 0 12px rgba(49,130,246,.45); }
.bb-live-panel::after { content: ''; position: absolute; left: -5px; top: 49px; width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 7px solid #67b1ff; }
.bb-live-label { display: inline-flex; align-items: center; gap: .48rem; color: #7dffad; font: 750 .65rem/1.2 'JetBrains Mono', monospace; letter-spacing: .075em; text-transform: uppercase; }
.bb-live-label i { width: 9px; height: 9px; border-radius: 50%; background: #22db72; box-shadow: 0 0 0 5px rgba(34,219,114,.1), 0 0 14px rgba(34,219,114,.72); animation: bbLivePulse 2s ease-in-out infinite; }
.bb-live-panel h3 { margin: 1rem 0 .45rem; color: #fff; font: 700 clamp(1.55rem, 2vw, 1.95rem)/1.05 'Space Grotesk', sans-serif; letter-spacing: -.035em; }
.bb-live-panel > p { margin: 0; color: #bed2e4; font-size: .79rem; line-height: 1.5; }
.bb-live-panel dl { margin: 1.25rem 0 0; }
.bb-live-panel dl > div { display: flex; align-items: center; justify-content: space-between; gap: .65rem; padding: .72rem 0; border-top: 1px solid rgba(255,255,255,.12); }
.bb-live-panel dt { color: #e4eef7; font-size: .71rem; font-weight: 620; }
.bb-live-panel dd { margin: 0; color: #65f39b; font: 700 .66rem/1.2 'JetBrains Mono', monospace; }
.bb-journey-principles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)) minmax(210px,.92fr); margin-top: 1.35rem; overflow: hidden; border-top: 1px solid rgba(218,202,181,.88); border-bottom: 1px solid rgba(218,202,181,.88); border-radius: 0; background: rgba(255,255,255,.34); box-shadow: none; }
.bb-journey-principles article { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: .7rem; align-items: start; padding: 1rem .9rem; border-right: 1px solid rgba(218,202,181,.72); }
.bb-journey-principles article > span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: .78rem; background: #fff0e5; color: var(--home-orange-deep); font-size: 1.02rem; }
.bb-journey-principles article:nth-child(2) > span { background: #f4edff; color: var(--home-violet); }
.bb-journey-principles article:nth-child(3) > span { background: #eeecff; color: #6647e8; }
.bb-journey-principles article:nth-child(4) > span { background: #eaf2ff; color: var(--home-blue); }
.bb-journey-principles h3 { margin: .05rem 0 .25rem; color: var(--home-navy); font: 700 .82rem/1.3 'Space Grotesk', sans-serif; }
.bb-journey-principles p { margin: 0; color: var(--home-text); font-size: .69rem; line-height: 1.48; }
.bb-journey-principles-compact { grid-template-columns: minmax(0,1fr) auto; align-items: center; }
.bb-journey-principles-compact > p { padding: 1rem 1.15rem; font-size: .82rem; line-height: 1.55; }
.bb-journey-principles-compact > p strong { color: var(--home-navy); }
.bb-journey-principles-compact .bb-journey-cta { min-width: 240px; }
.bb-journey-cta { display: flex; min-height: 100%; align-items: center; justify-content: space-between; gap: .8rem; padding: 1rem 1.1rem; background: linear-gradient(135deg, rgba(255,244,234,.58), rgba(245,239,255,.58)); color: var(--home-navy); font: 750 .83rem/1.35 'Space Grotesk', sans-serif; text-decoration: none; transition: background .2s ease, color .2s ease; }
.bb-journey-cta i { flex: 0 0 auto; color: var(--home-orange-deep); font-size: 1.25rem; transition: transform .2s ease; }
.bb-journey-cta:hover { background: linear-gradient(135deg, #fff0e4, #efe7ff); color: var(--home-orange-deep); }
.bb-journey-cta:hover i { transform: translateX(5px); }

/* ---------- Testimonials ---------- */
.bb-testimonials-section { background: linear-gradient(180deg, #fffaf3, #fff); }
.bb-testimonials-head-copy { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; }
.bb-testimonial-controls { display: inline-flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.bb-testimonial-control { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid rgba(10,37,64,.16); border-radius: 50%; background: #fff; color: var(--home-navy); cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.bb-testimonial-control:hover { border-color: var(--home-orange); background: var(--home-orange); color: #fff; transform: translateY(-2px); }
.bb-testimonial-control:focus-visible { outline: 3px solid rgba(124,58,237,.35); outline-offset: 2px; }
.bb-testimonial-progress { min-width: 52px; color: var(--home-muted); font: 700 .68rem/1 'JetBrains Mono', monospace; text-align: center; }
.bb-testimonial-viewport { overflow: hidden; margin-top: 1.2rem; outline: none; }
.bb-testimonial-track { display: flex; gap: 1rem; overflow-x: auto; padding: .2rem .15rem .9rem; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bb-testimonial-track::-webkit-scrollbar { display: none; }
.bb-testimonial-card { position: relative; display: flex; flex: 0 0 min(620px, 76%); flex-direction: column; min-height: 270px; padding: clamp(1.25rem, 2vw, 1.7rem); scroll-snap-align: start; border: 1px solid var(--home-line); border-radius: 1.25rem; background: #fff; box-shadow: 0 15px 42px rgba(10,37,64,.06); transition: transform .24s ease, box-shadow .24s ease; }
.bb-testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 26px 66px rgba(10,37,64,.1); }
.bb-testimonial-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; border-radius: 1.4rem 1.4rem 0 0; background: linear-gradient(90deg, var(--home-orange), var(--home-violet)); opacity: .85; }
.bb-testimonial-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bb-quote-mark { color: rgba(249,115,22,.4); font-size: 2.3rem; line-height: 1; }
.bb-testimonial-stars { display: inline-flex; gap: .12rem; color: #f5a623; font-size: .95rem; }
.bb-testimonial-card blockquote { display: -webkit-box; overflow: hidden; margin: .7rem 0 1.2rem; color: #223c53; font: 500 clamp(1rem, 1.25vw, 1.08rem)/1.65 'Inter', sans-serif; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.bb-testimonial-card footer { display: flex; align-items: center; gap: .85rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--home-line); }
.bb-testimonial-avatar { display: inline-flex; width: 50px; height: 50px; flex: 0 0 auto; overflow: hidden; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid #ffe3cd; background: #fff0e5; color: var(--home-orange); }
.bb-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bb-testimonial-card footer strong, .bb-testimonial-card footer div span { display: block; }
.bb-testimonial-card footer strong { color: var(--home-navy); font-size: .92rem; }
.bb-testimonial-card footer div span { margin-top: .2rem; color: var(--home-muted); font-size: .77rem; line-height: 1.45; }

/* ---------- Final CTA + FAQ ---------- */
.bb-final-section { background: #fff; }
.bb-final-grid { display: grid; gap: 1.05rem; }
.bb-final-cta, .bb-faq-panel { padding: clamp(1.6rem, 3vw, 2.6rem); border-radius: 1.6rem; }
.bb-final-cta { position: relative; overflow: hidden; border: 1px solid transparent; background: radial-gradient(circle at 88% 6%, rgba(124,58,237,.28), transparent 42%), radial-gradient(circle at 6% 96%, rgba(249,115,22,.3), transparent 44%), linear-gradient(150deg, #0e3054, #071d33 74%); color: #fff; }
.bb-final-cta::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .3; background-image: radial-gradient(rgba(255,255,255,.14) .6px, transparent .6px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(circle at 30% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(circle at 30% 30%, #000 20%, transparent 75%); }
.bb-final-cta > * { position: relative; z-index: 1; }
.bb-final-cta .bb-kicker { color: #ffb377; }
.bb-final-cta .bb-kicker::before { background: linear-gradient(90deg, #ffb377, #c4b5fd); }
.bb-final-cta h2 { margin: 0; color: #fff; font: 700 clamp(1.9rem, 3vw, 2.7rem)/1.07 'Space Grotesk', sans-serif; letter-spacing: -.035em; }
.bb-final-cta > p:not(.bb-kicker) { max-width: 610px; margin: 1.05rem 0 0; color: #cdddeb; font-size: .96rem; line-height: 1.72; }
.bb-final-cta ul { display: grid; gap: .6rem; margin: .9rem 0 0; padding: 0; list-style: none; }
.bb-final-cta li { display: flex; align-items: center; gap: .55rem; color: #dbe8f2; font-size: .85rem; font-weight: 620; }
.bb-final-cta li i { color: #ffb377; font-size: 1rem; }
.bb-final-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.55rem; }
.bb-outline-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: .8rem 1.15rem; border: 1px solid rgba(255,255,255,.32); border-radius: .8rem; background: rgba(255,255,255,.07); color: #fff; font-size: .86rem; font-weight: 750; text-decoration: none; transition: background .2s ease, border-color .2s ease; }
.bb-outline-button:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.55); }
.bb-faq-panel { border: 1px solid var(--home-line); background: linear-gradient(180deg, #fffdf9, #fff); }
.bb-faq-panel h2 { margin: 0; color: var(--home-navy); font: 700 clamp(1.9rem, 3vw, 2.7rem)/1.07 'Space Grotesk', sans-serif; letter-spacing: -.035em; }
.bb-faq-list { margin-top: 1.2rem; border-top: 1px solid var(--home-line); }
.bb-faq-list details { border-bottom: 1px solid var(--home-line); }
.bb-faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem .05rem; color: var(--home-navy); font-size: .94rem; font-weight: 750; cursor: pointer; list-style: none; transition: color .16s ease; }
.bb-faq-list summary:hover { color: var(--home-orange-deep); }
.bb-faq-list summary::-webkit-details-marker { display: none; }
.bb-faq-list summary i { flex: 0 0 auto; display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--home-cream-2); color: var(--home-orange-deep); transition: transform .2s ease, background .2s ease; }
.bb-faq-list details[open] summary i { transform: rotate(45deg); background: #ffe3cd; }
.bb-faq-list details p { margin: -.2rem 0 1.05rem; color: var(--home-text); font-size: .88rem; line-height: 1.65; }

/* ---------- Keyframes ---------- */
@keyframes bbStickerFloat { 0%,100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-7px) rotate(.7deg); } }
@keyframes bbStickerSpin { to { transform: rotate(360deg); } }
@keyframes bbPulseDot { 0%,100% { opacity: .45; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes bbGlowDrift { from { transform: translate3d(0,0,0); } to { transform: translate3d(2%, -3%, 0) scale(1.04); } }

@keyframes bbLivePulse { 0%,100% { opacity: .68; transform: scale(.86); } 50% { opacity: 1; transform: scale(1.08); } }

/* ---------- Industries responsive ---------- */
@media (max-width: 1180px) {
  .bb-industry-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 820px) {
  .bb-industry-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bb-industry-card { min-height: 210px; }
}
@media (max-width: 560px) {
  .bb-industries-section { padding-top: 1.4rem; padding-bottom: 1.6rem; }
  .bb-industries-section::before {
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent);
    mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent);
    opacity: .16;
  }
  .bb-industries-inner { padding-top: 0; }
  .bb-industries-head { margin-bottom: .95rem; }
  .bb-industry-grid {
    display: flex;
    gap: .7rem;
    overflow-x: auto;
    padding: .35rem .1rem .5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .bb-industry-grid::-webkit-scrollbar { display: none; }
  .bb-industry-card {
    min-height: 0;
    flex: 0 0 min(82vw, 292px);
    padding: 1rem;
    scroll-snap-align: start;
  }
  .bb-industry-card h3 { margin-top: .75rem; }
  .bb-industry-card-link { padding-top: .85rem; }
}

/* ---------- What we build responsive ---------- */
@media (max-width: 1120px) {
  .bb-build-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .bb-build-copy h2 { max-width: 100%; }
  .bb-build-copy { align-items: flex-start; min-height: 430px; }
  .bb-build-intro { max-width: 100%; }
}
@media (max-width: 680px) {
  .bb-build-section { padding-top: 2.3rem; padding-bottom: 2.8rem; }
  .bb-build-grid { gap: 1rem; }
  .bb-build-copy { min-height: 360px; padding: 1.25rem; }
  .bb-build-copy h2 {
    margin-top: .55rem;
    max-width: 100%;
    font-size: clamp(1.75rem, 8vw, 2.35rem);
    line-height: 1.1;
    word-break: normal;
    overflow-wrap: break-word;
  }
  .bb-build-topline { font-size: .82rem; }
  .bb-build-intro { margin-top: .8rem; font-size: .92rem; line-height: 1.62; max-width: 100%; }
  .bb-build-visual { display: block; }
  .bb-build-accordion { gap: .7rem; padding-top: .1rem; }
  .bb-build-trigger { padding: 1rem 1rem; font-size: 1rem; }
  .bb-build-trigger-icon { width: 38px; height: 38px; }
  .bb-build-panel { padding: 0 1rem 1rem; }
  .bb-build-panel p { font-size: .88rem; }
  .bb-build-meta { font-size: .72rem !important; }
}

/* ---------- Journey responsive ---------- */
@media (max-width: 1180px) {
  .bb-journey-main { grid-template-columns: 1fr; }
  .bb-live-panel { display: grid; grid-template-columns: minmax(190px,.7fr) minmax(0,1.3fr); gap: .6rem 1.5rem; align-items: center; min-height: 0; }
  .bb-live-panel::before, .bb-live-panel::after { display: none; }
  .bb-live-panel h3, .bb-live-panel > p { grid-column: 1; }
  .bb-live-panel h3 { margin: .7rem 0 .25rem; }
  .bb-live-panel dl { grid-column: 2; grid-row: 1 / span 3; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 1.2rem; margin: 0; }
  .bb-journey-principles { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bb-journey-principles article { border-bottom: 1px solid rgba(218,202,181,.72); }
  .bb-journey-principles article:nth-child(2), .bb-journey-principles article:nth-child(4) { border-right: 0; }
  .bb-journey-cta { grid-column: 1 / -1; min-height: 68px; }
  .bb-journey-principles-compact { grid-template-columns: minmax(0,1fr) auto; }
  .bb-journey-principles-compact .bb-journey-cta { grid-column: auto; }
}
@media (max-width: 900px) {
  .bb-journey-stages { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .85rem; }
  .bb-journey-track { display: none; }
  .bb-journey-stage { padding: 1rem; border: 1px solid rgba(218,202,181,.78); border-radius: 1.15rem; background: rgba(255,255,255,.68); }
  .bb-journey-stage:not(:last-of-type)::after { display: none; }
  .bb-journey-axis { height: 90px; justify-content: flex-end; }
  .bb-journey-number { top: 10px; font-size: 1.75rem; }
  .bb-journey-marker { width: 64px; height: 64px; font-size: 1.5rem; }
  .bb-journey-stage-body > p { min-height: 0; }
}
@media (max-width: 680px) {
  .bb-journey-section { padding-top: 3.8rem; padding-bottom: 3.8rem; }
  .bb-journey-head { text-align: left; }
  .bb-journey-head .bb-kicker { justify-content: flex-start; }
  .bb-journey-head h2 { font-size: clamp(2rem, 10vw, 2.55rem); }
  .bb-journey-head > p:last-child { font-size: .94rem; }
  .bb-journey-shell { padding: 0; border-radius: 0; }
  .bb-journey-stages { grid-template-columns: 1fr; gap: 0; }
  .bb-journey-stage { display: grid; grid-template-columns: 66px minmax(0,1fr); gap: .85rem; padding: 1.15rem .25rem; border: 0; border-bottom: 1px solid rgba(218,202,181,.72); border-radius: 0; background: transparent; }
  .bb-journey-axis { height: auto; min-height: 72px; flex-direction: column; justify-content: flex-start; gap: .35rem; }
  .bb-journey-number { position: static; align-self: center; font-size: 1rem; }
  .bb-journey-marker { width: 50px; height: 50px; border-width: 3px; font-size: 1.2rem; }
  .bb-journey-stage-body h3 { margin: .05rem 0 .4rem; font-size: 1.15rem; }
  .bb-journey-stage-body > p { font-size: .84rem; }
  .bb-journey-deliverables { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; }
  .bb-journey-deliverables li { font-size: .63rem; }
  .bb-live-panel { display: block; margin-top: .75rem; padding: 1.2rem; }
  .bb-live-panel dl { display: block; margin-top: 1rem; }
  .bb-journey-principles { grid-template-columns: 1fr; border-radius: 1rem; }
  .bb-journey-principles article { border-right: 0; }
  .bb-journey-principles article:nth-child(4) { border-bottom: 1px solid rgba(218,202,181,.72); }
  .bb-journey-cta { grid-column: auto; min-height: 64px; }
  .bb-journey-principles-compact { grid-template-columns: 1fr; }
  .bb-journey-principles-compact > p { padding: 1rem; font-size: .78rem; }
  .bb-journey-principles-compact .bb-journey-cta { width: 100%; min-width: 0; }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .bb-home-container { width: min(calc(100% - 48px), 1400px); }
  .bb-case-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 900px) {
  .bb-section-head-split { grid-template-columns: minmax(0,1.25fr) minmax(340px,.75fr); }
  .bb-section-head-actions { grid-template-columns: minmax(0,1fr) auto; }
  .bb-case-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .bb-final-grid { grid-template-columns: minmax(0,1.05fr) minmax(420px,.95fr); }
}
@media (max-width: 760px) {
  .bb-home-section { padding: 1.75rem 0; }
  .bb-section-head { margin-bottom: 1.3rem; }
  .bb-testimonials-head-copy { display: block; }
  .bb-testimonials-head-copy .bb-testimonial-controls { margin-top: .8rem; }
  .bb-testimonial-viewport { margin-top: .9rem; }
  .bb-testimonial-card { flex-basis: 88%; min-height: 250px; }
  .bb-section-head h2 { font-size: clamp(1.85rem, 8.5vw, 2.4rem); }
  .bb-problem-grid { grid-template-columns: 1fr; }
  .bb-problem-card { grid-template-columns: minmax(0,1fr) 98px; min-height: 0; gap: .75rem; padding: 1.1rem; }
  .bb-problem-card h3 { font-size: 1.2rem; margin-top: .75rem; }
  .bb-problem-card > .bb-problem-content > p { font-size: .84rem; }
  .bb-card-label { font-size: .6rem; }
  .bb-card-label .bb-icon-box { width: 34px; height: 34px; }
  .bb-sticker-stage { border-radius: 1rem; }
  .bb-case-body > p { min-height: 0; }
  .bb-final-actions { display: grid; grid-template-columns: 1fr; }
  .bb-final-actions .bb-cta, .bb-final-actions .bb-outline-button { width: 100%; min-height: 50px; }
}
@media (max-width: 390px) {
  .bb-home-container { width: calc(100% - 20px); }
  .bb-tag-row { gap: .32rem; }
}
@media (prefers-reduced-motion: reduce) {
  .bb-home-main *, .bb-home-main *::before, .bb-home-main *::after { animation: none !important; transition: none !important; }
  .bb-motion-enabled [data-reveal], .bb-motion-enabled .bb-reveal-card { opacity: 1; transform: none; }
  .bb-journey-track-fill { transform: scaleX(1); }
  .bb-live-label i { animation: none; }
}
