/* ============================================================================
   bb-ui.css — BLACKBOOK components
   masthead · hero spread · dual entry · ledger · process · dossier ·
   comparisons · records+matchline · terms · faq · record-sheet form · footer · brand
   ============================================================================ */

/* =========================== MASTHEAD =========================== */
.bb-microtop {
  background: var(--bb-graphite);
  border-bottom: var(--bb-rule);
}
.bb-microtop__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .45rem 0;
  font-family: var(--bb-font-mono); font-size: .6rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; color: var(--bb-dust);
}
.bb-microtop__inner > span:first-child { display: inline-flex; align-items: center; gap: .6em; color: var(--bb-bone); }
.bb-microtop .bb-pip { width: 6px; height: 6px; background: var(--bb-oxide); flex: none; }

.bb-masthead {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: transparent !important;
  backdrop-filter: blur(0px) !important;
  -webkit-backdrop-filter: blur(0px) !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.bb-masthead.is-scrolled {
  background: rgba(10, 10, 9, 0.78) !important;
  backdrop-filter: blur(18px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;
  border-bottom: 1px solid rgba(232, 226, 214, 0.12) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
}

/* =========================== PRELOADER =========================== */
body.is-loading {
  overflow: hidden !important;
}

.bb-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0B0B0A;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}
.bb-preloader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 46%, rgba(229, 169, 60, 0.05) 0%, transparent 68%);
  pointer-events: none;
}
[data-accent="purple"] .bb-preloader::before,
[data-accent="neon"] .bb-preloader::before {
  background: radial-gradient(circle at 50% 46%, rgba(188, 163, 237, 0.06) 0%, transparent 68%);
}
.bb-preloader.is-loaded {
  transform: translateY(-100%);
  pointer-events: none;
}
.bb-preloader__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}
.bb-preloader__mark {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto 1.35rem;
}
.bb-preloader__mark img {
  display: block;
  margin: 0 auto;
  width: 48px;
  height: auto;
  max-height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(229, 169, 60, 0.42));
}
[data-accent="purple"] .bb-preloader__mark img,
[data-accent="neon"] .bb-preloader__mark img {
  filter: drop-shadow(0 0 26px rgba(188, 163, 237, 0.55));
}
.bb-preloader__word {
  font-family: "Newsreader", "IvyPresto Display", Georgia, serif !important;
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  letter-spacing: 0.05em;
  color: #FFFFFF;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
  margin: 0 auto 2.35rem;
  width: 100%;
}
.bb-preloader__count {
  font-family: "Newsreader", "IvyPresto Display", Georgia, serif;
  font-weight: 300;
  font-size: clamp(3.8rem, 8.5vw, 6rem);
  line-height: 1;
  color: var(--bb-ivory, #F4EEE4);
  font-variant-numeric: tabular-nums;
  margin: 0 auto 1.6rem;
  text-align: center;
  width: 100%;
}
.bb-preloader__bar {
  width: min(280px, 62vw);
  height: 2px;
  margin: 0 auto 1.35rem;
  background: rgba(232, 226, 214, 0.12);
  border-radius: 1px;
  overflow: hidden;
}
.bb-preloader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #B57F22, #E5A93C, #F2C94C);
  box-shadow: 0 0 10px rgba(242, 201, 76, 0.7);
  border-radius: 1px;
}
[data-accent="purple"] .bb-preloader__bar span,
[data-accent="neon"] .bb-preloader__bar span {
  background: linear-gradient(90deg, #7E22CE, #BCA3ED, #D6C2FA);
  box-shadow: 0 0 12px rgba(188, 163, 237, 0.85);
}
.bb-preloader__meta {
  font-family: var(--bb-font-mono, "IBM Plex Mono", monospace);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bb-dust, #9A9388);
  text-align: center;
  margin: 0 auto;
}

/* =========================== SCROLL PROGRESS =========================== */
.bb-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 2500;
  background: transparent;
  pointer-events: none;
  overflow: hidden;
}
.bb-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #B57F22, #E5A93C, #F2C94C);
  box-shadow: 0 0 8px rgba(242, 201, 76, 0.7);
  transform-origin: 0 50%;
  transform: scaleX(0);
  opacity: 0;
  transition: opacity 0.2s ease;
  will-change: transform, opacity;
}

/* Purple accent for Media Buyers */
[data-accent="purple"] .bb-progress span,
[data-accent="neon"] .bb-progress span {
  background: linear-gradient(90deg, #7E22CE, #BCA3ED, #D6C2FA);
  box-shadow: 0 0 10px rgba(188, 163, 237, 0.85);
}

/* =========================== CUSTOM CURSOR =========================== */
.bb-cursor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.bb-cursor__dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F2C94C;
  box-shadow: 0 0 8px rgba(242, 201, 76, 0.85);
  transform: translate(-100px, -100px) translate(-50%, -50%);
  pointer-events: none;
  will-change: transform;
}

.bb-cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(229, 169, 60, 0.55);
  transform: translate(-100px, -100px) translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
  transition: width 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.28s ease,
              border-color 0.28s ease,
              box-shadow 0.28s ease;
}

.bb-cursor__label {
  font-family: var(--bb-font-mono, monospace);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #0A0A09;
  opacity: 0;
  transition: opacity 0.2s ease;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Hover link state */
.bb-cursor.is-link .bb-cursor__ring {
  width: 56px;
  height: 56px;
  background: rgba(229, 169, 60, 0.12);
  border-color: #F2C94C;
  box-shadow: 0 0 12px rgba(242, 201, 76, 0.25);
}

/* Hover label state */
.bb-cursor.is-label .bb-cursor__ring {
  width: 74px;
  height: 74px;
  background: #E5A93C;
  border-color: #E5A93C;
  box-shadow: 0 0 16px rgba(229, 169, 60, 0.4);
}
.bb-cursor.is-label .bb-cursor__label {
  opacity: 1;
}
.bb-cursor.is-label .bb-cursor__dot {
  opacity: 0;
}

/* Purple accent for Media Buyers */
[data-accent="purple"] .bb-cursor__dot,
[data-accent="neon"] .bb-cursor__dot {
  background: #BCA3ED;
  box-shadow: 0 0 10px rgba(188, 163, 237, 0.9);
}

[data-accent="purple"] .bb-cursor__ring,
[data-accent="neon"] .bb-cursor__ring {
  border-color: rgba(188, 163, 237, 0.5);
}

[data-accent="purple"] .bb-cursor.is-link .bb-cursor__ring,
[data-accent="neon"] .bb-cursor.is-link .bb-cursor__ring {
  background: rgba(188, 163, 237, 0.14);
  border-color: #BCA3ED;
  box-shadow: 0 0 14px rgba(188, 163, 237, 0.35);
}

[data-accent="purple"] .bb-cursor.is-label .bb-cursor__ring,
[data-accent="neon"] .bb-cursor.is-label .bb-cursor__ring {
  background: #BCA3ED;
  border-color: #BCA3ED;
  box-shadow: 0 0 18px rgba(188, 163, 237, 0.45);
}
[data-accent="purple"] .bb-cursor.is-label .bb-cursor__label,
[data-accent="neon"] .bb-cursor.is-label .bb-cursor__label {
  color: #0C0B0F;
}

/* Hide native OS cursor on desktop fine pointer devices when custom cursor is active */
@media (hover: hover) and (pointer: fine) {
  html.bb-has-custom-cursor,
  html.bb-has-custom-cursor body,
  html.bb-has-custom-cursor a,
  html.bb-has-custom-cursor button,
  html.bb-has-custom-cursor [role="button"],
  html.bb-has-custom-cursor .bb-btn {
    cursor: none !important;
  }

  html.bb-has-custom-cursor input,
  html.bb-has-custom-cursor textarea,
  html.bb-has-custom-cursor select {
    cursor: auto !important;
  }
}

/* Touch devices: hide custom cursor entirely */
@media (hover: none), (pointer: coarse) {
  .bb-cursor {
    display: none !important;
  }
}

.bb-masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
}
.bb-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.bb-nav__cta {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.bb-nav__mobile-cta {
  display: none;
}

/* wordmark — Editorial Serif (Newsreader / IvyPresto) + pure typographic wordmark */
.bb-wordmark {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: "Newsreader", "IvyPresto Display", Georgia, serif !important;
  font-weight: 700;
  font-size: 1.34rem; letter-spacing: .03em;
  color: #FFFFFF;
  padding: 0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.bb-masthead .bb-wordmark {
  /* Optical baseline adjustment for all-caps serif */
  transform: translateY(2px);
}
.bb-wordmark__mark {
  display: none !important;
}
.bb-wordmark__tld { font-family: var(--bb-font-mono); font-weight: 500; font-size: .58rem; letter-spacing: .14em; color: var(--bb-archive); align-self: center; }

.bb-nav__link {
  font-family: var(--bb-font-mono);
  font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--bb-dust);
  transition: color .2s var(--bb-ease);
  position: relative;
  padding: .4rem 0;
}
.bb-nav__link:hover { color: var(--bb-bone); }
.bb-nav__link[href*="mediabuyers"]:hover { color: #F2C94C !important; }
.bb-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--bb-oxide);
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .32s cubic-bezier(0.22, 0.61, 0.21, 1);
}
.bb-nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}
.bb-nav__link[aria-current="page"] { color: var(--bb-ivory); }
.bb-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: 0 50%;
}

/* Sign In Header Link */
.bb-nav__link--signin {
  font-family: var(--bb-font-mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bb-ivory) !important;
  position: relative;
  padding: .4rem .3rem;
  transition: color .2s var(--bb-ease), transform .2s var(--bb-ease), text-shadow .2s var(--bb-ease);
}
.bb-nav__link--signin:hover {
  color: #FFFFFF !important;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
  transform: translateY(-1.5px);
}
[data-accent="purple"] .bb-nav__link--signin:hover,
[data-accent="neon"] .bb-nav__link--signin:hover {
  color: #D8B4FE !important;
  text-shadow: 0 0 14px rgba(185, 103, 255, 0.7);
}

.bb-nav__cta { display: flex; align-items: center; gap: 2.2rem; }
.bb-nav__cta .bb-btn {
  padding: .8em 1.35em .75em 1.35em;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F2C94C 0%, #E5A93C 50%, #B57F22 100%) !important;
  color: #0B0B0A !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 2px 10px rgba(229, 169, 60, 0.25);
  transition: transform 0.18s var(--bb-ease), box-shadow 0.18s var(--bb-ease), background 0.18s var(--bb-ease);
}
.bb-nav__cta .bb-btn:hover {
  background: linear-gradient(135deg, #FFDF70 0%, #F2C94C 50%, #C89228 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 4px 18px rgba(242, 201, 76, 0.4);
  transform: translateY(-1px);
}
.bb-nav__cta .bb-btn::after {
  content: "";
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -130%;
  width: 55%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.12) 20%,
    rgba(255, 255, 255, 0.55) 48%,
    rgba(255, 255, 255, 0.9) 52%,
    rgba(255, 255, 255, 0.55) 56%,
    rgba(255, 255, 255, 0.12) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
  animation: bb-gold-beam 7s cubic-bezier(0.25, 1, 0.4, 1) 0.8s infinite;
}
.bb-nav__cta .bb-btn:hover::after {
  animation: bb-gold-beam-sweep 2.0s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes bb-gold-beam {
  0% {
    left: -130%;
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  32% {
    left: 220%;
    opacity: 1;
  }
  33% {
    opacity: 0;
  }
  100% {
    left: 220%;
    opacity: 0;
  }
}

@keyframes bb-gold-beam-sweep {
  0% {
    left: -130%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: 220%;
    opacity: 0;
  }
}



/* ========================= BURGER (two-phase keyframe animation) ========================= */
.bb-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

/* Three identical white lines */
.bb-burger__line {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 1px;
  position: absolute;
  left: 50%;
  transform-origin: center center;
}

/* Resting positions — 100% symmetric about container center (50%, 50%) */
.bb-burger__line:nth-child(1) { top: calc(50% - 7px); transform: translate(-50%, -50%); }
.bb-burger__line:nth-child(2) { top: 50%;              transform: translate(-50%, -50%); }
.bb-burger__line:nth-child(3) { top: calc(50% + 7px);  transform: translate(-50%, -50%); }

/* ── OPEN KEYFRAMES: 3 lines → 1 center line → X (0.7s smooth) ── */
@keyframes bb-l1-open {
  0%   { top: calc(50% - 7px); transform: translate(-50%, -50%) rotate(0deg); }
  45%  { top: 50%;             transform: translate(-50%, -50%) rotate(0deg); }
  100% { top: 50%;             transform: translate(-50%, -50%) rotate(45deg); }
}
@keyframes bb-l2-open {
  0%   { top: 50%; transform: translate(-50%, -50%); opacity: 1; }
  35%  { top: 50%; transform: translate(-50%, -50%); opacity: 1; }
  55%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes bb-l3-open {
  0%   { top: calc(50% + 7px); transform: translate(-50%, -50%) rotate(0deg); }
  45%  { top: 50%;             transform: translate(-50%, -50%) rotate(0deg); }
  100% { top: 50%;             transform: translate(-50%, -50%) rotate(-45deg); }
}

/* ── CLOSE KEYFRAMES: X → 1 center line → 3 lines (0.7s smooth) ── */
@keyframes bb-l1-close {
  0%   { top: 50%;             transform: translate(-50%, -50%) rotate(45deg); }
  55%  { top: 50%;             transform: translate(-50%, -50%) rotate(0deg); }
  100% { top: calc(50% - 7px); transform: translate(-50%, -50%) rotate(0deg); }
}
@keyframes bb-l2-close {
  0%   { opacity: 0; }
  45%  { opacity: 0; }
  65%  { top: 50%; transform: translate(-50%, -50%); opacity: 1; }
  100% { top: 50%; transform: translate(-50%, -50%); opacity: 1; }
}
@keyframes bb-l3-close {
  0%   { top: 50%;             transform: translate(-50%, -50%) rotate(-45deg); }
  55%  { top: 50%;             transform: translate(-50%, -50%) rotate(0deg); }
  100% { top: calc(50% + 7px); transform: translate(-50%, -50%) rotate(0deg); }
}

/* Apply OPEN animations */
.bb-masthead.is-open .bb-burger__line:nth-child(1) { animation: bb-l1-open 0.7s cubic-bezier(0.65, 0, 0.15, 1) forwards; }
.bb-masthead.is-open .bb-burger__line:nth-child(2) { animation: bb-l2-open 0.7s cubic-bezier(0.65, 0, 0.15, 1) forwards; }
.bb-masthead.is-open .bb-burger__line:nth-child(3) { animation: bb-l3-open 0.7s cubic-bezier(0.65, 0, 0.15, 1) forwards; }

/* Apply CLOSE animations */
.bb-masthead[data-nav-closing] .bb-burger__line:nth-child(1) { animation: bb-l1-close 0.7s cubic-bezier(0.65, 0, 0.15, 1) forwards; }
.bb-masthead[data-nav-closing] .bb-burger__line:nth-child(2) { animation: bb-l2-close 0.7s cubic-bezier(0.65, 0, 0.15, 1) forwards; }
.bb-masthead[data-nav-closing] .bb-burger__line:nth-child(3) { animation: bb-l3-close 0.7s cubic-bezier(0.65, 0, 0.15, 1) forwards; }

/* ========================= MOBILE NAV OVERLAY (≤1080px) ========================= */
.bb-mobile-menu { display: none; }
.bb-nav__desktop-link { display: inline-flex; }

@media (max-width: 1080px) {
  .bb-nav__desktop-link { display: none !important; }
  .bb-nav__cta { display: none !important; }

  /* Guarantee identical 64px height and container geometry on mobile when closed */
  .bb-masthead {
    height: 64px !important;
    box-sizing: border-box !important;
  }

  .bb-masthead__inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 64px !important;
    width: 100% !important;
    max-width: var(--bb-maxw) !important;
    margin: 0 auto !important;
    padding: 0 var(--bb-pad) !important;
    box-sizing: border-box !important;
  }
  .bb-burger { display: flex !important; align-items: center; justify-content: center; margin: 0; }

  /* Default closed state on mobile */
  .bb-nav {
    display: none !important;
  }

  /* ── FULL SCREEN FIXED OVERLAY WHEN NAV IS OPEN ── */
  .bb-masthead.is-open {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 64px !important;
    background: #0B0B0A !important;
    z-index: 10000 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: var(--bb-rule) !important;
    box-sizing: border-box !important;
  }

  .bb-masthead.is-open .bb-masthead__inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 64px !important;
    width: 100% !important;
    max-width: var(--bb-maxw) !important;
    margin: 0 auto !important;
    padding: 0 var(--bb-pad) !important;
    box-sizing: border-box !important;
  }

  /* Fixed 100dvh Overlay Panel attached below 64px header bar */
  .bb-masthead.is-open .bb-nav {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: fixed !important;
    top: 64px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: calc(100dvh - 64px) !important;
    background: #0B0B0A !important;
    z-index: 99999 !important;
    padding: 1.2rem var(--bb-pad) calc(2.2rem + env(safe-area-inset-bottom)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    animation: bb-overlay-in 0.28s cubic-bezier(0.22, 0.61, 0.21, 1) both;
    box-sizing: border-box !important;
  }

  @keyframes bb-overlay-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .bb-mobile-menu {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    flex: 1 1 auto !important;
    justify-content: space-between !important;
    gap: 1.5rem;
  }

  .bb-mobile-menu__list {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 1.8rem;
    padding-top: 0.8rem;
  }

  /* Clean Group Container */
  .bb-mobile-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  /* Group Heading */
  .bb-mobile-group__title {
    font-family: var(--bb-font-disp);
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .bb-mobile-group__title a {
    color: #FFFFFF;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }
  .bb-mobile-group__title a:hover {
    color: var(--bb-oxide-hi);
  }

  /* Links within group */
  .bb-mobile-group__links {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding-left: 0.2rem;
  }

  .bb-mobile-link {
    display: block;
    padding: 0.55rem 0;
    color: #B5B0A6;
    font-family: var(--bb-font-body);
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
  }
  .bb-mobile-link:hover,
  .bb-mobile-link:focus {
    color: #FFFFFF;
    transform: translateX(4px);
  }

  /* Bottom Actions in Mobile Menu */
  .bb-nav__mobile-cta {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.8rem !important;
    width: 100% !important;
    margin-top: 1rem !important;
    padding-top: 1.2rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  /* Authentic BLACKBOOK CTA Button */
  .bb-nav__mobile-cta .bb-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 1.1em 1.5em 1.05em !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
  }

  /* Plain White Text Link below CTA button */
  .bb-mobile-plain-signin {
    display: block !important;
    text-align: center !important;
    color: #FFFFFF !important;
    font-family: var(--bb-font-body) !important;
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    padding: 0.4rem 0 !important;
    opacity: 0.85;
    transition: opacity 0.15s ease;
  }
  .bb-mobile-plain-signin:hover {
    opacity: 1;
    text-decoration: underline !important;
    text-underline-offset: 4px;
    color: #F2C94C !important;
  }
}

@keyframes bb-dropdown-in {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Extra-small phone guard */
@media (max-width: 380px) {
  .bb-wordmark { font-size: 1.15rem; }
  .bb-wordmark__mark { width: 13px; height: 17px; }
}





/* =========================== HERO =========================== */
.bb-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible; /* Seamless particle bleed into section below */
  background-color: #0A0A09;
  background-image: none;
  margin-top: -64px;
  padding-top: calc(128px + 5.5vh);
  padding-bottom: clamp(1.2rem, 2.5vh, 2.2rem);
  box-sizing: border-box;
  z-index: 5;
}

/* Luxury gold ambient glow in top-right (from Modern Index) */
.bb-hero__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 65vw;
  height: 65vw;
  max-width: 920px;
  max-height: 920px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(229, 169, 60, 0.11) 0%,
    rgba(242, 201, 76, 0.055) 32%,
    rgba(229, 169, 60, 0.012) 58%,
    transparent 72%
  );
  filter: blur(45px);
  pointer-events: none;
  z-index: 1;
}

/* Ambient Hero Floating Stardust / Particle Field */
.bb-hero__particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 2;
  display: block;
}

/* Full Hero Notebook Grid - disabled per user request */
.bb-hero::before {
  display: none !important;
}



.bb-hero__container,
.bb-hero > .bb-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  position: relative;
  z-index: 3;
}
.bb-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(0.5rem, 1.5vw, 1.5rem) 0 1rem;
  margin-top: clamp(2.4rem, 5vh, 4.5rem);
  margin-bottom: auto;
}
.bb-hero__overline { display: flex; align-items: center; gap: 1rem; }
.bb-hero__overline .bb-rule-bit { height: 1px; width: 44px; background: var(--bb-oxide); }
.bb-hero h1 {
  font-family: 'IvyPresto Display', 'IvyPresto', var(--bb-font-serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 4.4vw, 4.15rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: #FFFFFF;
  margin-top: clamp(0.6rem, 1.2vw, 1.2rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.bb-hero__line {
  display: block;
  white-space: nowrap;
}
.bb-hero h1 .bb-hi {
  font-family: 'IvyPresto Display', 'IvyPresto', var(--bb-font-serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: -.01em;
  background: linear-gradient(180deg, #FFF8DC 0%, #F5CF65 35%, #D49E2D 75%, #A17316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 540px) {
  .bb-hero h1 {
    font-size: clamp(1.75rem, 6.8vw, 2.3rem);
    line-height: 1.1;
  }
}
.bb-hero__sub {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: #97907F; /* exact modern page --mb-dust */
  font-family: 'Archivo', var(--bb-font-body);
  max-width: 560px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.bb-hero__ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }
.bb-hero__note { margin-top: 1.3rem; }

/* ---- Magnetic CTA Physics ---- */
[data-magnetic] {
  will-change: transform;
}

[data-magnetic],
[data-magnetic]:hover,
[data-magnetic]:active {
  transition-property: background, background-color, border-color, color, box-shadow, opacity !important;
}

[data-magnetic]:hover,
.bb-btn[data-magnetic]:hover {
  transform: none;
}

[data-magnetic] > * {
  pointer-events: none;
}

.bb-btn[data-magnetic] [data-bb-icon="arrow"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.bb-btn[data-magnetic]:hover [data-bb-icon="arrow"] {
  transform: translateX(4px);
}

/* Metrics docked at bottom of Hero viewport */
.bb-hero__metrics {
  width: 100%;
  margin-top: auto;
  padding-top: 0.8rem;
  position: relative;
  z-index: 2;
}

/* ---- ALL CTA BUTTONS: LUXURY METALLIC FINISH & LIGHT BEAMS ---- */
.bb-btn {
  position: relative;
  overflow: hidden;
}

.bb-btn--file {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F2C94C 0%, #E5A93C 50%, #B57F22 100%) !important;
  color: #0B0B0A !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 4px 16px rgba(229, 169, 60, 0.28);
  transition: transform 0.18s var(--bb-ease), box-shadow 0.18s var(--bb-ease), background 0.18s var(--bb-ease);
}
.bb-btn--file:hover {
  background: linear-gradient(135deg, #FFDF70 0%, #F2C94C 50%, #C89228 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(0, 0, 0, 0.2), 0 6px 24px rgba(242, 201, 76, 0.45);
  transform: translateY(-2px);
}
.bb-btn--file::after {
  content: "";
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -140%;
  width: 55%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0.6) 48%,
    rgba(255, 255, 255, 0.95) 52%,
    rgba(255, 255, 255, 0.6) 56%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: bb-gold-beam 8s cubic-bezier(0.25, 1, 0.4, 1) 0.8s infinite;
}
.bb-btn--file:hover::after,
.bb-btn--file.is-beaming::after {
  animation: bb-hero-beam-hover 2.0s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

.bb-btn--ink {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--bb-ivory);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s var(--bb-ease), box-shadow 0.18s var(--bb-ease), background 0.18s var(--bb-ease), border-color 0.18s var(--bb-ease);
}
.bb-btn--ink:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}
.bb-btn--ink::after {
  content: "";
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -140%;
  width: 55%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.45) 48%,
    rgba(255, 255, 255, 0.85) 52%,
    rgba(255, 255, 255, 0.45) 56%,
    rgba(255, 255, 255, 0.1) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  animation: bb-gold-beam 8s cubic-bezier(0.25, 1, 0.4, 1) 3.5s infinite;
}
.bb-btn--ink:hover::after,
.bb-btn--ink.is-beaming::after {
  animation: bb-hero-beam-hover 2.0s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

@keyframes bb-hero-beam-first {
  0% {
    left: -140%;
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: 230%;
    opacity: 0;
  }
}

@keyframes bb-hero-beam-second {
  0% {
    left: -140%;
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: 230%;
    opacity: 0;
  }
}

@keyframes bb-hero-beam-hover {
  0% {
    left: -140%;
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    left: 230%;
    opacity: 0;
  }
}

.bb-hero__note { margin-top: 1.6rem; }

/* hero stats strip */
.bb-stats { border-top: 0; }
.bb-stats__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.bb-stat { padding: 1.5rem 0 1.6rem; border-left: var(--bb-rule); padding-left: 1.6rem; }
.bb-stat:first-child { border-left: 0; padding-left: 0; }
.bb-stat__val { font-family: var(--bb-font-disp); font-weight: 800; font-stretch: 110%; font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--bb-ivory); letter-spacing: -.02em; line-height: 1; }
.bb-stat__key { margin-top: .55rem; }

/* ---- the blackbook spread (hero visual, pure CSS) ---- */
.bb-spread { position: relative; min-height: 520px; width: 100%; }
.bb-sheet {
  position: absolute;
  background: var(--bb-graphite);
  border: var(--bb-rule);
  box-shadow: 0 24px 50px rgba(0,0,0,.45);
}
.bb-sheet--back  { width: 90%; height: 86%; right: 0;  top: 7%;  transform: rotate(2.4deg); background: #12110F; }
.bb-sheet--mid   { width: 94%; height: 90%; left: 0;  top: 4%;  transform: rotate(-1.6deg); }
.bb-sheet--front {
  width: 98%; height: 98%; right: 1%; top: 1%;
  transform: rotate(0.8deg);
  padding: 1.9rem 1.7rem 1.4rem 3.2rem;
  display: flex; flex-direction: column; gap: 0;
}
.bb-sheet--front, .bb-sheet--mid { background-image: repeating-linear-gradient(to bottom, transparent 0 27px, rgba(232,226,214,.05) 27px 28px); }
.bb-sheet__tabpos { position: absolute; top: -13px; left: 26px; }
.bb-sheet__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }
.bb-sheet__name { font-family: var(--bb-font-disp); font-weight: 800; font-stretch: 112%; font-size: 1.55rem; color: var(--bb-ivory); letter-spacing: -.01em; margin-top: .5rem; position: relative; display: inline-block; }
.bb-sheet__role { margin-top: .35rem; }
.bb-sheet__rows { margin-top: 1.2rem; display: grid; gap: .55rem; }
.bb-sheet__row { display: grid; grid-template-columns: 92px 1fr; gap: .8rem; align-items: baseline; }
.bb-sheet__row > :first-child { font-family: var(--bb-font-mono); font-size: .58rem; font-weight: 600; letter-spacing: .16em; color: var(--bb-archive); text-transform: uppercase; }
.bb-sheet__row > :last-child { font-family: var(--bb-font-mono); font-size: .72rem; letter-spacing: .06em; color: var(--bb-bone); text-transform: uppercase; }
.bb-sheet__row .bb-ox { color: var(--bb-oxide-hi); }
.bb-sheet__note { position: absolute; right: -8px; bottom: 84px; max-width: 180px; text-align: left; transform: rotate(-1.5deg); }
.bb-sheet__stamp { position: absolute; right: 20px; top: 66px; transform: rotate(6deg); }
.bb-sheet__foot { margin-top: auto; padding-top: 1.2rem; display: flex; justify-content: space-between; align-items: center; border-top: var(--bb-rule); }
@media (max-width: 980px) {
  .bb-hero {
    min-height: auto;
    padding-top: calc(70px + 2.5rem);
    padding-bottom: 3.5rem;
  }
  .bb-hero__container {
    display: block;
  }
  .bb-hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .bb-hero__metrics {
    margin-top: 2.5rem;
  }
  .bb-spread { min-height: 440px; max-width: 520px; }
  .bb-deployments { max-width: 520px; width: 100%; margin-top: 1rem; }
}

/* ---- Accent Theme Toggle (Oxide Orange vs Gold) ---- */
.bb-accent-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .75rem;
  background: rgba(232, 226, 214, 0.04);
  border: 1px solid rgba(232, 226, 214, 0.14);
  border-radius: 20px;
  color: var(--bb-ivory);
  font-family: var(--bb-font-mono);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .12em;
  cursor: pointer;
  transition: all .25s var(--bb-ease);
  margin-right: .4rem;
}
.bb-accent-toggle:hover {
  border-color: var(--bb-oxide);
  background: rgba(232, 226, 214, 0.08);
}
.bb-accent-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--bb-oxide-hi);
  box-shadow: 0 0 6px var(--bb-oxide);
  transition: background .25s, box-shadow .25s;
}

/* ---- Verified Operator Deployments Deck (Glass + Passing Gold Sheen) ---- */
.bb-deck {
  position: relative;
  width: 100%;
  max-width: 520px;
  border: 1px solid rgba(232, 226, 214, 0.12);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(232, 226, 214, 0.045), rgba(232, 226, 214, 0.01) 55%);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  padding: 1.25rem 1.35rem 1.1rem;
  overflow: hidden;
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (min-width: 981px) {
  .bb-deck {
    transform: scale(1.12);
    transform-origin: center right;
  }
}

/* Passing golden sheen line — ultra-diffused, slow whisper of light */
.bb-deck::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: inherit;
  background: linear-gradient(115deg,
    transparent 10%,
    rgba(229, 169, 60, 0.012) 30%,
    rgba(242, 201, 76, 0.07) 50%,
    rgba(229, 169, 60, 0.012) 70%,
    transparent 90%
  );
  filter: blur(10px);
  transform: translateX(-140%);
  animation: bbGoldSheen 15s cubic-bezier(0.22, 1, 0.36, 1) infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes bbGoldSheen {
  0%, 35% { transform: translateX(-140%); }
  78%, 100% { transform: translateX(140%); }
}

.bb-deck__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--bb-font-mono, "IBM Plex Mono", monospace);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--bb-dust, #9A9388);
  text-transform: uppercase;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(232, 226, 214, 0.08);
}

.bb-deck__pulse {
  display: inline-flex;
  align-items: center;
  color: #84cc16;
  font-family: var(--bb-font-mono, "IBM Plex Mono", monospace);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-shadow: 0 0 10px rgba(132, 204, 22, 0.35);
}

/* Compact stage with balanced downward cascade */
.bb-deck__stage {
  position: relative;
  height: 255px;
  margin-top: 0.95rem;
}

.bb-deploy {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.85rem 1.15rem;
  background: rgba(16, 15, 13, 0.72);
  border: 1px solid rgba(232, 226, 214, 0.1);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
  box-sizing: border-box;
  will-change: transform, opacity;
  transform-origin: center top;
}

/* Logos floating cleanly without square box containers */
.bb-deploy__icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0;
  transition: transform 0.3s ease;
}
.bb-deploy:hover .bb-deploy__icon {
  transform: scale(1.08);
}
.bb-deploy__icon svg {
  width: 36px;
  height: 36px;
  display: block;
}

.bb-deploy__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bb-deploy__title {
  font-family: var(--bb-font-serif, "Newsreader", Georgia, serif);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--bb-ivory, #F4EEE4);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.bb-deploy__sub {
  font-family: var(--bb-font-body, "Archivo", sans-serif);
  font-size: 0.78rem;
  color: var(--bb-dust, #9A9388);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Status Typography: Audited in Yellow, Matched in Green, No Dots */
.bb-deploy__status {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  text-align: right;
}

.bb-deploy__state {
  font-family: var(--bb-font-mono, "IBM Plex Mono", monospace);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

.bb-deploy__state--audited {
  color: #F2C94C !important;
  text-shadow: 0 0 10px rgba(242, 201, 76, 0.4);
}

.bb-deploy__state--matched {
  color: #84cc16 !important;
  text-shadow: 0 0 10px rgba(132, 204, 22, 0.4);
}

.bb-deploy__rec {
  font-family: var(--bb-font-mono, "IBM Plex Mono", monospace);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--bb-dust, #9A9388);
  opacity: 0.85;
  line-height: 1;
}

.bb-deck__foot {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.85rem;
  font-family: var(--bb-font-mono, "IBM Plex Mono", monospace);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--bb-dust, #9A9388);
}

.bb-deck__bar {
  flex: 1;
  height: 1px;
  background: rgba(232, 226, 214, 0.1);
  overflow: hidden;
  border-radius: 1px;
}

.bb-deck__bar span {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #B57F22, #E5A93C, #F2C94C);
  box-shadow: 0 0 8px rgba(242, 201, 76, 0.6);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================== TRUST STRIP (GRID NOTEBOOK) =========================== */
.bb-trust-strip {
  padding: 1rem 0;
  background: transparent;
  border: none;
}

.bb-trust-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 1rem;
  background: transparent;
  border: none;
}

.bb-trust-grid::before {
  display: none;
}

.bb-trust-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.2rem;
  position: relative;
  z-index: 1;
}

.bb-trust-grid__val {
  font-family: 'IvyPresto Display', 'IvyPresto', var(--bb-font-serif);
  font-size: clamp(2.35rem, 4.2vw, 3.2rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  background: none !important;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 24px rgba(255, 255, 255, 0.18);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bb-trust-grid__lbl {
  font-family: 'IvyPresto Display', 'IvyPresto', var(--bb-font-serif);
  font-size: clamp(0.64rem, 0.9vw, 0.75rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #97907F !important;
  -webkit-text-fill-color: #97907F !important;
  background: none !important;
  margin-top: 0.15rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bb-trust-grid__divider {
  display: none;
}

@media (max-width: 768px) {
  .bb-trust-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 1.5rem 1rem;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .bb-trust-grid__divider {
    display: none;
  }
}

/* =========================== PROBLEM CARDS =========================== */
.bb-prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.8rem;
}
.bb-prob-card {
  background: var(--bb-graphite);
  border: var(--bb-rule);
  border-radius: 8px;
  padding: 2.2rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.25s var(--bb-ease), transform 0.25s var(--bb-ease), box-shadow 0.25s var(--bb-ease);
}
.bb-prob-card:hover {
  border-color: rgba(232, 226, 214, 0.25);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}
.bb-prob-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: rgba(198, 90, 46, 0.12);
  border: 1px solid rgba(198, 90, 46, 0.3);
  display: grid;
  place-items: center;
  color: var(--bb-oxide-hi);
  margin-bottom: 1.4rem;
}
.bb-prob-card__icon [data-bb-icon] {
  width: 22px;
  height: 22px;
}
.bb-prob-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}
.bb-prob-card p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--bb-ink-dim);
}

/* =========================== TESTIMONIALS =========================== */
.bb-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.8rem;
}
/* Testimonials 1-Row Carousel Slider */
.bb-testimonial-carousel {
  position: relative;
  width: 100%;
}
.bb-testimonial-track {
  display: flex;
  gap: 1.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.4rem 0.2rem 1.2rem 0.2rem;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
}
.bb-testimonial-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}
.bb-testimonial-track::-webkit-scrollbar {
  display: none;
}
.bb-testimonial-track .bb-quote-card {
  flex: 0 0 clamp(300px, 32vw, 420px);
  min-width: 300px;
  scroll-snap-align: start;
}
/* Testimonials Header with Centered Copy and Left-Aligned Arrows */
.bb-testimonials-head {
  position: relative;
  text-align: center;
}
.bb-testimonials-head__text {
  text-align: center;
}
.bb-testimonials-head__text h2 {
  margin: 0 auto;
  text-align: center;
}
.bb-testimonials-head__text .bb-sec-head__sub {
  margin: 0.9rem auto 0;
  text-align: center;
}
@media (min-width: 900px) {
  .bb-testimonials-head .bb-carousel-arrows {
    position: absolute;
    left: 0;
    bottom: 0;
  }
}
@media (max-width: 899px) {
  .bb-testimonials-head .bb-carousel-arrows {
    margin-top: 1.6rem;
    justify-content: flex-start;
  }
}
.bb-carousel-arrows {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.bb-carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(229, 169, 60, 0.35);
  background: rgba(232, 226, 214, 0.04);
  color: var(--bb-oxide-hi);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--bb-ease);
}
.bb-carousel-arrow:hover {
  background: rgba(229, 169, 60, 0.16);
  border-color: var(--bb-oxide-hi);
  color: #FFFFFF;
  transform: scale(1.05);
}
.bb-quote-card {
  background: #111215;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--bb-ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.bb-quote-card:hover {
  background: #141519;
  border-color: rgba(212, 168, 67, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65);
}
.bb-qcard-banner {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #000;
}
.bb-qcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s ease;
}
.bb-quote-card:hover .bb-qcard-img {
  transform: scale(1.03);
}
.bb-qcard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02) 0%, rgba(17,18,21,0.65) 60%, #111215 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.4rem;
}
.bb-qcard-tag {
  font-family: var(--bb-font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bb-oxide);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.bb-qcard-tag--anon {
  color: #A78BFA !important;
}
.bb-qcard-img--silhouette-1 {
  filter: grayscale(1) brightness(0.24) contrast(1.7) !important;
}
.bb-qcard-img--silhouette-2 {
  filter: sepia(0.25) hue-rotate(190deg) brightness(0.22) contrast(1.6) !important;
}
.bb-qcard-name {
  font-family: 'IvyPresto Display', serif;
  font-size: 1.65rem;
  font-weight: 300;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.bb-qcard-spec {
  font-size: 0.78rem;
  color: #F2C94C;
  line-height: 1.35;
}
.bb-qcard-body {
  padding: 1.3rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  flex: 1;
  justify-content: space-between;
}
.bb-qcard-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
}
.bb-qcard-stat-lbl {
  font-family: var(--bb-font-mono);
  font-size: 0.58rem;
  color: #6B6760;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.bb-qcard-stat-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 0.15rem;
}
.bb-qcard-quote {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #DDD8CE;
  margin: 0;
}
.bb-qcard-client {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: #8A8680;
}
.bb-qcard-client-brand {
  color: #FFFFFF;
  font-weight: 600;
}

/* =========================== FAQ =========================== */
.bb-faq { border-top: 0; max-width: 860px; margin: 3.2rem auto 0; }
.bb-faq__item {
  border-bottom: var(--bb-rule);
  padding: 0 1.2rem;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: background 0.25s var(--bb-ease), border-color 0.25s var(--bb-ease);
}
.bb-faq__item:last-child { border-bottom: 0; }
.bb-faq__item:hover {
  background: rgba(232, 226, 214, 0.03);
}
.bb-faq__item:has(.bb-faq__btn[aria-expanded="true"]) {
  background: rgba(232, 226, 214, 0.045);
  border-left: 2px solid var(--bb-oxide);
}
.bb-faq__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; text-align: left; cursor: pointer; }
.bb-faq__q { font-family: var(--bb-font-disp); font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; color: #eee8dd; transition: color .2s, transform .25s var(--bb-ease); }
.bb-faq__btn:hover .bb-faq__q { color: var(--bb-ivory); transform: translateX(4px); }
.bb-faq__btn [data-bb-icon] { width: 18px; height: 18px; color: var(--bb-oxide); transition: transform .3s var(--bb-ease); flex: none; }
.bb-faq__btn[aria-expanded="true"] [data-bb-icon] { transform: rotate(45deg); }
.bb-faq__panel-in { padding-bottom: 1.5rem; max-width: 65ch; color: #c8c2b5; font-size: 1.08rem; line-height: 1.65; }
.bb-faq__panel-in p { font-size: 1.08rem; line-height: 1.65; margin: 0 0 0.8rem 0; }
.bb-faq__panel-in ul { font-size: 1.08rem; line-height: 1.65; margin: 0.5rem 0; padding-left: 1.2rem; }
.bb-faq__panel-in li { font-size: 1.08rem; line-height: 1.65; margin: 0.4rem 0; }
.bb-faq__panel-in b { color: #eee8dd; font-weight: 700; font-size: 1.08rem; }

/* =========================== MARKETPLACE & DUAL ENTRY =========================== */
#marketplace {
  background-color: #0A0A09 !important;
  position: relative;
  z-index: 4;
}

#marketplace .bb-container {
  position: relative;
  z-index: 3;
}

#marketplace .bb-sec-head {
  text-align: center;
}

#marketplace .bb-sec-head__sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #d6d1c7;
  max-width: 62ch;
  margin: 1.2rem auto 0;
  text-align: center;
}

.bb-dual { display: grid; grid-template-columns: 1fr 1fr; position: relative; }
.bb-dual::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: 1px; background: var(--bb-ash); }
.bb-side { padding: clamp(2.2rem, 4vw, 3.6rem) clamp(1.8rem, 3.4vw, 3.2rem); position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.bb-side--demand { background: var(--bb-graphite); }
.bb-side--supply { background: var(--bb-paper); }
.bb-side__tab { position: absolute; top: 0; }
.bb-side--demand .bb-side__tab { left: clamp(1.8rem, 3.4vw, 3.2rem); }
.bb-side--supply .bb-side__tab { right: clamp(1.8rem, 3.4vw, 3.2rem); }
.bb-sec-head h2,
.bb-filegrid__aside h2 {
  font-family: 'IvyPresto Display', 'IvyPresto', var(--bb-font-serif);
  font-weight: 300;
  font-size: clamp(2.3rem, 4.2vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.bb-sec-head h2 {
  text-align: center;
  margin: 0 auto;
}

.bb-hi, .bb-sec-head h2 .bb-hi {
  font-family: 'IvyPresto Display', 'IvyPresto', var(--bb-font-serif);
  font-weight: 300;
  background: linear-gradient(180deg, #FFF8DC 0%, #F5CF65 35%, #D49E2D 75%, #A17316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[data-accent="purple"] .bb-hi,
html[data-accent="purple"] .bb-hi,
body[data-accent="purple"] .bb-hi,
[data-accent="purple"] .bb-sec-head h2 .bb-hi {
  background: linear-gradient(180deg, #F5EBFF 0%, #D488FF 35%, #B967FF 75%, #7B2CBF 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

[data-accent="purple"] .bb-trust-grid__val {
  background: linear-gradient(180deg, #F5EBFF 0%, #D488FF 35%, #B967FF 75%, #7B2CBF 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

[data-accent="purple"] .bb-trust-grid__lbl {
  background: linear-gradient(180deg, #EAD6FF 0%, #A855F7 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
}

/* Purple Accent Buttons (Media Buyers Page - All File CTAs) */
[data-accent="purple"] .bb-btn--file,
[data-accent="neon"] .bb-btn--file,
[data-accent="purple"] .bb-nav__cta .bb-btn,
[data-accent="neon"] .bb-nav__cta .bb-btn {
  background: linear-gradient(135deg, #E9D5FF 0%, #C084FC 45%, #9333EA 85%, #7E22CE 100%) !important;
  color: #0B0B0A !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), inset 0 -1px 0 rgba(0, 0, 0, 0.3), 0 4px 18px rgba(168, 85, 247, 0.42);
}

[data-accent="purple"] .bb-btn--file:hover,
[data-accent="neon"] .bb-btn--file:hover,
[data-accent="purple"] .bb-nav__cta .bb-btn:hover,
[data-accent="neon"] .bb-nav__cta .bb-btn:hover {
  background: linear-gradient(135deg, #F3E8FF 0%, #D8B4FE 45%, #A855F7 80%, #7E22CE 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 6px 26px rgba(168, 85, 247, 0.6);
  transform: translateY(-2px);
}

[data-accent="purple"] .bb-wordmark__mark,
[data-accent="neon"] .bb-wordmark__mark {
  background: url('../img/blackbook-mark.png') no-repeat center / contain !important;
}

[data-accent="purple"] .bb-nav__link[href*="index"]:hover {
  color: #F2C94C !important;
}
[data-accent="purple"] .bb-nav__link[href*="mediabuyers"]:hover {
  color: #D8B4FE !important;
}

/* Purple Carousel Arrows & Card Subtitle (Media Buyers Page) */
[data-accent="purple"] .bb-carousel-arrow,
[data-accent="neon"] .bb-carousel-arrow {
  border: 1px solid rgba(185, 103, 255, 0.45) !important;
  background: transparent !important;
  color: #D8B4FE !important;
}
[data-accent="purple"] .bb-carousel-arrow:hover,
[data-accent="neon"] .bb-carousel-arrow:hover {
  background: transparent !important;
  border-color: #D8B4FE !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 16px rgba(185, 103, 255, 0.45) !important;
  transform: scale(1.05);
}

[data-accent="purple"] .bb-qcard-spec,
[data-accent="neon"] .bb-qcard-spec {
  color: #D8B4FE !important;
}

.bb-side h3 {
  font-family: 'IvyPresto Display', 'IvyPresto', var(--bb-font-serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.25;
  margin: 1.4rem 0 4rem;
  color: #FFFFFF;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.bb-side__lead { margin: .5rem 0 1.5rem; font-size: 1.08rem; color: #c4bfb2; line-height: 1.55; }
.bb-side__list { list-style: none; margin: 0 0 1.8rem; padding: 0; display: grid; gap: 1.4rem; }
.bb-side__list li { display: grid; grid-template-columns: 65px 1fr; gap: 0.75rem; align-items: flex-start; color: #c8c2b5; font-size: 1.08rem; line-height: 1.65; }
.bb-side__list li b { color: #eee8dd; font-weight: 700; font-size: 1.08rem; }
.bb-side__list [data-bb-icon] { width: 28px; height: 28px; color: #ff6b35; margin-top: 4px; }
.bb-bullet-icon-wrap { width: 65px; height: 65px; display: flex; align-items: center; justify-content: center; flex: none; margin-top: -2px; margin-left: -4px; }
.bb-bullet-icon-img { width: 65px; height: 65px; object-fit: contain; filter: drop-shadow(0 4px 14px rgba(255, 107, 53, 0.45)); }
.bb-side__ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: auto; }
.bb-side__meta { margin-top: 1.4rem; }

/* Stylish grayish background for "How We Verify Buyers" button */
#marketplace .bb-btn--ink {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: none;
  color: var(--bb-ivory);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
#marketplace .bb-btn--ink:hover {
  background: rgba(255, 255, 255, 0.17);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateX(2px);
}

@media (max-width: 880px) {
  .bb-dual { grid-template-columns: 1fr; }
  .bb-dual::before { display: none; }
  .bb-side--supply { border-top: var(--bb-rule); }
}

/* =========================== LEDGER (verticals) =========================== */
.bb-ledger { border-top: 0; display: block; }
.bb-ledger__row {
  display: grid;
  grid-template-columns: 48px minmax(0, 5fr) minmax(0, 7fr) 48px;
  gap: clamp(1rem, 2vw, 2.2rem);
  align-items: center;
  padding: 2.3rem 1.6rem;
  border-bottom: var(--bb-rule);
  cursor: pointer;
  transition: background .2s var(--bb-ease);
  position: relative;
}
.bb-ledger__row:last-child { border-bottom: 0; }
.bb-ledger__row:hover { background: rgba(232, 226, 214, 0.025); }
.bb-ledger__icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  flex: none;
  margin-left: 0.6rem;
  transition: color .25s, transform .25s var(--bb-ease);
}
.bb-ledger__icon svg {
  width: 26px; height: 26px;
}
.bb-ledger__row:hover .bb-ledger__icon {
  transform: scale(1.15);
}
.bb-ledger__name { font-family: var(--bb-font-disp); font-weight: 800; font-stretch: 108%; font-size: clamp(1.35rem, 2.6vw, 2rem); color: var(--bb-ivory); letter-spacing: -.015em; line-height: 1.1; }
.bb-ledger__name small { display: block; font-family: var(--bb-font-mono); font-weight: 500; font-size: 0.68rem; letter-spacing: .16em; line-height: 1.6; color: var(--bb-archive); margin-top: .45rem; text-transform: uppercase; }
.bb-ledger__spec { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.bb-ledger__spec .bb-mnote { font-size: 0.95rem; font-weight: 500; color: #ded9cd; font-family: var(--bb-font-body); letter-spacing: .01em; }
.bb-ledger__tags { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.bb-ledger__go { color: var(--bb-dust); transition: color .2s, transform .25s var(--bb-ease); justify-self: end; margin-right: 1.5rem; }
.bb-ledger__row:hover .bb-ledger__go { color: var(--bb-oxide); transform: translateX(6px); }
.bb-ledger__row .bb-stamp { position: absolute; right: 64px; opacity: 0; transform: rotate(-4deg) translateY(4px); transition: opacity .25s, transform .25s; pointer-events: none; }
.bb-ledger__row:hover .bb-stamp { opacity: 1; transform: rotate(-4deg) translateY(0); }
@media (max-width: 880px) {
  .bb-ledger__row { grid-template-columns: 48px 1fr 32px; padding: 1.2rem 1rem; }
  .bb-ledger__spec { grid-column: 2 / 3; grid-row: 2; }
  .bb-ledger__row .bb-stamp { display: none; }
}

/* --- Verticals Integrated CTA --- */
.bb-verticals-cta {
  margin-top: clamp(2.5rem, 4vw, 3.8rem);
  padding-top: clamp(2rem, 3.5vw, 2.8rem);
  border-top: 1px solid rgba(232, 226, 214, 0.08);
  text-align: center;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.bb-verticals-cta__title {
  font-family: 'IvyPresto Display', 'IvyPresto', var(--bb-font-serif);
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--bb-ivory);
  margin-bottom: 1.4rem;
}
.bb-verticals-cta__title .bb-hi {
  font-family: 'IvyPresto Display', 'IvyPresto', var(--bb-font-serif);
  font-style: italic;
  font-weight: 300;
}
.bb-verticals-cta__action {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================== PROCESS (how it works) =========================== */
#process .bb-sec-head {
  margin-bottom: 0;
}
#process .bb-sec-head__sub {
  margin-bottom: 8rem;
}
.bb-process {
  position: relative;
  margin-top: 0;
}
.bb-process__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding-top: 0;
}
.bb-process__track::before {
  content: "";
  position: absolute;
  top: 42px; left: 0; right: 0;
  height: 1px;
  background: rgba(232, 226, 214, 0.16);
  z-index: 1;
}
.bb-process__beam {
  position: absolute;
  top: 41px;
  left: 0;
  width: 140px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--bb-oxide-dim) 20%, var(--bb-oxide) 50%, var(--bb-oxide-hi) 75%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  will-change: transform, opacity;
}
.bb-step {
  position: relative;
  background: transparent;
  border: 0; padding: 0;
}
.bb-step:hover h3 { color: var(--bb-oxide-hi); }
.bb-step__when {
  font-family: var(--bb-font-mono);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--bb-oxide);
  margin-bottom: .6rem; display: block;
}
.bb-step__badge {
  position: relative;
  top: 0; left: 0;
  width: 32px; height: 32px;
  border-radius: 6px;
  background: #141517;
  border: 1px solid rgba(232, 226, 214, 0.2);
  display: grid; place-items: center;
  font-family: var(--bb-font-mono);
  font-size: .72rem; font-weight: 700;
  color: var(--bb-dust);
  z-index: 10;
  margin-bottom: 1.2rem;
  transition: color 0.8s cubic-bezier(0.22, 0.61, 0.21, 1), 
              background-color 0.8s cubic-bezier(0.22, 0.61, 0.21, 1), 
              border-color 0.8s cubic-bezier(0.22, 0.61, 0.21, 1), 
              box-shadow 0.8s cubic-bezier(0.22, 0.61, 0.21, 1);
}
.bb-step.is-step-active .bb-step__badge {
  color: #0B0B0A;
  background: var(--bb-oxide);
  border-color: var(--bb-oxide);
  box-shadow: 0 0 16px var(--bb-oxide-dim);
  transition: color 0.4s ease, background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.bb-step:not(.is-step-active) .bb-step__badge {
  color: var(--bb-dust);
  background: #141517;
  border-color: rgba(232, 226, 214, 0.2);
  box-shadow: none;
  transition: color 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
              background-color 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 1.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bb-step h3 { margin: .4rem 0 .5rem; font-size: 1.25rem; color: #eee8dd; transition: color .3s; }
.bb-step.is-step-active h3 { color: var(--bb-oxide-hi); }
.bb-step p { font-size: 1.05rem; margin: 0; color: #c8c2b5; line-height: 1.65; }
.bb-step p b { color: #eee8dd; font-weight: 700; }
@media (max-width: 880px) {
  .bb-process__track { grid-template-columns: 1fr; gap: 2.2rem; padding-top: 0; padding-left: 2rem; }
  .bb-process__track::before { top: 0; bottom: 0; left: 10px; right: auto; width: 1px; height: 100%; }
  .bb-process__beam { display: none; }
  .bb-step__badge { top: 0; left: -2rem; }
}

/* =========================== DOSSIER (verification) =========================== */
#verification {
  position: relative;
  background-color: #0F0F0E;
  background-image: 
    linear-gradient(to bottom, rgba(15, 15, 14, 0.85), rgba(15, 15, 14, 0.85)),
    url('../img/dark-paper-8k.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.bb-dossier { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.4rem, 5vw, 4.5rem); align-items: start; }
.bb-dossier__card {
  position: sticky; top: 120px;
  background-color: #0d0e10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2.1rem 1.9rem 1.6rem 3.4rem;
  box-shadow: 0 24px 50px rgba(0,0,0,.65);
  background-image:
    radial-gradient(circle 4.5px at 15px 42px, var(--bb-paper) 96%, var(--bb-ash) 100%),
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-repeat: repeat-y, repeat, repeat;
  background-size: 30px 84px, 24px 24px, 24px 24px;
}
.bb-dossier__stamp { position: absolute; top: 18px; right: 18px; transform: rotate(7deg); }

.bb-dossier__check {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1.8rem;
  padding: 1.3rem 1.4rem;
  border-radius: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  align-items: center;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.bb-dossier__check:hover {
  background: rgba(255, 255, 255, 0.035);
  border-bottom-color: rgba(212, 168, 67, 0.35);
  transform: translateX(6px);
}
.bb-dossier__check:hover .bb-dossier__icon {
  transform: scale(1.08) rotate(1.5deg);
  filter: drop-shadow(0 10px 22px rgba(212, 168, 67, 0.3));
}
.bb-dossier__check:last-child {
  border-bottom: 0;
}
.bb-dossier__icon-wrap {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  flex: none;
  background: transparent;
}
.bb-dossier__icon {
  max-width: 82px;
  max-height: 82px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.55));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}
.bb-dossier__check h3 {
  font-family: var(--bb-font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: #eee8dd;
  margin: 0 0 0.4rem 0;
  transition: color 0.2s ease;
}
.bb-dossier__check:hover h3 {
  color: #F2C94C;
}
.bb-dossier__check p {
  font-family: var(--bb-font-body);
  font-size: 1.05rem;
  color: #c8c2b5;
  margin: 0;
  line-height: 1.65;
}

/* Purple Accent Dossier Checks (Media Buyers Page) */
[data-accent="purple"] .bb-dossier__check:hover,
[data-accent="neon"] .bb-dossier__check:hover {
  background: rgba(185, 103, 255, 0.045);
  border-color: rgba(185, 103, 255, 0.35);
  border-bottom-color: rgba(185, 103, 255, 0.45);
  box-shadow: 0 4px 20px rgba(185, 103, 255, 0.12);
}

[data-accent="purple"] .bb-dossier__check:hover h3,
[data-accent="neon"] .bb-dossier__check:hover h3 {
  color: #D8B4FE !important;
}

[data-accent="purple"] .bb-dossier__check:hover [data-bb-icon],
[data-accent="neon"] .bb-dossier__check:hover [data-bb-icon] {
  color: #D8B4FE !important;
  filter: drop-shadow(0 0 10px rgba(185, 103, 255, 0.6)) !important;
}

[data-accent="purple"] .bb-dossier__check:hover .bb-dossier__icon,
[data-accent="neon"] .bb-dossier__check:hover .bb-dossier__icon {
  filter: drop-shadow(0 10px 22px rgba(185, 103, 255, 0.45)) !important;
}

@media (max-width: 980px) {
  .bb-dossier { grid-template-columns: 1fr; }
  .bb-dossier__card { position: static; max-width: 480px; }
}

@media (max-width: 640px) {
  .bb-vgrid { grid-template-columns: 1fr; gap: 2rem; }
  .bb-dossier__check {
    grid-template-columns: 56px 1fr !important;
    gap: 1.15rem !important;
    padding: 1.1rem 0.6rem !important;
    align-items: flex-start !important;
  }
  .bb-dossier__check:hover {
    transform: none;
  }
  .bb-dossier__icon-wrap {
    width: 56px !important;
    height: 56px !important;
  }
  .bb-dossier__icon {
    max-width: 52px !important;
    max-height: 52px !important;
    width: 100% !important;
    height: auto !important;
  }
  .bb-dossier__check h3 {
    font-size: 1.15rem !important;
    margin-bottom: 0.3rem !important;
  }
  .bb-dossier__check p {
    font-size: 0.94rem !important;
    line-height: 1.55 !important;
  }
}

/* ---- Tactical Paper Grain Overlay for Lower Sections ---- */
#verification,
#records,
#compare,
#proof,
#access,
.bb-section--graphite,
.bb-section--ink {
  background-color: #0F0F0E;
}

#verification, #records, #compare, #process, #proof, #access, .bb-section--graphite, .bb-section--charcoal, .bb-section--ink {
  position: relative;
}
#verification::before, #records::before, #compare::before, #process::before, #proof::before, #access::before, .bb-section--graphite::before, .bb-section--charcoal::before, .bb-section--ink::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.85'/></svg>");
}
#verification > .bb-container, #records > .bb-container, #compare > .bb-container, #process > .bb-container, #proof > .bb-container, #access > .bb-container {
  position: relative;
  z-index: 2;
}

/* =========================== COMPARISONS =========================== */
.bb-vs { border-top: 0; }
.bb-vs__item {
  border-bottom: var(--bb-rule);
  padding: 0 1.2rem;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: background 0.25s var(--bb-ease), border-color 0.25s var(--bb-ease);
}
.bb-vs__item:last-child { border-bottom: 0; }
.bb-vs__item:hover {
  background: rgba(232, 226, 214, 0.03);
}
.bb-vs__item[data-open="true"],
.bb-vs__item:has(.bb-vs__btn[aria-expanded="true"]) {
  background: rgba(232, 226, 214, 0.045);
  border-left: 2px solid var(--bb-oxide);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.bb-vs__btn {
  width: 100%; display: grid;
  grid-template-columns: 1fr 28px;
  gap: 1.4rem; align-items: center;
  padding: 1.5rem 0; text-align: left;
  cursor: pointer;
}
.bb-vs__idx { font-family: var(--bb-font-mono); font-size: .66rem; font-weight: 600; letter-spacing: .16em; color: var(--bb-archive); text-transform: uppercase; }
.bb-vs__q { font-family: var(--bb-font-disp); font-weight: 700; font-stretch: 104%; font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: #eee8dd; letter-spacing: -.01em; transition: color .2s, transform .25s var(--bb-ease); }
.bb-vs__btn:hover .bb-vs__q { color: var(--bb-ivory); transform: translateX(4px); }
.bb-vs__btn[aria-expanded="true"] .bb-vs__q { color: #ffffff; font-weight: 800; transform: translateX(4px); }
.bb-vs__chev { color: var(--bb-dust); transition: transform .3s var(--bb-ease), color .2s; justify-self: end; }
.bb-vs__btn:hover .bb-vs__chev { color: var(--bb-oxide); }
.bb-vs__btn[aria-expanded="true"] .bb-vs__chev { transform: rotate(90deg); color: var(--bb-oxide); }
.bb-vs__panel { max-height: 0; overflow: hidden; transition: max-height .45s var(--bb-ease); }
.bb-vs__panel-in { padding: 0.2rem 0.4rem 1.8rem 0.4rem; display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.bb-vs__panel-in > div { grid-column: 1; }
.bb-vs__panel p { font-size: 1.08rem; line-height: 1.65; color: #c8c2b5; }
.bb-vs__panel b { color: #f5f0e6; font-weight: 700; }
.bb-vs__panel ul { margin: .5rem 0; padding-left: 1.1rem; color: #c8c2b5; font-size: 1.08rem; line-height: 1.65; }
.bb-vs__panel li { margin: .35rem 0; font-size: 1.08rem; line-height: 1.65; }
.bb-vs__panel li::marker { color: var(--bb-oxide); }
.bb-vs__verdict { color: #ffffff !important; font-family: var(--bb-font-serif); font-style: italic; font-size: 1.08rem !important; line-height: 1.65; margin-top: 1rem; }
.bb-vs__verdict b { color: var(--bb-oxide-hi); font-style: normal; font-weight: 800; font-family: var(--bb-font-sans); margin-right: 0.35rem; }

[data-accent="gold"] .bb-bullet-icon-img {
  filter: drop-shadow(0 4px 14px rgba(229, 169, 60, 0.6)) sepia(0.85) hue-rotate(345deg) saturate(3);
}
@media (max-width: 720px) {
  .bb-vs__btn { grid-template-columns: 1fr 24px; }
  .bb-vs__idx { display: none; }
  .bb-vs__panel-in { grid-template-columns: 1fr; }
  .bb-vs__panel-in > div { grid-column: 1; }
}

/* =========================== RECORDS + MATCHLINE =========================== */
.bb-records { display: grid; grid-template-columns: minmax(0,1fr) 120px minmax(0,1fr); gap: 0; align-items: stretch; }
.bb-records__col { display: flex; flex-direction: column; gap: 1rem; }
.bb-records__colhead { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 0; padding-bottom: .7rem; margin-bottom: .3rem; }
.bb-rec {
  background: var(--bb-graphite);
  border: var(--bb-rule);
  border-radius: 8px;
  padding: 1.15rem 1.4rem;
  height: 136px;
  min-height: 136px;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 1rem;
  align-items: center;
  transition: transform .25s var(--bb-ease), border-color .2s, box-shadow .2s;
  position: relative;
}
.bb-rec--demand {
  grid-template-columns: 44px 1fr auto;
}
.bb-rec:hover { transform: translateY(-2px); border-color: var(--bb-rule-bone); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }

.bb-rec__init {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-family: var(--bb-font-disp); font-weight: 800; font-stretch: 110%;
  font-size: 1.05rem; color: var(--bb-oxide-hi);
  border: 1px solid rgba(198,90,46,.4);
  background: var(--bb-oxide-dim);
}
.bb-rec--demand .bb-rec__init { color: var(--bb-archive); border-color: rgba(110,124,134,.4); background: var(--bb-archive-dim); }
.bb-rec__avatar {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 6px;
  color: var(--bb-dust);
  border: 1px solid rgba(232,226,214,.18);
  background: rgba(255,255,255,.03);
  flex: none;
  transition: color .2s, border-color .2s, background-color .2s;
}
.bb-rec:hover .bb-rec__avatar {
  color: var(--bb-bone);
  border-color: var(--bb-oxide);
  background: rgba(198,90,46,.1);
}
.bb-rec__logo {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: rgba(232,226,214,.04);
  border: 1px solid rgba(232,226,214,.12);
  flex: none;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.bb-rec:hover .bb-rec__logo {
  border-color: rgba(232,226,214,.3);
  background: rgba(232,226,214,.08);
  transform: scale(1.04);
}
.bb-rec__name { font-family: var(--bb-font-disp); font-weight: 700; font-stretch: 106%; color: #eee8dd; font-size: 1.05rem; letter-spacing: 0; }
.bb-rec__meta { margin-top: .35rem; display: flex; flex-direction: column; gap: .22rem; }
.bb-rec__meta span { font-family: var(--bb-font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bb-dust); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bb-rec__meta span b { color: #eee8dd; font-weight: 500; }
.bb-rec__meta .bb-ox { color: var(--bb-oxide-hi); }
.bb-rec__side {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  align-self: center;
}
/* matchline column */
.bb-match { position: relative; }
.bb-match svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

/* Match lines sequential animation styling — Slower 1.8s drawing speed */
.bb-match-line {
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease, filter 0.5s ease;
  opacity: 0.35;
}
.bb-match-line-0 { stroke: #FF6B35 !important; }
.bb-match-line-1 { stroke: #E5A93C !important; }
.bb-match-line-2 { stroke: #00D2FF !important; }

.bb-match-line.is-drawing,
.bb-match-line.is-matched {
  stroke-dashoffset: 0;
  opacity: 1 !important;
}
.bb-match-line-0.is-drawing, .bb-match-line-0.is-matched { filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.8)); }
.bb-match-line-1.is-drawing, .bb-match-line-1.is-matched { filter: drop-shadow(0 0 5px rgba(229, 169, 60, 0.85)); }
.bb-match-line-2.is-drawing, .bb-match-line-2.is-matched { filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.8)); }

/* Card active match pulsing borders */
.bb-rec {
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.bb-rec.is-pulsing-orange {
  border-color: #FF6B35 !important;
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.45);
  animation: bb-card-blink-orange 0.8s ease-in-out 2;
}

.bb-rec.is-pulsing-amber {
  border-color: #E5A93C !important;
  box-shadow: 0 0 20px rgba(229, 169, 60, 0.45);
  animation: bb-card-blink-amber 0.8s ease-in-out 2;
}

.bb-rec.is-pulsing-cyan {
  border-color: #00D2FF !important;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.45);
  animation: bb-card-blink-cyan 0.8s ease-in-out 2;
}

.bb-stamp--match-orange {
  color: #FF6B35;
  border: 1px solid rgba(255, 107, 53, 0.45);
  background: rgba(255, 107, 53, 0.08);
}
.bb-stamp--dynamic {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.bb-stamp--dynamic.is-revealed {
  opacity: 0.65;
  transform: scale(1);
}

.bb-rec.is-matched-active {
  border-color: rgba(232, 226, 214, 0.22) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

@keyframes bb-card-blink-orange {
  0%, 100% { border-color: #FF6B35; box-shadow: 0 0 22px rgba(255, 107, 53, 0.6); }
  50% { border-color: rgba(255, 107, 53, 0.3); box-shadow: 0 0 4px rgba(255, 107, 53, 0.1); }
}

@keyframes bb-card-blink-amber {
  0%, 100% { border-color: #E5A93C; box-shadow: 0 0 22px rgba(229, 169, 60, 0.6); }
  50% { border-color: rgba(229, 169, 60, 0.3); box-shadow: 0 0 4px rgba(229, 169, 60, 0.1); }
}

@keyframes bb-card-blink-cyan {
  0%, 100% { border-color: #00D2FF; box-shadow: 0 0 22px rgba(0, 210, 255, 0.6); }
  50% { border-color: rgba(0, 210, 255, 0.3); box-shadow: 0 0 4px rgba(0, 210, 255, 0.1); }
}

.bb-match__badge {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  height: 24px;
  line-height: 24px;
  padding: 0 .85rem;
  background: #C65A2E;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  box-shadow: 0 0 20px rgba(198, 90, 46, 0.55);
  animation: bb-match-blink 3s ease-in-out infinite;
  z-index: 2;
}
@keyframes bb-match-blink {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 10px rgba(198, 90, 46, 0.8)); }
  50% { opacity: 0.4; filter: drop-shadow(0 0 2px rgba(198, 90, 46, 0.2)); }
}
.bb-match__badge i {
  font-style: normal;
  font-family: var(--bb-font-mono);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: #121315;
  line-height: 24px;
  display: inline-block;
  text-align: center;
}
.bb-records__note { margin-top: 1.8rem; }
@media (max-width: 920px) {
  .bb-records { grid-template-columns: 1fr; gap: 1.6rem; }
  .bb-match { min-height: 60px; }
  .bb-match svg { display: none; }
  .bb-match__badge { top: 50%; }
}

/* =========================== TERMS (pricing) =========================== */
.bb-terms { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 920px; margin: 0 auto; align-items: stretch; }
.bb-term {
  position: relative;
  background: var(--bb-graphite);
  border: var(--bb-rule);
  padding: 2.6rem 1.8rem 1.8rem;
  display: flex; flex-direction: column;
  transition: transform .25s var(--bb-ease), border-color .2s;
  border-radius: 8px;
}
.bb-term:hover { transform: translateY(-3px); }
.bb-term--filed { border-color: var(--bb-oxide); box-shadow: 0 18px 44px rgba(0,0,0,.35); }
.bb-term__tab { position: absolute; top: -13px; left: 1.8rem; }
.bb-term__name { font-family: var(--bb-font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bb-archive); }
.bb-term__amount {
  font-family: 'IvyPresto Display', 'IvyPresto', var(--bb-font-serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-top: 1.2rem;
  line-height: 1;
}
.bb-term__amount small {
  font-family: var(--bb-font-mono);
  font-size: 1rem;
  font-weight: 400;
  color: var(--bb-dust);
  letter-spacing: 0;
}
.bb-term__per {
  margin-top: 0.75rem;
  font-family: var(--bb-font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bb-dust);
  line-height: 1.5;
}
.bb-term__list {
  list-style: none;
  margin: 1.6rem 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.bb-term__list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.7rem;
  font-family: var(--bb-font-body);
  font-size: 0.95rem;
  color: #D2CDC3;
  line-height: 1.55;
  font-weight: 400;
}
.bb-term__list [data-bb-icon] {
  width: 18px;
  height: 18px;
  color: var(--bb-proof);
  margin-top: 3px;
}
.bb-term .bb-btn {
  margin-top: auto;
  justify-content: center;
  width: 100%;
}
.bb-terms__note {
  margin-top: 1.6rem;
  font-family: var(--bb-font-body);
  font-size: 0.95rem;
  color: var(--bb-dust);
}
.bb-terms__disclaimer {
  max-width: 920px;
  margin: 2.2rem auto 0 auto;
  display: grid;
  gap: 0.45rem;
  color: var(--bb-dust);
  font-family: var(--bb-font-body);
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.55;
  text-align: left;
}
.bb-disclaimer-item {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 0.45rem;
  align-items: baseline;
}
.bb-disclaimer-dot {
  color: var(--bb-oxide);
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
}
@media (max-width: 820px) { 
  .bb-terms { grid-template-columns: 1fr !important; max-width: 100% !important; width: 100% !important; gap: 2.4rem !important; } 
  .bb-term { width: 100% !important; box-sizing: border-box !important; padding: 2.4rem 1.4rem 1.6rem !important; }
  .bb-reality-grid, .bb-deal-grid { grid-template-columns: 1fr !important; }
}

/* --- Single Monumental Manifesto Section --- */
.bb-manifesto-section {
  background: #080807;
  color: #FFFFFF;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  border-top: 1px solid rgba(232, 226, 214, 0.08);
  border-bottom: 1px solid rgba(232, 226, 214, 0.08);
}
@media (min-width: 881px) {
  .bb-manifesto-section {
    padding-top: calc(clamp(4.5rem, 8vw, 7.5rem) + 96px);
    padding-bottom: calc(clamp(4.5rem, 8vw, 7.5rem) + 96px);
  }
}

/* ==========================================================================
   Section 02 (THE DEAL) 3 Unique Non-Card Layout Styles
   ========================================================================== */

/* --- LAYOUT 1: Sovereign Ledger Specification Matrix --- */
.bb-ledger-matrix {
  display: flex;
  flex-direction: column;
  border-top: none;
  margin-top: 1.5rem;
}

.bb-ledger-row {
  display: grid;
  grid-template-columns: 100px 1.2fr 2.2fr;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 1.4rem;
  min-height: 135px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
}
.bb-ledger-row:last-child {
  border-bottom: none;
}

@media (min-width: 881px) {
  .bb-ledger-row {
    min-height: 135px;
    height: 135px;
  }
}

.bb-ledger-row:hover {
  border-left-color: var(--bb-oxide);
  background: linear-gradient(90deg, var(--bb-oxide-dim) 0%, transparent 100%);
  padding-left: 1.8rem;
}

.bb-ledger-index {
  font-family: var(--bb-font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bb-oxide);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  align-self: center;
}

.bb-ledger-tag {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bb-dust);
  font-weight: 600;
}

.bb-ledger-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
  align-self: center;
}

.bb-ledger-desc {
  font-size: 1.05rem;
  color: #E8E4DA;
  line-height: 1.55;
  align-self: center;
}

@media (max-width: 880px) {
  .bb-ledger-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1.5rem 1rem;
  }
}

/* --- LAYOUT 2: Asymmetric Split Column Flow --- */
.bb-split-deal {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  margin-top: 2rem;
}

.bb-split-aside {
  position: sticky;
  top: 100px;
  align-self: start;
}

.bb-split-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  background: var(--bb-oxide-dim);
  border: 1px solid var(--bb-oxide);
  color: var(--bb-oxide-hi);
  font-family: var(--bb-font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.bb-split-badge__pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bb-oxide);
  box-shadow: 0 0 10px var(--bb-oxide);
}

.bb-split-list {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.bb-split-item {
  position: relative;
  padding-left: 2rem;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.bb-split-item:hover {
  border-left-color: var(--bb-oxide);
}

.bb-split-num {
  font-family: var(--bb-font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--bb-oxide);
  margin-bottom: 0.4rem;
  display: block;
}

.bb-split-h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.6rem;
}

.bb-split-p {
  font-size: 0.95rem;
  color: #C4C0B6;
  line-height: 1.65;
}

@media (max-width: 880px) {
  .bb-split-deal {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .bb-split-aside {
    position: static;
  }
}

/* --- LAYOUT 3: Unified HUD Console Grid --- */
.bb-hud-console {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: #0E0F11;
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.bb-hud-cell {
  padding: 2.4rem;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.bb-hud-cell:nth-child(2n) {
  border-right: 0;
}

.bb-hud-cell:nth-child(3),
.bb-hud-cell:nth-child(4) {
  border-bottom: 0;
}

.bb-hud-cell:hover {
  background: rgba(185, 103, 255, 0.04);
}

.bb-hud-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.bb-hud-code {
  font-family: var(--bb-font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bb-oxide);
  letter-spacing: 0.12em;
}

.bb-hud-status {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bb-oxide);
  box-shadow: 0 0 8px var(--bb-oxide);
}

.bb-hud-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.6rem;
}

.bb-hud-desc {
  font-size: 0.93rem;
  color: #BDB9B0;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .bb-hud-console {
    grid-template-columns: 1fr;
  }
  .bb-hud-cell {
    border-right: 0 !important;
  }
  .bb-hud-cell:nth-child(3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* =========================== FAQ =========================== */
.bb-faq { border-top: 0; max-width: 860px; margin: 3.2rem auto 0; }
.bb-faq__item { border-bottom: var(--bb-rule); }
.bb-faq__item:last-child { border-bottom: 0; }
.bb-faq__btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.35rem 0; text-align: left; }
.bb-faq__q { font-family: var(--bb-font-serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 500; color: #eee8dd; transition: color .2s; }
.bb-faq__btn:hover .bb-faq__q { color: var(--bb-ivory); }
.bb-faq__btn [data-bb-icon] { width: 18px; height: 18px; color: var(--bb-oxide); transition: transform .3s var(--bb-ease); flex: none; }
.bb-faq__btn[aria-expanded="true"] [data-bb-icon] { transform: rotate(45deg); }
.bb-faq__panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--bb-ease); }
.bb-faq__panel-in { padding-bottom: 1.5rem; max-width: 65ch; color: #c8c2b5; font-size: 1.05rem; line-height: 1.65; }

/* =========================== RECORD-SHEET FORM =========================== */
.bb-filegrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.4rem, 5vw, 5rem); align-items: start; }
.bb-filegrid__aside { position: sticky; top: 120px; text-align: left; }
.bb-filegrid__aside .bb-sec-head__sub {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.bb-stepper-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.6rem;
}
.bb-stepper-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.8rem;
  align-items: center;
  padding: 0.7rem 0.95rem;
  background: rgba(232, 226, 214, 0.03);
  border: 1px solid rgba(232, 226, 214, 0.1);
  border-radius: 6px;
  transition: all 0.25s var(--bb-ease);
  cursor: default;
}
.bb-stepper-card:hover {
  background: rgba(232, 226, 214, 0.06);
  border-color: var(--bb-oxide);
  transform: translateX(4px);
}
.bb-stepper-num {
  font-family: var(--bb-font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--bb-oxide);
}
.bb-stepper-info {
  display: flex;
  flex-direction: column;
}
.bb-stepper-title {
  font-family: var(--bb-font-disp);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--bb-ivory);
}
.bb-stepper-sub {
  font-family: var(--bb-font-mono);
  font-size: 0.68rem;
  color: var(--bb-dust);
  margin-top: 2px;
}
.bb-filegrid__aside .bb-mnote { display: block; margin-top: 1.6rem; max-width: 34ch; font-size: 1.05rem; color: #c8c2b5; line-height: 1.6; }
.bb-sheetform {
  background: linear-gradient(to right, #1E1F22 2.4rem, #ECE5D6 2.4rem);
  border: 1.5px solid rgba(229, 169, 60, 0.42);
  border-radius: 8px;
  box-shadow: 
    0 30px 90px -10px rgba(0, 0, 0, 0.96),
    0 15px 40px -5px rgba(0, 0, 0, 0.85),
    0 0 55px rgba(229, 169, 60, 0.22);
  padding: 2.8rem clamp(1.4rem, 3vw, 2.6rem) 2rem clamp(3.2rem, 4vw, 4rem);
  position: relative;
  overflow: visible;
  margin-top: 1rem;
  transition: transform 0.3s var(--bb-ease), box-shadow 0.3s var(--bb-ease);
}
.bb-sheetform:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 40px 100px -10px rgba(0, 0, 0, 0.98),
    0 20px 45px -5px rgba(0, 0, 0, 0.9),
    0 0 75px rgba(229, 169, 60, 0.32);
}
.bb-sheetform::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 2.4rem;
  background-color: #1E1F22;
  border-right: 1px solid rgba(0, 0, 0, 0.15);
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  z-index: 4;
  background-image: 
    radial-gradient(circle 4.5px at 15px 15%, #080809 98%, transparent 100%),
    radial-gradient(circle 4.5px at 15px 50%, #080809 98%, transparent 100%),
    radial-gradient(circle 4.5px at 15px 85%, #080809 98%, transparent 100%);
}
.bb-sheetform::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 2.4rem; right: 0;
  background: transparent;
  pointer-events: none;
  z-index: 1;
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;
}

/* Plain Golden Contact Links (WhatsApp & Telegram) */
.bb-contact-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.bb-contact-sep {
  color: rgba(229, 169, 60, 0.4);
  font-size: 0.8rem;
}
.bb-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: none;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s var(--bb-ease);
}
.bb-contact-link svg {
  color: var(--bb-oxide-hi);
  transition: transform 0.25s var(--bb-ease), filter 0.25s var(--bb-ease);
}
.bb-contact-link__text {
  font-family: 'Archivo', var(--bb-font-body) !important;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--bb-oxide-hi);
  border-bottom: 1px solid rgba(229, 169, 60, 0.35);
  padding-bottom: 1px;
  transition: all 0.25s var(--bb-ease);
}
.bb-contact-link:hover svg {
  transform: translateY(-1px) scale(1.15);
  filter: drop-shadow(0 0 6px rgba(229, 169, 60, 0.6));
}
.bb-contact-link:hover .bb-contact-link__text {
  color: #FFFFFF;
  border-bottom-color: var(--bb-oxide-hi);
  text-shadow: 0 0 10px rgba(229, 169, 60, 0.4);
}
.bb-sheetform form {
  position: relative;
  z-index: 2;
}
.bb-sheetform__tab {
  position: absolute;
  top: -14px;
  left: clamp(3.2rem, 4vw, 4rem);
  z-index: 10;
}

.bb-fgrid, .bb-fgrid--single { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 1.4rem; }
.bb-fgrid--full { grid-template-columns: 1fr; }
.bb-field { display: flex; flex-direction: column; }
.bb-field--full { grid-column: 1 / -1; }
.bb-sheetform .bb-field label {
  font-family: var(--bb-font-body);
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
  color: #24221E;
  margin-bottom: .45rem;
  display: block;
}
.bb-sheetform .bb-field label .bb-req { color: var(--bb-oxide); font-weight: 700; }
.bb-sheetform .bb-field label .bb-opt { color: #7D756A; font-weight: 400; font-size: 0.8rem; }
.bb-sheetform .bb-input,
.bb-sheetform .bb-select,
.bb-sheetform .bb-textarea {
  width: 100%;
  background: #F4EFE6;
  border: 1px solid rgba(26, 25, 23, 0.25);
  font-family: var(--bb-font-body);
  font-size: .96rem;
  color: #1A1917;
  padding: .75rem .95rem;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
  transition: border-color .25s var(--bb-ease), box-shadow .25s var(--bb-ease), background .25s var(--bb-ease);
}
.bb-sheetform .bb-textarea { min-height: 98px; resize: vertical; line-height: 1.6; }
.bb-sheetform .bb-input::placeholder,
.bb-sheetform .bb-textarea::placeholder {
  color: #7D756A;
  font-style: normal;
  font-family: var(--bb-font-body);
  opacity: 0.85;
}

/* Phone Input with Custom Country Selector (Screenshot 1) */
.bb-phone-input-wrap {
  position: relative;
  display: flex;
  width: 100%;
}
.bb-country-select {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #EAE3D5;
  border: 1px solid rgba(26, 25, 23, 0.25);
  border-right: none;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  padding: 0.75rem 0.85rem;
  cursor: pointer;
  user-select: none;
  font-family: var(--bb-font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: #1A1917;
  transition: background 0.2s ease;
  flex-shrink: 0;
}
.bb-country-select:hover {
  background: #E2DACB;
}
.bb-country-select .bb-selected-flag {
  font-size: 1.15rem;
  line-height: 1;
}
.bb-country-select svg {
  color: #7D756A;
  transition: transform 0.2s ease;
}
.bb-country-select.is-open svg {
  transform: rotate(180deg);
}
.bb-phone-digits {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
  flex: 1;
}
.bb-country-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 310px;
  max-height: 240px;
  overflow-y: auto;
  background: #18191C;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  z-index: 1000;
  padding: 0.35rem 0;
}
.bb-country-menu.is-open {
  display: block;
}
.bb-cmenu-item {
  display: flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  gap: 0.65rem;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: var(--bb-font-body);
  font-size: 0.88rem;
  color: #E8E2D6;
}
.bb-cmenu-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.bb-cmenu-item.is-selected {
  background: rgba(212, 168, 67, 0.15);
  color: #FFFFFF;
}
.bb-cmenu-flag {
  font-size: 1.15rem;
  line-height: 1;
}
.bb-cmenu-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bb-cmenu-code {
  font-family: var(--bb-font-mono);
  font-size: 0.8rem;
  color: #8A8680;
}
.bb-cmenu-item:hover .bb-cmenu-code,
.bb-cmenu-item.is-selected .bb-cmenu-code {
  color: #D4A843;
}
.bb-field-hint {
  font-family: var(--bb-font-body);
  font-size: 0.78rem;
  color: #7D756A;
  margin-top: 0.35rem;
}
.bb-agree-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1.4rem 0 1rem;
  font-family: var(--bb-font-body);
  font-size: 0.84rem;
  line-height: 1.45;
  color: #33302B;
}
.bb-agree-wrap input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 16px;
  height: 16px;
  accent-color: #D4A843;
  cursor: pointer;
  flex-shrink: 0;
}
.bb-agree-wrap label {
  cursor: pointer;
  user-select: none;
  font-weight: 400;
  color: #4A4740;
}
.bb-agree-wrap a {
  color: #D4A843;
  font-weight: 500;
  text-decoration: underline;
}
/* Custom Whiter & Purple Dropdown Menu Styles (No Native Blue Highlights) */
.bb-cselect-wrap {
  position: relative;
  width: 100%;
}
.bb-cselect-trigger {
  width: 100%;
  background: #F4EFE6;
  border: 1px solid rgba(26, 25, 23, 0.25);
  font-family: var(--bb-font-body);
  font-size: 1.02rem;
  color: #1A1917;
  padding: .75rem .95rem;
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: border-color .25s var(--bb-ease), box-shadow .25s var(--bb-ease), background .25s var(--bb-ease);
}
.bb-cselect-trigger.is-empty .bb-cselect-text {
  color: #7D756A;
  font-style: normal;
  font-family: var(--bb-font-body);
}
.bb-cselect-trigger:focus,
.bb-cselect-trigger.is-active {
  outline: none;
  border-color: var(--bb-oxide);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(229, 169, 60, 0.22);
}
[data-accent="purple"] .bb-cselect-trigger:focus,
[data-accent="purple"] .bb-cselect-trigger.is-active {
  border-color: #B967FF;
  box-shadow: 0 0 0 3px rgba(185, 103, 255, 0.22);
}

.bb-cselect-arrow {
  display: flex;
  align-items: center;
  color: #1A1917;
  transition: transform 0.2s ease;
}
.bb-cselect-trigger.is-active .bb-cselect-arrow {
  transform: rotate(180deg);
}

.bb-cselect-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #F8F5EE;
  border: 1.5px solid rgba(26, 25, 23, 0.2);
  border-radius: 6px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  overflow: hidden;
}
.bb-cselect-menu.is-open {
  display: block;
}

.bb-cselect-option {
  padding: 0.75rem 1rem;
  font-size: 0.98rem;
  color: #1A1917;
  background: #F8F5EE;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.bb-cselect-option.is-placeholder {
  color: #7D756A;
  font-style: normal;
  font-family: var(--bb-font-body);
}
.bb-cselect-option:hover,
.bb-cselect-option.is-selected {
  background: var(--bb-oxide) !important;
  color: #FFFFFF !important;
  font-weight: 600;
}
[data-accent="purple"] .bb-cselect-option:hover,
[data-accent="purple"] .bb-cselect-option.is-selected {
  background: #B967FF !important;
  color: #FFFFFF !important;
  font-weight: 600;
}

.bb-sheetform .bb-input:focus,
.bb-sheetform .bb-select:focus,
.bb-sheetform .bb-textarea:focus {
  outline: none;
  border-color: var(--bb-oxide);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(229, 169, 60, 0.22);
}

/* High-contrast charcoal Back Button inside light brief sheet */
.bb-sheetform #btnPrevStep,
.bb-sheetform .bb-btn--ink {
  background-color: #232529 !important;
  color: #F4EEE4 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-weight: 700 !important;
  transition: all 0.25s var(--bb-ease);
}
.bb-sheetform #btnPrevStep:hover,
.bb-sheetform .bb-btn--ink:hover {
  background-color: #121315 !important;
  color: var(--bb-oxide) !important;
  border-color: var(--bb-oxide) !important;
}
.bb-select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1.5l6 6 6-6' fill='none' stroke='%23C65A2E' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right .9rem center;
  padding-right: 2.4rem; cursor: pointer;
}
.bb-select option { background: var(--bb-graphite); color: var(--bb-bone); }
.bb-field.is-bad .bb-input, .bb-field.is-bad .bb-select, .bb-field.is-bad .bb-textarea { border-bottom-color: var(--bb-danger); }
.bb-hp { position: absolute; left: -9999px; }
.bb-formfoot { display: flex; align-items: center; justify-content: space-between; gap: 1.4rem; margin-top: 2rem; flex-wrap: wrap; }
.bb-formfoot__note { display: flex; gap: .55rem; align-items: flex-start; max-width: 34ch; color: var(--bb-ink-faint); }
.bb-formfoot__note [data-bb-icon] { width: 15px; height: 15px; color: var(--bb-archive); margin-top: 2px; }
@media (max-width: 920px) {
  .bb-filegrid { grid-template-columns: 1fr; }
  .bb-filegrid__aside { position: static; }
  .bb-fgrid { grid-template-columns: 1fr; }
}

/* filed-state (post submit) */
.bb-filed { text-align: center; padding: 3.2rem 1rem 2.6rem; }
.bb-filed__stamp { display: inline-block; transform: rotate(-5deg); margin-bottom: 1.6rem; }
.bb-filed__num { font-family: var(--bb-font-mono); font-size: 1.05rem; letter-spacing: .3em; color: var(--bb-ivory); text-transform: uppercase; }
.bb-filed__id { font-family: var(--bb-font-mono); font-size: .68rem; letter-spacing: .2em; color: var(--bb-archive); text-transform: uppercase; margin-top: .5rem; }
.bb-filed p { margin: 1.2rem auto 0; max-width: 40ch; }
.bb-filed__btn { margin-top: 1.6rem; }

/* =========================== CTA BAND =========================== */
.bb-ctaband { position: relative; overflow: clip; }
.bb-ctaband__inner { text-align: center; padding: clamp(4.5rem, 8vw, 7rem) 0; position: relative; }
.bb-ctaband h2 { max-width: 20ch; margin: 1.2rem auto 0; }
.bb-ctaband p { margin: 1.2rem auto 0; max-width: 46ch; }
.bb-ctaband__ctas { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }

/* =========================== FOOTER =========================== */
.bb-footer { border-top: none; background: var(--bb-graphite); }
.bb-footer__top { display: grid; grid-template-columns: 1fr auto auto; gap: clamp(2.5rem, 5vw, 5.5rem); padding: 3.4rem 0 2.6rem; align-items: start; }
.bb-footer__brand p { margin-top: 1.1rem; font-size: .9rem; max-width: 32ch; }
.bb-footer h5 { font-family: var(--bb-font-mono); font-size: .62rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #F2C94C; margin: .3rem 0 1rem; }
[data-accent="purple"] .bb-footer h5,
[data-accent="neon"] .bb-footer h5 {
  color: #C084FC !important;
}
.bb-footer__col { display: grid; gap: .55rem; align-content: start; }
.bb-footer__col a { font-size: .88rem; color: var(--bb-ink-dim); transition: color .18s; width: fit-content; }
.bb-footer__col a:hover { color: var(--bb-ivory); }
.bb-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; border-top: var(--bb-rule); padding: 1.3rem 0 1.5rem; }
@media (max-width: 880px) { .bb-footer__top { grid-template-columns: 1fr 1fr; } }

@media (max-width: 560px) {
  .bb-sheet--front { padding: 1.6rem 1.2rem 1.2rem 2.6rem; }
  .bb-sheet__row { grid-template-columns: 78px 1fr; gap: .6rem; }
  .bb-sheet__row > :last-child { font-size: .66rem; }
  .bb-sheet__note { display: none; }
  .bb-sheet__stamp { right: 12px; top: 58px; }
  .bb-rec { grid-template-columns: 40px minmax(0,1fr); }
  .bb-rec__side { grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; }
  .bb-stats__inner { grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
  .bb-stat { padding-left: .9rem; }
  .bb-microtop__inner { font-size: .54rem; gap: .7rem; }
}

/* =========================== BRAND PAGE =========================== */
.bb-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: .9rem; }
.bb-swatch { border: var(--bb-rule); }
.bb-swatch__chip { height: 84px; }
.bb-swatch__meta { padding: .7rem .8rem .8rem; border-top: var(--bb-rule); }
.bb-swatch__meta b { display: block; font-family: var(--bb-font-mono); font-size: .62rem; letter-spacing: .1em; color: var(--bb-ivory); text-transform: uppercase; }
.bb-swatch__meta span { font-family: var(--bb-font-mono); font-size: .6rem; color: var(--bb-dust); }
.bb-icongrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1px; background: var(--bb-rule); border: var(--bb-rule); }
.bb-icongrid > div { background: var(--bb-graphite); padding: 1.5rem .8rem 1.1rem; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.bb-icongrid [data-bb-icon] { width: 26px; height: 26px; color: var(--bb-bone); }
.bb-icongrid span { font-family: var(--bb-font-mono); font-size: .56rem; letter-spacing: .12em; color: var(--bb-dust); text-transform: uppercase; }
.bb-type-row { display: grid; grid-template-columns: 220px 1fr; gap: 2rem; padding: 1.6rem 0; border-bottom: var(--bb-rule); align-items: baseline; }
.bb-btn-states { display: flex; flex-wrap: wrap; gap: 1rem; align-items: flex-end; }
.bb-motion-row { display: grid; grid-template-columns: 190px 1fr; gap: 2rem; padding: 1.4rem 0; border-bottom: var(--bb-rule); }
@media (max-width: 880px) {
  .bb-swatches { grid-template-columns: repeat(3, 1fr); }
  .bb-type-row, .bb-motion-row { grid-template-columns: 1fr; gap: .6rem; }
}

@media (max-width: 600px) {
  .bb-deployments__list { height: 268px; }
  .bb-term__tab, .bb-sheetform__tab, .bb-sheet__tabpos { left: 1.2rem; max-width: calc(100% - 2.4rem); }
}

/* =========================== MOBILE RESPONSIVE REFINEMENTS =========================== */
@media (max-width: 768px) {
  .bb-hero__ctas { width: 100%; }
  .bb-hero__ctas .bb-btn { flex: 1 1 auto; justify-content: center; text-align: center; }
  .bb-deployments { padding: 1.1rem; }
  .bb-deploy-card { padding: 0.75rem 0.85rem; gap: 0.7rem; }
  .bb-deploy-card__sub { font-size: 0.65rem; }
  .bb-rec { grid-template-columns: 38px minmax(0, 1fr); padding: 1rem; gap: 0.8rem; }
  .bb-rec__side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; width: 100%; margin-top: 0.2rem; }
  .bb-vs__btn { grid-template-columns: 1fr 24px; gap: 0.8rem; padding: 1.2rem 0; }
  .bb-vs__q { font-size: 1.05rem; }
  .bb-term { padding: 2.2rem 1.3rem 1.5rem; }
  
  /* Fix Mobile Sheetform Spine Overlap */
  .bb-sheetform {
    background: #ECE5D6 !important;
    padding: 1.8rem 1.1rem 1.4rem !important;
    border-radius: 6px !important;
  }
  .bb-sheetform::before { display: none !important; }
  .bb-sheetform::after { left: 0 !important; }
  .bb-sheetform__tab { left: 0.8rem !important; max-width: calc(100% - 1.6rem) !important; }
  
  .bb-step-nav { gap: 0.8rem !important; flex-wrap: wrap !important; }
  .bb-step-nav .bb-mono { font-size: 0.72rem !important; }
  
  .bb-formfoot { flex-direction: column; align-items: stretch; gap: 0.8rem; }
  .bb-formfoot .bb-btn { width: 100%; justify-content: center; }
  .bb-footer__top { grid-template-columns: 1fr; gap: 1.8rem; }
  .bb-footer__bottom { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .bb-palette-switcher { display: none !important; }
}

@media (max-width: 480px) {
  .bb-wordmark { font-size: 1.05rem; }
  .bb-deploy-card__avatar { width: 34px; height: 34px; }
  .bb-deploy-card__avatar svg { width: 16px; height: 16px; }
  .bb-deploy-tag { font-size: 0.52rem; padding: 0.25rem 0.45rem; }
}

/* ---- Floating Color Palette Tester Widget (Horizontal Glass Pill) ---- */
.bb-palette-switcher {
  bottom: 74px;
  right: 24px;
}
.bb-palette-switcher .bb-palette-btn.is-active {
  color: #0B0B0A;
  background: var(--bb-oxide);
  font-weight: 700;
}
@media (max-width: 600px) {
  .bb-palette-switcher { bottom: 62px; right: 12px; }
}

/* ==========================================================================
   BLACKBOOK — OTP Email Confirmation Screen (Exact /com spec)
   ========================================================================== */
.bb-otp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 6, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: bbFadeIn 0.2s ease-out forwards;
}
.bb-otp-card {
  background: #0E0F12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  padding: 2.4rem 2rem 2.2rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
  text-align: left;
  position: relative;
}
.bb-otp-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #8E8A82;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
  z-index: 10;
  padding: 0;
}
.bb-otp-close-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transform: scale(1.06);
}
.bb-otp-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-right: 2.4rem;
}
.bb-otp-top-bar .bb-wordmark {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.bb-otp-back-bottom {
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  text-align: center;
}
.bb-otp-back-bottom-btn {
  background: none;
  border: none;
  color: #8E8A82;
  font-family: var(--bb-font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.18s ease;
  padding: 0.3rem 0.6rem;
}
.bb-otp-back-bottom-btn:hover {
  color: #F2C94C;
  text-decoration: underline;
}
.bb-otp-title {
  font-family: var(--bb-font-body);
  font-size: 1.55rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
}
.bb-otp-sub {
  font-family: var(--bb-font-body);
  font-size: 0.92rem;
  color: #8E8A82;
  line-height: 1.45;
  margin: 0 0 1.6rem 0;
}
.bb-otp-email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #141519;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  padding: 0.8rem 1rem;
  margin-bottom: 1.5rem;
}
.bb-otp-email-val {
  font-family: var(--bb-font-body);
  font-size: 0.94rem;
  color: #FFFFFF;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 270px;
}
.bb-otp-update-btn {
  background: none;
  border: none;
  color: #8E8A82;
  font-family: var(--bb-font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  transition: color 0.18s ease;
}
.bb-otp-update-btn:hover {
  color: #D4A843;
}
.bb-otp-inputs {
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.bb-otp-digit {
  width: 50px;
  height: 58px;
  background: #141519;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  color: #FFFFFF;
  font-family: var(--bb-font-mono);
  font-size: 1.55rem;
  font-weight: 600;
  text-align: center;
  outline: none;
  transition: all 0.18s ease;
  caret-color: #D4A843;
}
.bb-otp-digit:focus {
  border-color: #D4A843;
  background: #18191F;
  box-shadow: 0 0 0 1px #D4A843, 0 0 16px rgba(212, 168, 67, 0.25);
}
.bb-otp-digit.is-filled {
  border-color: rgba(255, 255, 255, 0.25);
}
.bb-otp-status {
  font-family: var(--bb-font-body);
  font-size: 0.82rem;
  text-align: center;
  min-height: 1.2rem;
  margin-bottom: 0.6rem;
}
.bb-otp-status.is-error {
  color: #FF5A5A;
}
.bb-otp-status.is-success {
  color: #4E9E60;
  font-weight: 600;
}
.bb-otp-resend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #8E8A82;
  font-family: var(--bb-font-body);
  font-size: 0.86rem;
}
.bb-otp-resend a {
  color: #D4A843;
  text-decoration: none;
  font-weight: 500;
}
.bb-otp-resend a:hover {
  text-decoration: underline;
}

/* ---- APPLICATION HEADER CTAs BEAM ANIMATION ---- */
.bb-apply-nav__links .bb-btn {
  position: relative;
  overflow: hidden;
}
.bb-apply-nav__links .bb-btn::after {
  content: "";
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -140%;
  width: 55%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0.6) 48%,
    rgba(255, 255, 255, 0.95) 52%,
    rgba(255, 255, 255, 0.6) 56%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}
.bb-apply-nav__links .bb-btn--file::after {
  animation: bb-hero-beam-first 2.2s cubic-bezier(0.25, 1, 0.4, 1) 0.8s 1 forwards;
}
.bb-apply-nav__links .bb-btn--ink::after {
  animation: bb-hero-beam-second 2.2s cubic-bezier(0.25, 1, 0.4, 1) 3.0s 1 forwards;
}
.bb-apply-nav__links .bb-btn:hover::after {
  animation: bb-hero-beam-hover 2.0s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

