/* Beyond Bytes — page-level styles
   Built on top of styles/colors_and_type.css.
   The DS provides type, color tokens, button primitives. This file builds the
   site chrome: nav, hero treatments, sections, cards, forms, footer. */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; overflow-x: hidden; }
html { scroll-behavior: smooth; }

/* Belt-and-suspenders against horizontal overflow from any single long word
   (e.g. "Engagements", "underserved") on very narrow viewports. */
h1, h2, h3, h4, .bb-hero__headline, .bb-section__heading, .bb-stake__conclusion {
  overflow-wrap: break-word;
  word-break: break-word;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
[hidden] { display: none !important; }

/* Custom scrollbar — subtle, matches the brand restraint. */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, 0.36); background-clip: padding-box; }
* { scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, 0.22) transparent; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-feature-settings: "kern" 1, "ss01" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
img, svg { display: block; }

::selection { background: #b6f24a; color: #000; }
::-moz-selection { background: #b6f24a; color: #000; }

/* ---------- Layout containers ---------- */
.bb-shell { min-height: 100vh; }
.bb-section { padding: 96px 48px; border-top: 1px solid rgba(0,0,0,0.06); }
@media (min-width: 900px) { .bb-section { padding: 120px 64px; } }
.bb-section__inner { max-width: 1280px; margin: 0 auto; }

.bb-section__label {
  color: rgba(0,0,0,0.55);
  margin-bottom: 28px;
}
.bb-section__label--invert { color: rgba(255,255,255,0.55); }

.bb-section__heading {
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  font-weight: var(--weight-regular);
  line-height: 1.05;
  letter-spacing: -0.96px;
  margin: 0 0 32px;
  max-width: 880px;
  text-wrap: pretty;
}
.bb-section__heading--invert { color: #fff; }

/* Force a single-line section heading on wider viewports;
   wraps normally on small screens to avoid horizontal overflow. */
.bb-section__heading--single-line {
  max-width: none;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .bb-section__heading--single-line {
    white-space: normal;
  }
}

/* =========================================================
   NAV
   ========================================================= */
.bb-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 32px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
@media (min-width: 900px) { .bb-nav { padding: 18px 48px; } }

.bb-nav__brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #000;
}
.bb-nav__mark { display: inline-flex; }
.bb-nav__wordmark {
  font-size: 19px;
  font-weight: var(--weight-semi);
  letter-spacing: -0.6px;
}
@media (max-width: 720px) {
  /* On mobile, only the square mark is shown — wordmark would wrap awkwardly
     against the "Talk to us" CTA and hamburger button. */
  .bb-nav__wordmark { display: none; }
}

.bb-nav__links {
  display: none;
  gap: 28px;
}
@media (min-width: 900px) { .bb-nav__links { display: flex; } }

.bb-nav__link {
  font-size: 14px;
  font-weight: var(--weight-x-light);
  letter-spacing: -0.14px;
  color: #000;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color 120ms ease, color 120ms ease;
}
.bb-nav__link:hover, .bb-nav__link.is-active { border-bottom-color: #000; }

.bb-nav__actions { display: flex; gap: 8px; align-items: center; }
.bb-nav__cta {
  font-size: 14px;
  padding: 10px 18px 12px; /* 44px tap area */
  text-decoration: none;
}

/* ---- Hamburger toggle (mobile only) ---- */
.bb-nav__toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  border-radius: 50%;
  transition: background 160ms ease;
}
.bb-nav__toggle:hover { background: rgba(0,0,0,0.04); }
.bb-nav__toggle:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
}
.bb-nav__toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: #000;
  border-radius: 1px;
  transition:
    transform 240ms cubic-bezier(0.2, 0.65, 0.3, 1),
    opacity 180ms ease;
}
.bb-nav__toggle.is-open .bb-nav__toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.bb-nav__toggle.is-open .bb-nav__toggle-bar:nth-child(2) { opacity: 0; }
.bb-nav__toggle.is-open .bb-nav__toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
@media (min-width: 900px) {
  .bb-nav__toggle { display: none; }
}

/* ---- Mobile menu overlay ---- */
.bb-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #fff;
  padding: 96px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 240ms cubic-bezier(0.2, 0.65, 0.3, 1),
    transform 240ms cubic-bezier(0.2, 0.65, 0.3, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.bb-mobile-menu.is-open { opacity: 1; transform: none; }
.bb-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.bb-mobile-menu__link {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 16px 4px;
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: var(--weight-light);
  letter-spacing: -0.4px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(8px);
  transition:
    color 180ms ease,
    padding-left 220ms cubic-bezier(0.2, 0.65, 0.3, 1),
    opacity 360ms cubic-bezier(0.2, 0.65, 0.3, 1),
    transform 360ms cubic-bezier(0.2, 0.65, 0.3, 1);
}
.bb-mobile-menu.is-open .bb-mobile-menu__link { opacity: 1; transform: none; }
.bb-mobile-menu.is-open .bb-mobile-menu__link:nth-child(1) { transition-delay: 80ms;  }
.bb-mobile-menu.is-open .bb-mobile-menu__link:nth-child(2) { transition-delay: 130ms; }
.bb-mobile-menu.is-open .bb-mobile-menu__link:nth-child(3) { transition-delay: 180ms; }
.bb-mobile-menu.is-open .bb-mobile-menu__link:nth-child(4) { transition-delay: 230ms; }
.bb-mobile-menu.is-open .bb-mobile-menu__link:nth-child(5) { transition-delay: 280ms; }
.bb-mobile-menu.is-open .bb-mobile-menu__link:nth-child(6) { transition-delay: 330ms; }
.bb-mobile-menu__link:active { padding-left: 12px; color: #000; }
.bb-mobile-menu__cta {
  align-self: flex-start;
  margin-top: auto;
  padding: 14px 28px 16px;
  font-size: 17px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 360ms cubic-bezier(0.2, 0.65, 0.3, 1) 360ms,
    transform 360ms cubic-bezier(0.2, 0.65, 0.3, 1) 360ms;
}
.bb-mobile-menu.is-open .bb-mobile-menu__cta { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .bb-mobile-menu { display: none !important; }
}

/* =========================================================
   HERO — three treatments
   ========================================================= */
.bb-hero { position: relative; overflow: hidden; }
.bb-hero__inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 48px 120px;
}
@media (min-width: 900px) { .bb-hero__inner { padding: 140px 64px 160px; } }

.bb-hero__kicker { color: rgba(0,0,0,0.55); margin-bottom: 28px; }

/* Live status pill — sits at the top of the hero in place of the plain kicker.
   Pulsing green dot signals "active / available". */
.bb-hero__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 10px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(0, 0, 0, 0.78);
}
.bb-hero__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b6f24a;
  box-shadow: 0 0 0 0 rgba(182, 242, 74, 0.55);
  animation: bb-status-pulse 2400ms ease-in-out infinite;
  flex: 0 0 auto;
}
@keyframes bb-status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(182, 242, 74, 0); }
  50%      { box-shadow: 0 0 0 7px rgba(182, 242, 74, 0.20); }
}
@media (prefers-reduced-motion: reduce) {
  .bb-hero__status-dot { animation: none; }
}
.bb-hero__kicker--onColor { color: rgba(255,255,255,0.85); }
.bb-hero__kicker--dark { color: rgba(255,255,255,0.55); }

.bb-hero__headline {
  font-size: clamp(2.75rem, 7.5vw, 6.75rem);
  font-weight: var(--weight-regular);
  line-height: 0.98;
  letter-spacing: -2.2px;
  margin: 0 0 36px;
  max-width: 1100px;
  text-wrap: balance;
}
.bb-hero__headline--onColor { color: #fff; }
.bb-hero__headline--dark { color: #fff; }

.bb-hero__since { font-style: italic; font-weight: var(--weight-light); }
.bb-hero__accent { color: #b6f24a; font-style: normal; }

.bb-hero__subhead {
  font-size: clamp(1.125rem, 1.6vw, 1.5rem);
  font-weight: var(--weight-thin);
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: rgba(0,0,0,0.7);
  margin: 0 0 56px;
  max-width: 760px;
}
.bb-hero__subhead--onColor { color: rgba(255,255,255,0.92); }
.bb-hero__subhead--dark { color: rgba(255,255,255,0.78); }

.bb-hero__ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.bb-hero__ctas .fbtn { font-size: 16px; padding: 12px 22px 14px; text-decoration: none; }

.bb-hero__cta--accent {
  background: #b6f24a; color: #001b06;
  font-weight: var(--weight-medium-plus);
}
.bb-hero__cta--accent:hover { background: #c8ff5a; }

.bb-hero__ghost {
  background: transparent;
  color: #000;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}
.bb-hero__ghost:hover { box-shadow: inset 0 0 0 1px #000; }

.bb-hero__meta {
  display: flex; align-items: center; gap: 14px;
  margin-top: 64px; flex-wrap: wrap;
  color: rgba(0,0,0,0.5);
}
.bb-hero__meta--onColor { color: rgba(255,255,255,0.75); }
.bb-hero__meta--dark { color: rgba(255,255,255,0.55); }

.bb-hero__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(0,0,0,0.3); }
.bb-hero__dot--onColor { background: rgba(255,255,255,0.55); }
.bb-hero__dot--dark { background: rgba(255,255,255,0.35); }

/* ---- Gradient treatment ---- */
.bb-hero--gradient {
  background: var(--gradient-hero);
}

/* ---- Typographic (light) treatment ---- */
.bb-hero--type { background: #fff; }
.bb-hero--type .bb-hero__headline em {
  font-style: italic;
  font-weight: var(--weight-light);
  color: rgba(0,0,0,0.5);
}
.bb-hero__rule {
  width: 80px; height: 2px; background: #000;
  margin: 0 0 36px;
}

/* ---- Dark treatment ---- */
.bb-hero--dark { background: #0a0a0a; color: #fff; }
.bb-hero__darkfx {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
}
.bb-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 30%, transparent 75%);
}
.bb-hero__glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.bb-hero__glow--g {
  background: #b6f24a;
  top: -200px; left: -150px;
}
.bb-hero__glow--p {
  background: #6b3df5;
  bottom: -250px; right: -150px;
  opacity: 0.35;
}

/* =========================================================
   STAKE  (Why-now moment — split claims + unified conclusion)
   Dark band, two parallel claims (AI / ICS) flanking a vertical green
   divider, conclusion below with the key phrase in brand green.
   ========================================================= */
.bb-stake {
  padding: 64px 32px;
  background: #0a0a0a;
  color: #fff;
  position: relative;
  overflow: hidden;
}
@media (min-width: 900px) { .bb-stake { padding: 88px 64px; } }

/* Soft brand-green halos in opposite corners — echoes work cards */
.bb-stake::before,
.bb-stake::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #b6f24a, transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}
.bb-stake::before { top: -140px; left: -140px; opacity: 0.18; }
.bb-stake::after  { bottom: -140px; right: -140px; opacity: 0.10; }

.bb-stake__inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.bb-stake__kicker {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 36px;
}

/* Two-column split with vertical green divider between */
.bb-stake__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 48px;
}
@media (min-width: 760px) {
  .bb-stake__split {
    grid-template-columns: 1fr 1px 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 56px;
  }
}
@media (min-width: 1100px) {
  .bb-stake__split { gap: 64px; }
}

.bb-stake__claim {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bb-stake__claim-label {
  color: #b6f24a;
}
.bb-stake__claim-body {
  font-size: clamp(1.0625rem, 1.7vw, 1.4375rem);
  font-weight: var(--weight-thin);
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  text-wrap: pretty;
}

/* Vertical divider — desktop only. Drawn from top to bottom on reveal. */
.bb-stake__divider {
  display: none;
}
@media (min-width: 760px) {
  .bb-stake__divider {
    display: block;
    width: 1px;
    align-self: stretch;
    min-height: 90px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(182, 242, 74, 0.55) 25%,
      rgba(182, 242, 74, 0.55) 75%,
      transparent 100%
    );
  }
}

/* Conclusion — synthesis line. On mobile, sized identically to the claims
   so the hierarchy doesn't feel jarring. The green "senior practitioners"
   highlight + slightly heavier weight keep it visually distinct without
   needing a size jump. Scales up significantly on desktop where there's room. */
.bb-stake__conclusion {
  font-size: clamp(1.0625rem, 1.7vw, 1.4375rem);
  font-weight: var(--weight-thin);
  line-height: 1.4;
  letter-spacing: -0.2px;
  color: #fff;
  margin: 0;
  text-wrap: balance;
  max-width: 820px;
}
.bb-stake__highlight {
  color: #b6f24a;
  font-weight: var(--weight-semi);
}

/* =========================================================
   LEAD
   ========================================================= */
.bb-lead { padding-top: 96px; padding-bottom: 96px; }
.bb-lead__inner { max-width: 1100px; }
.bb-lead__copy {
  font-size: clamp(1.25rem, 2.2vw, 1.875rem);
  font-weight: var(--weight-thin);
  line-height: 1.35;
  letter-spacing: -0.4px;
  color: #000;
  margin: 0 0 48px;
  text-wrap: pretty;
}
.bb-lead__copy strong { font-weight: var(--weight-semi); }
.bb-lead__copy em { font-style: italic; font-weight: var(--weight-light); }

.bb-lead__pills { display: flex; flex-wrap: wrap; gap: 12px; }
.bb-lead__pill {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 20px 12px;
  background: #f4f4f4;
  border-radius: 50px;
  text-decoration: none;
  color: #000;
  font-size: 16px; font-weight: var(--weight-medium-plus);
  transition: background 120ms ease, color 120ms ease;
}
.bb-lead__pill:hover { background: #000; color: #fff; }
.bb-lead__pill .mono { color: rgba(0,0,0,0.45); transition: color 120ms ease; }
.bb-lead__pill:hover .mono { color: rgba(255,255,255,0.6); }

/* =========================================================
   PRACTICE
   ========================================================= */
.bb-practice__opening {
  display: flex; flex-direction: column; gap: 20px;
  max-width: 880px;
  margin-bottom: 72px;
}
.bb-prose {
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  font-weight: var(--weight-x-light);
  line-height: 1.55;
  letter-spacing: -0.14px;
  color: rgba(0,0,0,0.78);
  margin: 0;
  text-wrap: pretty;
}

.bb-practice__cards {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}
@media (min-width: 720px) { .bb-practice__cards { grid-template-columns: repeat(3, 1fr); } }

.bb-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 120ms ease, transform 120ms ease;
}
.bb-card:hover { border-color: rgba(0,0,0,0.25); }
.bb-card__body {
  padding: 28px 28px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bb-card__title {
  font-size: 1.3125rem;
  font-weight: var(--weight-semi);
  line-height: 1.25;
  letter-spacing: -0.25px;
  margin: 0;
  text-wrap: balance;
}
.bb-card__copy {
  font-size: 0.9375rem;
  font-weight: var(--weight-x-light);
  line-height: 1.55;
  color: rgba(0,0,0,0.7);
  margin: 0;
}

.bb-practice__closing {
  margin-top: 56px;
  max-width: 880px;
  display: flex; flex-direction: column; gap: 20px;
}

/* Structured prose cells used to break out parallel comparisons or triads
   inside .bb-practice__closing. Stacks single-column on mobile. */
.bb-prose-cells {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 4px 0;
}
@media (min-width: 720px) {
  .bb-prose-cells--2 { grid-template-columns: 1fr 1fr; }
  .bb-prose-cells--3 { grid-template-columns: repeat(3, 1fr); }
}
.bb-prose-cell {
  padding: 18px 22px 20px;
  background: #fafafa;
  border: 1px solid rgba(0,0,0,0.06);
  border-left: 2px solid #b6f24a;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bb-prose-cell__label {
  color: rgba(0,0,0,0.55);
}
.bb-prose-cell__body {
  font-size: 0.9375rem;
  font-weight: var(--weight-x-light);
  line-height: 1.5;
  color: rgba(0,0,0,0.78);
  margin: 0;
  text-wrap: pretty;
}
@media (max-width: 540px) {
  .bb-prose-cell { padding: 14px 16px 16px; }
}

.bb-callout {
  margin-top: 48px;
  padding: 32px 36px;
  background: #000;
  color: #fff;
  border-radius: 8px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  overflow: hidden;
}
.bb-callout::before {
  content: "";
  position: absolute; top: -100px; right: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, #b6f24a, transparent 70%);
  opacity: 0.25; filter: blur(40px);
}
.bb-callout__label { color: #b6f24a; position: relative; }
.bb-callout__body {
  position: relative;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  font-weight: var(--weight-thin);
  line-height: 1.5;
  letter-spacing: -0.2px;
  margin: 0;
  max-width: 780px;
}
.bb-callout__pills {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0;
}
.bb-callout__pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px 9px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50px;
  font-size: 13px;
  font-weight: var(--weight-medium-plus);
  letter-spacing: -0.1px;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}
@media (max-width: 540px) {
  .bb-callout__pill {
    white-space: normal;
    border-radius: 14px;
  }
}

/* =========================================================
   HOW WE WORK
   ========================================================= */
.bb-how__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
  margin-top: 32px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
@media (min-width: 900px) {
  .bb-how__grid { grid-template-columns: repeat(3, 1fr); }
}
.bb-how__cell {
  padding: 40px 0 8px;
  border-right: 1px solid transparent;
}
@media (min-width: 900px) {
  .bb-how__cell { padding: 40px 32px 8px 0; }
  .bb-how__cell + .bb-how__cell { padding-left: 32px; border-left: 1px solid rgba(0,0,0,0.08); }
}
.bb-how__num {
  color: rgba(0,0,0,0.4);
  margin-bottom: 24px;
  font-size: 14px;
}
.bb-how__title {
  font-size: 1.5rem;
  font-weight: var(--weight-semi);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0 0 16px;
  text-wrap: balance;
}
.bb-how__body {
  font-size: 1rem;
  font-weight: var(--weight-x-light);
  line-height: 1.55;
  color: rgba(0,0,0,0.7);
  margin: 0;
  text-wrap: pretty;
}

/* =========================================================
   ENGAGEMENT WALKTHROUGH (process timeline)
   ========================================================= */
.bb-process__lede {
  max-width: 720px;
  margin-bottom: 56px;
}
.bb-process__list {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 900px) {
  .bb-process__list {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    padding-top: 22px; /* space for the timeline rule + dots */
  }
  /* Continuous green rule across all steps on desktop */
  .bb-process__list::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 4px;
    right: 4px;
    height: 1px;
    background: linear-gradient(
      90deg,
      rgba(182, 242, 74, 0.55) 0%,
      rgba(182, 242, 74, 0.55) 92%,
      transparent 100%
    );
  }
}
.bb-process__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.10);
}
@media (min-width: 900px) {
  .bb-process__step {
    border-top: 0;
    padding-top: 28px;
    padding-right: 12px;
  }
  /* Green node where the step touches the timeline rule */
  .bb-process__step::before {
    content: "";
    position: absolute;
    top: 4px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #b6f24a;
    box-shadow: 0 0 0 4px #fff;
  }
}
.bb-process__num {
  color: rgba(0, 0, 0, 0.55);
}
.bb-process__title {
  font-size: 1.25rem;
  font-weight: var(--weight-semi);
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin: 0;
}
.bb-process__body {
  font-size: 0.9375rem;
  font-weight: var(--weight-x-light);
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
  text-wrap: pretty;
}

/* =========================================================
   SELECTED WORK
   ========================================================= */
.bb-work__grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}
@media (min-width: 900px) {
  .bb-work__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
.bb-workcard {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.bb-workcard:hover { box-shadow: var(--shadow-2); }
.bb-workcard__media {
  aspect-ratio: 16 / 8;
  position: relative;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 24px;
  color: #fff;
}
/* Selected-work cards: unified near-black tiles with a single brand-green
   corner glow per card. Glow position varies by grid quadrant so each card
   has its own visual signature while the set reads as one. */

.bb-workcard__media--proto,
.bb-workcard__media--devmode,
.bb-workcard__media--design,
.bb-workcard__media--figjam {
  background-color: #0a0a0a;
  background-blend-mode: normal;
}

/* Card 1 — AI · Adversarial : top-left glow */
.bb-workcard__media--proto {
  background-image:
    radial-gradient(70% 60% at 0% 0%, rgba(182, 242, 74, 0.24) 0%, transparent 55%),
    linear-gradient(135deg, #181818 0%, #050505 100%);
}

/* Card 2 — AI · Governance : top-right glow */
.bb-workcard__media--devmode {
  background-image:
    radial-gradient(70% 60% at 100% 0%, rgba(182, 242, 74, 0.24) 0%, transparent 55%),
    linear-gradient(225deg, #181818 0%, #050505 100%);
}

/* Card 3 — ICS / OT : bottom-left glow */
.bb-workcard__media--design {
  background-image:
    radial-gradient(70% 60% at 0% 100%, rgba(182, 242, 74, 0.24) 0%, transparent 55%),
    linear-gradient(45deg, #181818 0%, #050505 100%);
}

/* Card 4 — Zero Trust · Federal : bottom-right glow */
.bb-workcard__media--figjam {
  background-image:
    radial-gradient(70% 60% at 100% 100%, rgba(182, 242, 74, 0.24) 0%, transparent 55%),
    linear-gradient(315deg, #181818 0%, #050505 100%);
}

.bb-workcard__tag { color: rgba(255,255,255,0.92); }
.bb-workcard__index {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--weight-regular);
  letter-spacing: -2px;
  line-height: 0.9;
  color: rgba(255,255,255,0.85);
  font-feature-settings: "tnum" 1;
}
.bb-workcard__body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.bb-workcard__title {
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  font-weight: var(--weight-semi);
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0;
  text-wrap: balance;
}
.bb-workcard__copy {
  font-size: 0.9375rem;
  font-weight: var(--weight-x-light);
  line-height: 1.55;
  color: rgba(0,0,0,0.7);
  margin: 0;
}

/* =========================================================
   TRUST BAND
   ========================================================= */
.bb-trust { background: #fafafa; }
.bb-trust__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 28px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  align-items: center;
}
@media (min-width: 900px) {
  .bb-trust__row { grid-template-columns: 220px 1fr; gap: 32px; }
}
.bb-trust__rowlabel { color: rgba(0,0,0,0.55); }
.bb-trust__pills { display: flex; flex-wrap: wrap; gap: 10px; }

.bb-pill {
  display: inline-flex; align-items: center;
  padding: 8px 16px 10px;
  background: #000; color: #fff;
  border-radius: 50px;
  font-size: 14px; font-weight: var(--weight-medium-plus);
  letter-spacing: -0.1px;
}
.bb-pill--outline {
  background: transparent;
  color: #000;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15);
}

.bb-trust__note {
  margin-top: 32px;
  font-size: 1rem;
  font-weight: var(--weight-x-light);
  line-height: 1.55;
  color: rgba(0,0,0,0.65);
  max-width: 880px;
}

/* =========================================================
   CONTACT
   ========================================================= */
.bb-contact { background: #000; color: #fff; border-top-color: transparent; }
.bb-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}
@media (min-width: 900px) {
  .bb-contact__grid { grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: start; }
}
.bb-contact__intro h2 { color: #fff; }
.bb-contact__prompt {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: var(--weight-thin);
  line-height: 1.45;
  color: rgba(255,255,255,0.8);
  margin: 0 0 40px;
  max-width: 540px;
}
.bb-contact__details {
  display: flex; flex-direction: column; gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.bb-contact__detlabel { color: rgba(255,255,255,0.5); margin-bottom: 6px; }
.bb-contact__detval {
  font-size: 1.0625rem;
  font-weight: var(--weight-x-light);
  letter-spacing: -0.14px;
  color: #fff;
  text-decoration: none;
}
a.bb-contact__detval { border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 1px; }
a.bb-contact__detval:hover { border-bottom-color: #b6f24a; }

.bb-form {
  background: #fff;
  color: #000;
  padding: 32px;
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 16px;
}
@media (min-width: 720px) { .bb-form { padding: 40px; } }
.bb-form__row--two {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
@media (max-width: 540px) { .bb-form__row--two { grid-template-columns: 1fr; } }

.bb-field { display: flex; flex-direction: column; gap: 6px; }
.bb-field__label { color: rgba(0,0,0,0.55); }
.bb-input {
  font-family: inherit;
  font-size: 16px;
  font-weight: var(--weight-x-light);
  letter-spacing: -0.14px;
  color: #000;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.bb-input:focus {
  outline: none;
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.08);
}
.bb-input--ta { resize: vertical; min-height: 140px; line-height: 1.55; }

.bb-form__submit {
  align-self: flex-start;
  background: #000; color: #fff;
  font-size: 16px;
  padding: 12px 22px 14px;
  margin-top: 8px;
}
.bb-form__submit:hover { background: #1a1a1a; }
.bb-form__fineprint {
  font-size: 12px;
  font-weight: var(--weight-x-light);
  color: rgba(0,0,0,0.5);
  margin: 4px 0 0;
}
.bb-form__thanks { display: flex; flex-direction: column; gap: 12px; padding: 24px 0; }
.bb-form__thanks .mono { color: #b6f24a; }
.bb-form__thankshead {
  font-size: 1.625rem;
  font-weight: var(--weight-semi);
  letter-spacing: -0.3px;
  margin: 0;
}
.bb-form__thanksbody {
  font-size: 1rem;
  font-weight: var(--weight-x-light);
  color: rgba(0,0,0,0.7);
  margin: 0;
}
.bb-form__error {
  font-size: 14px;
  font-weight: var(--weight-x-light);
  letter-spacing: -0.14px;
  color: #b3261e;
  margin: 4px 0 0;
}
.bb-form__submit:disabled { opacity: 0.6; cursor: progress; }

/* Honeypot field: visually hidden, off-screen for humans, still focusable
   by bots that crawl the DOM. Avoid display:none — some bots skip it. */
.bb-form__honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}

/* =========================================================
   FOOTER
   ========================================================= */
.bb-footer { background: #000; color: #fff; padding: 80px 48px 32px; }
@media (min-width: 900px) { .bb-footer { padding: 96px 64px 40px; } }
.bb-footer__inner { max-width: 1280px; margin: 0 auto; }
.bb-footer__top {
  display: flex; flex-direction: column; gap: 16px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 720px) {
  .bb-footer__top { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.bb-footer__brand { display: flex; align-items: center; gap: 12px; }
.bb-footer__wordmark { font-size: 22px; font-weight: var(--weight-semi); letter-spacing: -0.6px; }
.bb-footer__tagline {
  font-size: 1.125rem;
  font-weight: var(--weight-thin);
  letter-spacing: -0.2px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .bb-footer__tagline { white-space: normal; }
}

.bb-footer__cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
@media (min-width: 900px) {
  .bb-footer__cols { grid-template-columns: repeat(4, 1fr); gap: 48px; }
}
.bb-footer__colhead { color: rgba(255,255,255,0.55); margin-bottom: 18px; }
.bb-footer__cols ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bb-footer__cols li, .bb-footer__cols a {
  font-size: 14px;
  font-weight: var(--weight-x-light);
  letter-spacing: -0.14px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}
.bb-footer__cols a:hover { color: #b6f24a; }

.bb-footer__base {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; gap: 16px; flex-wrap: wrap;
  color: rgba(255,255,255,0.45);
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.bb-about__hero {
  padding: 140px 48px 96px;
  border-top: 0;
  background:
    radial-gradient(80% 60% at 90% 0%,  #b6f24a30 0%, transparent 60%),
    radial-gradient(60% 60% at 0% 100%, #6b3df520 0%, transparent 70%),
    #fff;
}
@media (min-width: 900px) { .bb-about__hero { padding: 160px 64px 120px; } }

.bb-about__hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: var(--weight-regular);
  line-height: 1.0;
  letter-spacing: -1.8px;
  margin: 24px 0 32px;
  max-width: 1100px;
  text-wrap: balance;
}
.bb-about__intro {
  font-size: clamp(1.125rem, 1.7vw, 1.5rem);
  font-weight: var(--weight-thin);
  line-height: 1.45;
  letter-spacing: -0.2px;
  color: rgba(0,0,0,0.8);
  max-width: 880px;
  margin: 0;
  text-wrap: pretty;
}

.bb-prose-block {
  display: flex; flex-direction: column; gap: 20px;
  max-width: 820px;
  margin: 0;
}

.bb-focus__grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  margin-top: 32px;
}
@media (min-width: 900px) { .bb-focus__grid { grid-template-columns: repeat(2, 1fr); gap: 48px; } }
.bb-focus__cell {
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  display: flex; flex-direction: column; gap: 16px;
}
.bb-focus__cell--accent {
  background: #000; color: #fff; border-color: #000;
  position: relative; overflow: hidden;
}
.bb-focus__cell--accent::before {
  content: ""; position: absolute; bottom: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, #b6f24a, transparent 70%);
  opacity: 0.3; filter: blur(50px);
}
.bb-focus__head { font-size: 1.5rem; font-weight: var(--weight-semi); letter-spacing: -0.3px; margin: 0; position: relative; }
.bb-focus__body { font-size: 1rem; font-weight: var(--weight-x-light); line-height: 1.55; color: rgba(0,0,0,0.72); margin: 0; position: relative; }
.bb-focus__cell--accent .bb-focus__body { color: rgba(255,255,255,0.78); }

.bb-engage__list {
  display: grid; grid-template-columns: 1fr; gap: 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.bb-engage__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  align-items: start;
}
@media (min-width: 720px) {
  .bb-engage__row {
    grid-template-columns: 80px 1fr;
    gap: 16px;
    padding: 32px 0;
  }
  /* Title spans the right column on tablet, body wraps under it in same column */
  .bb-engage__row > .bb-engage__title { grid-column: 2; }
  .bb-engage__row > .bb-engage__body  { grid-column: 2; }
}
@media (min-width: 900px) {
  .bb-engage__row { grid-template-columns: 100px 280px 1fr; gap: 48px; }
  /* On desktop, title gets its own middle column; body gets the wide right column */
  .bb-engage__row > .bb-engage__title { grid-column: 2; }
  .bb-engage__row > .bb-engage__body  { grid-column: 3; }
}
.bb-engage__num { color: rgba(0,0,0,0.4); }
.bb-engage__title { font-size: 1.25rem; font-weight: var(--weight-semi); letter-spacing: -0.2px; margin: 0; text-wrap: balance; }
.bb-engage__body { font-size: 1rem; font-weight: var(--weight-x-light); line-height: 1.55; color: rgba(0,0,0,0.7); margin: 0; text-wrap: pretty; }

.bb-perf__list {
  display: grid; grid-template-columns: 1fr; gap: 0;
  margin-top: 32px;
}
.bb-perf__row {
  display: grid; grid-template-columns: 1fr; gap: 8px;
  padding: 24px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}
@media (min-width: 720px) {
  .bb-perf__row { grid-template-columns: 220px 1fr; gap: 40px; align-items: baseline; }
}
.bb-perf__sector { font-size: 14px; font-weight: var(--weight-medium-plus); letter-spacing: -0.1px; }
.bb-perf__what { font-size: 1rem; font-weight: var(--weight-x-light); color: rgba(0,0,0,0.78); line-height: 1.5; margin: 0; }

.bb-cta-strip {
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  text-align: center;
  padding: 80px 48px;
}
.bb-cta-strip__inner { max-width: 760px; margin: 0 auto; }
.bb-cta-strip h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: var(--weight-regular);
  letter-spacing: -0.8px;
  line-height: 1.05;
  margin: 0 0 24px;
}
.bb-cta-strip p {
  font-size: 1.125rem;
  font-weight: var(--weight-thin);
  color: rgba(0,0,0,0.7);
  margin: 0 0 32px;
}

/* =========================================================
   Tweaks panel positioning override (hero treatment selector)
   ========================================================= */
.tweaks-bb-note { font-size: 12px; color: rgba(0,0,0,0.55); margin-top: 8px; line-height: 1.4; }
