/*
Theme Name: BridgeBrain Modern AI
Theme URI: https://bridgebrain.ai
Author: BridgeBrain Labs
Author URI: https://bridgebrain.ai
Description: A modern, luxury, responsive WordPress theme for BridgeBrain.ai.
Version: 1.0.21
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bridgebrain-modern-ai
Tags: custom-menu, featured-images, full-width-template, one-column, two-columns, right-sidebar, left-sidebar, sticky-post, translation-ready
*/

     
      
        /* ===== RESET & BASE ===== */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.5;
            color: #fcfcdb;
             background: url('images/vertical-lines-bg.jpg');
        }

        /* ===== TYPOGRAPHY ===== */
        h1, h2, h3, h4, h5, h6 {
            font-weight: 400;
            letter-spacing: -0.02em;
        }

        h1 {
            font-size: 48px;
            line-height: 1.1;
            font-weight: 450;
        }

        h2 {
            font-size: 48px;
            line-height: 1.2;
            margin-bottom: 1.5rem;
        }

        h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .subhead {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.7);
            max-width: 600px;
            margin: 1.5rem 0;
            font-weight: 350;
            line-height: 1.6;
        }

        /* ===== LAYOUT ===== */
        .container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        section {
            padding: 6rem 0;
        }

        /* ===== HEADER ===== */
        .site-header {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 100;
            padding: 2rem 2rem;
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            max-width: 1440px;
            margin: 0 auto;
        }

        /* Logo on left */
        .logo {
            font-size: 1.5rem;
            font-weight: 500;
            letter-spacing: -0.02em;
            color: white;
            text-decoration: none;
        }

        .logo span {
            font-weight: 300;
            color: rgba(255, 255, 255, 0.7);
        }

/* Logo mark (circle) - uses CSS instead of a glyph for consistent rendering across browsers */
.logo .bb-logo-mark{
            width: var(--bb-logo-mark-size, 18px);
            height: var(--bb-logo-mark-size, 18px);
            border-radius: 999px;
            background: var(--bb-logo-mark-color, rgba(66, 167, 161, 0.95));
            display: inline-block;
            margin-right: 10px;
            vertical-align: middle;
            box-shadow: none !important;
            filter: none !important;
            outline: none;
        }

        /* Navigation on right */
        .nav-right {
            display: flex;
            gap: 3rem;
            align-items: center;
        }

        .nav-right a {
            color: #fff;
            text-decoration: none;
            font-size: 0.9rem;
            font-weight: 400;
            letter-spacing: 0.3px;
            opacity: 0.8;
            transition: opacity 0.2s;
        }

        .nav-right a:hover {
            opacity: 1;
        }

        .social-links {
            display: flex;
            gap: 1.5rem;
        }

        .social-links a {
            color: white;
            text-decoration: none;
            font-size: 0.9rem;
            opacity: 0.8;
        }

        /* ===== HERO SECTION ===== */
        .hero {
            position: relative;
            height: 100vh;
            min-height: 800px;
            width: 100%;
            display: flex;
            align-items: center;
            color: white;
            overflow: hidden;
            border-bottom: solid 1px #667;
        }

        .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .hero-background img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        /* Hero layout with two columns - text left, video right */
        .hero-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 2rem;
            width: 100%;
        }

        .hero-content {
            max-width: 600px;
        }

        /* Video container styles - now on right */
        .hero-video {
            background: rgba(255, 255, 255, 0.08);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 32px;
            padding: 1rem;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
        }

        .video-wrapper {
            position: relative;
            width: 100%;
            border-radius: 24px;
            overflow: hidden;
            aspect-ratio: 16 / 9;
            background: #1a1a1a;
        }

        .video-wrapper video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border: none;
            display: block;
        }

        /* Video controls styling */
        .video-wrapper video::-webkit-media-controls {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 0 0 24px 24px;
        }

        .video-caption {
            margin-top: 1rem;
            padding: 0 1rem 1rem 1rem;
            color: rgba(255, 255, 255, 0.6);
            font-size: 0.9rem;
            letter-spacing: 0.5px;
        }

        .hero-label {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 4px;
            margin-bottom: 1.5rem;
            opacity: 0.7;
        }

        .hero-description {
            font-size: 1.25rem;
            color: rgba(255, 255, 255, 0.7);
            margin: 1.5rem 0 2rem;
            font-weight: 300;
            line-height: 1.6;
        }

        /* ===== FEATURES SECTION ===== */
        .features {
             position: relative;
             background: url('images/features-bg.jpg') center center / cover no-repeat;
             border-bottom: solid 1px #667;
        }

        .section-header {
            text-align: center;
            max-width: 700px;
            margin: 0 auto 2rem;
        }

        .section-header h2 {
            margin: 2rem;
            color: #fff;
        }

        .section-header p {
            color: #81818c;
            font-size: 1.25rem;
            font-weight: 700;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
            margin-top: 4rem;
        }

        .feature-card {
            padding: 2rem;
            background: white;
            border-radius: 24px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.02);
        }

        .feature-icon {
            width: 48px;
            height: 48px;
            background: #1a1a1a;
            border-radius: 12px;
            margin-bottom: 1.5rem;
        }

        .feature-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .feature-card p {
            color: #667;
            line-height: 1.6;
        }

        /* ===== PROTOCOLS SECTION ===== */
        .protocols {
            background: #1a1a1a;
            color: white;
            border-bottom: solid 1px #667;
        }

        .protocols-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3rem;
        }

        .protocol-card {
            padding: 3rem;
            background: rgba(255, 255, 255, 0.03);
            border-radius: 32px;
            border: 1px solid rgba(255, 255, 255, 0.05);
        }

        .protocol-number {
            font-size: 3rem;
            font-weight: 300;
            color: rgba(255, 255, 255, 0.2);
            margin-bottom: 1rem;
        }

        .licensing {
            background: #1a1a1a;
            color: white;
        }

        /* ===== BLOG GRID (WP PATTERN) ===== */

        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
        }

        .post-card {
            border-radius: 24px;
            overflow: hidden;
            background: white;
            box-shadow: 0 20px 40px rgba(0,0,0,0.02);
        }

        .post-image {
            width: 100%;
            height: 240px;
            background: #ddd;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }

        .post-content {
            padding: 2rem;
        }

        .post-meta {
            font-size: 0.875rem;
            color: #999;
            margin-bottom: 0.5rem;
        }

        .post-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .post-excerpt {
            color: #666;
            margin-bottom: 1.5rem;
        }

        .read-more {
            color: #1a1a1a;
            text-decoration: none;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* ===== CTA SECTION ===== */
        .cta {
            position: relative;
             background: url('images/features-bg.jpg') center center / cover no-repeat;
             border-bottom: solid 1px #667;
            color: white;
            text-align: center;
        }

        .cta h2 {
            max-width: 700px;
            margin: 0 auto 2rem;
        }

        .cta-button {
            background: white;
            color: #1a1a1a;
            border: none;
            padding: 1rem 3rem;
            border-radius: 60px;
            font-size: 1.125rem;
            font-weight: 500;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .cta-button:hover {
            transform: scale(1.05);
        }

        /* ===== FOOTER ===== */
        .site-footer {
            background: #1a1a1a;
            padding: 4rem 0;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr repeat(3, 1fr);
            gap: 4rem;
        }

        .footer-logo {
            font-size: 1.5rem;
            font-weight: 500;
            margin-bottom: 1rem;
        }

        .footer-description {
            color: #666;
            margin-bottom: 2rem;
        }

        .footer-column h4 {
            font-size: 1rem;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .footer-column a {
            display: block;
            color: #666;
            text-decoration: none;
            margin-bottom: 0.75rem;
        }

        /* ===== CTA BUTTONS ===== */
        .cta-buttons {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
        }

        .primary-button {
            background: white;
            color: #1a1a1a;
            border: none;
            padding: 1rem 2.5rem;
            border-radius: 60px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .primary-button:hover {
            transform: scale(1.02);
        }

        .secondary-button {
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
            padding: 1rem 2.5rem;
            border-radius: 60px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            backdrop-filter: blur(10px);
            transition: all 0.2s;
        }

        .secondary-button:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .hero-container {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }

            .hero-content {
                max-width: 100%;
                margin: 0 auto;
            }

            .cta-buttons {
                justify-content: center;
            }
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-right {
                flex-direction: column;
                gap: 1rem;
            }
            
            .protocols-grid {
                grid-template-columns: 1fr;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            h1 {
                font-size: 36px;
            }
        }

/* === BridgeBrain Featured Pillars === */
.bb-featured {
  padding: clamp(28px, 4vw, 56px) 0;
}

.bb-featured__inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
  align-items: stretch;
}



/* Navigator Menu (small buttons under the 3 feature cards) */
.bb-navmenu {
  width: min(1160px, calc(100% - 40px));
  margin: 14px auto 0;
  padding: 14px 16px;
  border-radius: 16px;

  background: rgba(48, 48, 48, 0.14);
  border: 1px solid rgba(197, 168, 122, 0.18);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bb-navmenu__title {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  margin: 0 0 10px;
}

.bb-navmenu__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bb-navmenu__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 14px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 600;
  text-decoration: none;

  color: rgba(245, 234, 214, 0.92);
  background: rgba(24, 18, 14, 0.65);
  border: 1px solid rgba(197, 168, 122, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bb-navmenu__btn:hover {
  transform: translateY(-1px);
  background: rgba(24, 18, 14, 0.78);
  border-color: rgba(197, 168, 122, 0.34);
  color: rgba(245, 234, 214, 0.98);
}
/* Card look: dark luxe, subtle tan glass */
.bb-card {
  position: relative;
  padding: 30px 26px 24px;
  border-radius: 18px;

  background: rgba(48, 48, 48, 0.22); /* dark tan glass */
  border: 1px solid rgba(48, 48, 48, 0.18); /* warm tan edge */
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.bb-card__badge {
  position: absolute;
  top: -18px;
  left: 22px;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;

  background: rgba(24, 18, 14, 0.85); /* deep brown/black */
  border: 1px solid rgba(197, 168, 122, 0.35);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  color: rgba(245, 234, 214, 0.92); /* warm off-white */
}

.bb-card__title {
  margin: 6px 0 10px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 650;

  color: rgba(245, 234, 214, 0.95);
}

.bb-card__text {
  margin: 0 0 16px;
  font-size: 14.5px;
  line-height: 1.55;

  color: rgba(245, 234, 214, 0.78);
}

.bb-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;

  color: rgba(214, 190, 150, 0.92);
}

.bb-card__arrow {
  display: inline-block;
            margin-right: 10px;
  transform: translateY(0.5px);
  opacity: 0.9;
}

.bb-card__link:hover {
  color: rgba(245, 234, 214, 0.95);
}

.bb-card:hover {
  border-color: rgba(197, 168, 122, 0.28);
  box-shadow:
    0 16px 44px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Responsive: 2-up then stack */
@media (max-width: 980px) {
  .bb-featured__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .bb-featured__inner {
    grid-template-columns: 1fr;
  }

  .bb-card {
    padding: 28px 22px 22px;
  }

  .bb-card__badge {
    left: 18px;
  }
}

/* Optional: improve spacing if your hero ends tightly */
.bb-featured :where(h3, p, a) {
  font-family: inherit;
}

/* === Identity + Trust Section === */
.bb-trust {
  position: relative;
  padding: clamp(10px, 4vw, 20px) 0;
}

.bb-trust__inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.8fr 1.1fr 2fr;
  gap: clamp(16px, 2.4vw, 28px);
  align-items: center;

  /* luxe glass container */
  border-radius: 22px;
  background: rgba(48, 48, 48, 0.18);         /* dark tan glass */
  border: 1px solid rgba(197, 168, 122, 0.16); /* warm tan edge */
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  padding: clamp(18px, 2.6vw, 30px);
}

/* Left image */
.bb-trust__media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bb-trust__img {
  width: clamp(100px, 200px, 200px);
  height: auto;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(197, 168, 122, 0.16);
}

/* Headline */
.bb-trust__title {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;

  /* subtle “corporate” lift */
  letter-spacing: 0.01em;
}

.bb-trust__check {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;

  background: rgba(24, 18, 14, 0.75);
  border: 1px solid rgba(197, 168, 122, 0.25);
  color: rgba(245, 234, 214, 0.92);

  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  flex: 0 0 auto;
  transform: translateY(2px);
}

.bb-trust__title-lines {
  display: inline-block;
            margin-right: 10px;
}

.bb-trust__title-line {
  display: block;
  font-weight: 700;
  line-height: 1.15;
  text-transform: none;

  /* warm off-white */
  color: rgba(245, 234, 214, 0.95);
  font-size: clamp(20px, 1.2rem + 0.9vw, 34px);
}

/* Right content */
.bb-trust__content {
  padding-left: clamp(16px, 2vw, 22px);
  border-left: 3px solid rgba(197, 168, 122, 0.28);
}

.bb-trust__list {
  margin: 0;
  padding-left: 1.05em;

  color: rgba(245, 234, 214, 0.82);
  font-size: clamp(14px, 0.92rem + 0.35vw, 18px);
  line-height: 1.55;
}

.bb-trust__list li {
  margin: 10px 0;
}

.bb-trust__list li::marker {
  color: rgba(214, 190, 150, 0.9);
}

/* Optional: gentle hover polish (still corporate, not sci-fi) */
.bb-trust__inner:hover {
  border-color: rgba(197, 168, 122, 0.26);
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.50),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Responsive: stack cleanly */
@media (max-width: 980px) {
  .bb-trust__inner {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .bb-trust__media {
    justify-content: flex-start;
  }

  .bb-trust__content {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(197, 168, 122, 0.18);
    padding-top: 14px;
  }

  .bb-trust__title {
    align-items: center;
  }
}

@media (max-width: 520px) {
  .bb-trust__inner {
    padding: 18px;
    border-radius: 18px;
  }

  .bb-trust__check {
    width: 34px;
    height: 34px;
  }
}


/* === Persona Licensing / PLF Section === */
.bb-plf {
  position: relative;
  padding: clamp(28px, 4vw, 64px) 0;
}

.bb-plf__inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

/* Top row */
.bb-plf__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(14px, 2.2vw, 26px);
  align-items: center;
  margin-bottom: clamp(16px, 2.2vw, 22px);
}

.bb-plf__label {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.bb-plf__labelIcon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: rgba(24, 18, 14, 0.78);
  border: 1px solid rgba(197, 168, 122, 0.25);
  color: rgba(245, 234, 214, 0.92);

  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bb-plf__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
  color: rgba(214, 190, 150, 0.88);
}

.bb-plf__title {
  margin: 0;
  font-size: clamp(22px, 1.1rem + 1.2vw, 36px);
  line-height: 1.12;
  font-weight: 600;
  color: white;
}

.bb-plf__thesis {
  border-left: 3px solid rgba(197, 168, 122, 0.22);
  padding-left: clamp(14px, 2vw, 20px);
}

.bb-plf__thesis p {
  margin: 0;
  color: rgba(245, 234, 214, 0.78);
  font-size: clamp(14px, 0.92rem + 0.35vw, 18px);
  line-height: 1.6;
}

/* Two cards */
.bb-plf__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2.2vw, 22px);
  align-items: stretch;
}

.bb-plfCard {
  position: relative;
  border-radius: 20px;
  padding: clamp(18px, 2.2vw, 26px);

  background: rgba(48, 48, 48, 0.18);
  border: 1px solid rgba(197, 168, 122, 0.16);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bb-plfCard--warn {
  background: rgba(84, 63, 45, 0.12);
  border-color: rgba(197, 168, 122, 0.14);
}

.bb-plfCard__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.bb-plfCard__icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: rgba(24, 18, 14, 0.72);
  border: 1px solid rgba(197, 168, 122, 0.22);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  color: rgba(245, 234, 214, 0.92);
}

.bb-plfCard__title {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 750;
  color: rgba(245, 234, 214, 0.92);
}

.bb-plfCard__subtitle {
  margin: 0 0 14px;
  font-size: clamp(14px, 0.92rem + 0.25vw, 17px);
  line-height: 1.55;
  color: #fff;
}

.bb-plfCard__callout {
  margin: 0 0 14px;
  padding: 12px 12px;
  border-radius: 14px;

  background: rgba(24, 18, 14, 0.35);
  border: 1px solid rgba(197, 168, 122, 0.14);
  color: rgba(245, 234, 214, 0.86);
}

/* Lists */
.bb-plfList {
  margin: 0;
  padding-left: 1.05em;
  color: rgba(245, 234, 214, 0.82);
  font-size: clamp(14px, 0.92rem + 0.25vw, 17px);
  line-height: 1.55;
}

.bb-plfList li {
  margin: 10px 0;
}

.bb-plfList li::marker {
  color: rgba(214, 190, 150, 0.9);
}

.bb-plfList--features {
  margin-top: 6px;
}

.bb-plfCard__result,
.bb-plfCard__footnote {
  margin: 14px 0 0;
  color: rgba(245, 234, 214, 0.78);
  line-height: 1.55;
}

/* CTA row */
.bb-plf__ctaRow {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.bb-plf__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;

  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;

  color: white;
  background: rgba(214, 190, 150, 0.10);
  border: 1px solid rgba(214, 190, 150, 0.35);

  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.bb-plf__cta:hover {
  filter: brightness(1.04);
}

.bb-plf__ctaSecondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;

  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;

  color: rgba(245, 234, 214, 0.90);
  background: rgba(24, 18, 14, 0.40);
  border: 1px solid rgba(197, 168, 122, 0.18);
}

.bb-plf__ctaSecondary:hover {
  border-color: rgba(197, 168, 122, 0.28);
}

/* Hover polish */
.bb-plfCard:hover {
  border-color: rgba(197, 168, 122, 0.26);
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.50),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Responsive */
@media (max-width: 980px) {
  .bb-plf__top {
    grid-template-columns: 1fr;
  }

  .bb-plf__thesis {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(197, 168, 122, 0.16);
    padding-top: 12px;
  }

  .bb-plf__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .bb-plfCard {
    border-radius: 18px;
  }

  .bb-plf__labelIcon {
    width: 42px;
    height: 42px;
  }
}

/* === Two-Panel Protocol Section (Luxe Dark) === */
.bb-protocols {
  position: relative;
  padding: clamp(28px, 4vw, 70px) 0;
  background: rgba(16, 12, 10, 1); /* deep warm black */
  border-top: 1px solid rgba(48, 48, 48, 0.25);
  border-bottom: 1px solid rgba(48, 48, 48, 0.20);
}

.bb-protocols__wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2.2vw, 22px);
  align-items: stretch;
}

/* Panels */
.bb-panel {
  border-radius: 22px;
  padding: clamp(18px, 2.4vw, 28px);

  background: rgba(48, 48, 48, 0.16);         /* tan glass */
  border: 1px solid rgba(197, 168, 122, 0.16);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bb-panel--right {
  background: rgba(42, 36, 32, 0.22); /* slightly cooler/denser */
}

.bb-panel__header {
  margin-bottom: 14px;
}

.bb-panel__header--center {
  text-align: center;
}

.bb-panel__title {
  margin: 0;
  font-size: clamp(22px, 1.1rem + 1.1vw, 40px);
  line-height: 1.12;
  font-weight: 800;
  color: rgba(245, 234, 214, 0.95);
}

.bb-panel__subtitle {
  margin: 6px 0 0;
  color: rgba(245, 234, 214, 0.78);
  font-size: clamp(14px, 0.95rem + 0.3vw, 22px);
  line-height: 1.4;
}

/* Left brand row */
.bb-brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.bb-brand__logo {
  width: clamp(74px, 10vw, 118px);
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(197, 168, 122, 0.18);
}

.bb-brand__title {
  margin: 0;
  font-size: clamp(22px, 1.1rem + 1.2vw, 40px);
  line-height: 1.05;
  font-weight: 850;
  color: rgba(245, 234, 214, 0.95);
}

.bb-brand__title span {
  display: block;
}

.bb-panel__subhead {
  margin: 12px 0 0;
  text-align: center;
  font-size: clamp(16px, 0.95rem + 0.5vw, 28px);
  
}

/* Screenshot cover */
.bb-cover {
  margin: 16px 0 14px;
  position: relative;
  overflow: hidden;
  border-radius: 18px;

  border: 1px solid rgba(197, 168, 122, 0.14);
  box-shadow: 0 18px 50px rgba(0,0,0,0.50);
}

.bb-cover__img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.92) contrast(1.02);
}

.bb-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 6, 0.10),
    rgba(10, 8, 6, 0.70)
  );
  pointer-events: none;
}

.bb-cover__cap {
  position: absolute;
  inset: auto 12px 12px 12px;
  z-index: 1;

  padding: 12px 12px;
  border-radius: 14px;

  background: rgba(10, 8, 6, 0.55);
  border: 1px solid rgba(197, 168, 122, 0.16);

  text-align: center;
  color: rgba(245, 234, 214, 0.92);
  font-size: clamp(14px, 0.9rem + 0.35vw, 22px);
  line-height: 1.2;
}

/* Left tagline + links */
.bb-panel__tagline {
  margin: 10px 0 0;
  text-align: center;
  font-size: clamp(18px, 1rem + 0.7vw, 30px);
  line-height: 1.2;
  color: rgba(245, 234, 214, 0.92);
}

.bb-panel__links {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #fff;
}

.bb-panel__links a {
  color: rgba(214, 190, 150, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 190, 150, 0.30);
}

.bb-panel__links a:hover {
  border-bottom-color: rgba(214, 190, 150, 0.55);
}

/* Protocol cards grid */
.bb-protocolGrid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.bb-proto {
  border-radius: 18px;
  padding: 16px 14px;

  background: rgba(48, 48, 48, 0.06);
  border: 1px solid rgba(197, 168, 122, 0.14);

  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

  color: rgba(245, 234, 214, 0.90);
}

.bb-proto__abbr {
  margin: 0 0 8px;
  text-align: center;
  font-size: clamp(22px, 1.1rem + 0.9vw, 38px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #fff;
}

.bb-proto__name {
  margin: 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(245, 234, 214, 0.82) !important;
}

.bb-proto__by {
  margin: 10px 0 0;
  text-align: left;
  color: rgba(245, 234, 214, 0.82) !important;
}

.bb-proto__hr {
  margin: 12px 0 10px;
  border: none;
  height: 1px;
  background: rgba(245, 234, 214, 0.82);
}

.bb-proto__list {
  margin: 0;
  padding-left: 1.05em;
  line-height: 1.55;
  color: rgba(245, 234, 214, 0.82);
}

.bb-proto__list li {
  margin: 6px 0;
}

.bb-proto__list li::marker {
  color: rgba(214, 190, 150, 0.9);
}

/* Variants */
.bb-proto--mcp {
  background: rgba(245, 234, 214, 0.10);
  color: rgba(24, 18, 14, 0.92);
}

.bb-proto--mcp .bb-proto__name,
.bb-proto--mcp .bb-proto__by {
  color: rgba(24, 18, 14, 0.78);
}

.bb-proto--mcp .bb-proto__hr {
  background: rgba(24, 18, 14, 0.18);
}

.bb-proto--ap2 {
  background: rgba(245, 234, 214, 0.06);
}

.bb-proto--ptp {
  // position: relative;
  border-style: dashed;
  border-width: 2px;
  border-color: rgba(214, 190, 150, 0.40);
  background: rgba(214, 190, 150, 0.10);
  color: rgba(24, 18, 14, 0.92);
}

.bb-proto--ptp .bb-proto__name,
.bb-proto--ptp .bb-proto__by {
  color: rgba(24, 18, 14, 0.78);
}

.bb-proto--ptp .bb-proto__hr {
  background: rgba(245, 234, 214, 0.82);
}

.bb-proto__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(24, 18, 14, 0.85);
  border: 1px solid rgba(214, 190, 150, 0.35);
  color: rgba(245, 234, 214, 0.92);

  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 750;
}

/* Check list style for PTP */
.bb-proto__list--check {
  list-style: none;
  padding-left: 0;
}

.bb-proto__list--check li {
  position: relative;
  padding-left: 22px;
}

.bb-proto__list--check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-weight: 900;
}

/* Right-side text */
.bb-panel__note {
  margin: 14px 0 0;
  font-size: clamp(14px, 0.92rem + 0.35vw, 20px);
  line-height: 1.5;
  color: rgba(245, 234, 214, 0.86);
}

.bb-panel__quote {
  margin: 14px 0 0;
  text-align: center;
  color: rgba(214, 190, 150, 0.90);
  font-size: clamp(14px, 0.95rem + 0.35vw, 22px);
  line-height: 1.45;
}

/* CTA */
.bb-panel__ctaRow {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.bb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;

  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: clamp(14px, 0.92rem + 0.25vw, 18px);
}

.bb-btn--outline {
  color: rgba(245, 234, 214, 0.92);
  background: rgba(10, 8, 6, 0.25);
  border: 1px solid rgba(245, 234, 214, 0.35);
}

.bb-btn--outline:hover {
  border-color: rgba(214, 190, 150, 0.55);
}

.bb-panel__fineprint {
  margin: 12px 0 0;
  text-align: center;
  color: rgba(245, 234, 214, 0.65);
  font-size: 13px;
}

/* Hover polish */
.bb-panel:hover {
  border-color: rgba(197, 168, 122, 0.26);
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.50),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Responsive */
@media (max-width: 980px) {
  .bb-protocols__wrap {
    grid-template-columns: 1fr;
  }

  .bb-protocolGrid {
    grid-template-columns: 1fr;
  }

  .bb-proto__badge {
    position: static;
    display: inline-block;
            margin-right: 10px;
    margin-bottom: 10px;
  }
}

@media (max-width: 520px) {
  .bb-panel {
    border-radius: 18px;
  }

  .bb-brand {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .bb-panel__links {
    text-align: center;
  }
}

.bb-brand__logo {
  filter: 
    brightness(0)
    saturate(100%)
    invert(91%)
    sepia(18%)
    saturate(356%)
    hue-rotate(351deg)
    brightness(103%)
    contrast(92%);
}

/* === Persona Integration Section === */
.bb-integrate {
  position: relative;
  padding: clamp(28px, 4vw, 64px) 0;
}

.bb-integrate__inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  margin-top: 0 !important;

  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(14px, 2.2vw, 22px);
  align-items: stretch;
}

/* Shared panel styling (luxe glass) */
.bb-intPanel {
  border-radius: 22px;
  padding: clamp(18px, 2.4vw, 28px);

  background: rgba(84, 63, 45, 0.18);
  border: 1px solid rgba(197, 168, 122, 0.16);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bb-intPanel--example {
  background: rgba(42, 36, 32, 0.22);
}

/* Header */
.bb-intHeader {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.bb-intHeader__icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: rgba(24, 18, 14, 0.78);
  border: 1px solid rgba(197, 168, 122, 0.25);
  color: rgba(245, 234, 214, 0.92);

  box-shadow:
    0 12px 26px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.bb-intHeader__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
  color: rgba(214, 190, 150, 0.88);
}

.bb-intHeader__title {
  margin: 0;
  font-size: clamp(22px, 1.1rem + 1.15vw, 36px);
  line-height: 1.12;
  font-weight: 800;
  color: rgba(245, 234, 214, 0.95);
}

/* Body text */
.bb-intBody {
  margin: 0 0 14px;
  color: rgba(245, 234, 214, 0.78);
  font-size: clamp(14px, 0.92rem + 0.30vw, 18px);
  line-height: 1.65;
}

/* Callout prompt */
.bb-intCallout {
  margin-top: 16px;
  padding: 14px 14px;
  border-radius: 16px;

  background: rgba(24, 18, 14, 0.35);
  border: 1px solid rgba(197, 168, 122, 0.14);

  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.bb-intCallout__mark {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: rgba(214, 190, 150, 0.14);
  border: 1px solid rgba(214, 190, 150, 0.22);
  color: rgba(245, 234, 214, 0.90);

  flex: 0 0 auto;
  transform: translateY(1px);
}

.bb-intCallout__text {
  color: rgba(245, 234, 214, 0.88);
  font-weight: 650;
  line-height: 1.4;
}

/* Links */
.bb-intLinks {
  margin-top: 14px;
}

.bb-intLink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;

  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;

  color: rgba(214, 190, 150, 0.92);
  border-bottom: 1px solid rgba(214, 190, 150, 0.28);
}

.bb-intLink:hover {
  border-bottom-color: rgba(214, 190, 150, 0.55);
}

/* Example panel */
.bb-exHeader__kicker {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 650;
  color: rgba(245, 234, 214, 0.70);
}

.bb-exHeader__title {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: clamp(22px, 1.05rem + 1vw, 34px);
  line-height: 1.1;
  font-weight: 900;

  color: rgba(245, 234, 214, 0.95);
}

.bb-exHeader__bolt {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: rgba(24, 18, 14, 0.75);
  border: 1px solid rgba(197, 168, 122, 0.18);
}

.bb-exBody {
  margin: 14px 0 0;
  color: rgba(245, 234, 214, 0.78);
  font-size: clamp(14px, 0.92rem + 0.28vw, 18px);
  line-height: 1.65;
}

.bb-exDivider {
  margin: 16px 0 14px;
  height: 1px;
  background: rgba(245, 234, 214, 0.18);
}

.bb-exTagline {
  margin: 0;
  text-align: center;
  color: #fff;
  font-weight: 500;
  font-size: clamp(16px, 0.95rem + 0.5vw, 22px);
  line-height: 1.3;
}

/* CTAs */
.bb-exCtas {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.bb-exBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;

  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;

  color: rgba(24, 18, 14, 0.92);
  background: rgba(214, 190, 150, 0.92);
  border: 1px solid rgba(214, 190, 150, 0.35);

  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.bb-exBtn:hover {
  filter: brightness(1.04);
}

.bb-exBtn--ghost {
  color: rgba(245, 234, 214, 0.90);
  background: rgba(10, 8, 6, 0.25);
  border: 1px solid rgba(197, 168, 122, 0.18);
  box-shadow: none;
}

.bb-exBtn--ghost:hover {
  border-color: rgba(197, 168, 122, 0.28);
}

/* Hover polish */
.bb-intPanel:hover {
  border-color: rgba(197, 168, 122, 0.26);
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.50),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Responsive */
@media (max-width: 980px) {
  .bb-integrate__inner {
    grid-template-columns: 1fr;
  }

  .bb-exCtas {
    justify-content: flex-start;
  }

  .bb-exTagline {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .bb-intPanel {
    border-radius: 18px;
  }

  .bb-intHeader {
    align-items: center;
  }

  .bb-intCallout {
    padding: 12px;
  }
}
    

/* ===== WordPress integration ===== */
.bb-skip-link{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden;}
.bb-skip-link:focus{left:1rem;top:1rem;width:auto;height:auto;padding:.75rem 1rem;border-radius:12px;background:#0a0a0a;color:#fff;z-index:10000;}

.nav-right nav ul,
.nav-right .social-links ul{list-style:none;margin:0;padding:0;display:flex;gap:0.75rem;align-items:center;flex-wrap:wrap;}
.nav-right nav li,
.nav-right .social-links li{display:flex;align-items:center;}
.nav-right nav li:not(:last-child)::after,
.nav-right .social-links li:not(:last-child)::after{content:"•";opacity:0.9;margin-left:0.75rem;color:#fff;}

.nav-right nav a,
.nav-right .social-links a{display:inline-block;}

/* ── Dropdowns (submenu) ─────────────────────────────────────────────── */
.nav-right nav li{position:relative;}

/* Caret indicator for items with children */
.nav-right nav li.menu-item-has-children > a{
  padding-right: 1.05rem;
}
.nav-right nav li.menu-item-has-children > a::after{
  content:"▾";
  display:inline-block;
  margin-left:.35rem;
  font-size:.85em;
  opacity:.85;
  transform: translateY(-1px);
}

/* Submenu panel */
.nav-right nav ul.sub-menu{
  display:none;
  position:absolute;
  /* Anchor directly to the parent item so the hover target doesn't "drop"
     when moving the pointer from the parent link to the submenu. */
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: .55rem;
  margin: 0;
  z-index: 9999;
  flex-direction: column;
  gap: .2rem;
  align-items: stretch;

  /* Enable a tiny invisible "bridge" above the submenu panel to prevent
     accidental hover-out when moving the pointer from the parent item down
     into the submenu (common when the submenu has a small offset). */
  pointer-events: auto;

  background: linear-gradient(180deg, rgba(10,10,10,.96), rgba(10,10,10,.86));
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  box-shadow:
    0 18px 48px rgba(0,0,0,.55),
    inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}

.nav-right nav ul.sub-menu::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-12px;
  height:12px;
  background:transparent;
}

/* Open on hover / keyboard focus */
.nav-right nav li.menu-item-has-children:hover > ul.sub-menu,
.nav-right nav li.menu-item-has-children:focus-within > ul.sub-menu,
.nav-right nav li.menu-item-has-children.is-submenu-open > ul.sub-menu{
  display:flex;
}

/* Submenu items are stacked, without the bullet separators */
.nav-right nav ul.sub-menu li{
  display:block;
  align-items: stretch;
}
.nav-right nav ul.sub-menu li::after{content:none !important;}

.nav-right nav ul.sub-menu a{
  display:block;
  width:100%;
  padding: .55rem .75rem;
  border-radius: 12px;
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  line-height: 1.2;
}
.nav-right nav ul.sub-menu a:hover,
.nav-right nav ul.sub-menu a:focus{
  color:#fff;
  background: rgba(255,255,255,0.08);
}

.site-header.is-inner{
  /* Inner pages: header should scroll naturally with the page (not sticky/fixed).
     Keeping the background treatment so the menu remains readable. */
  position: relative;
  top: auto;
  background: linear-gradient(180deg, rgba(10,10,10,.92), rgba(10,10,10,.72));
  backdrop-filter: blur(10px);
}

/* With a non-sticky header, we no longer need spacer padding here. */
.bb-page-wrap{padding-top:0;}

.bb-content-area{display:grid;grid-template-columns: 1fr;gap:2rem;}
.bb-has-sidebar.bb-sidebar-right .bb-content-area{grid-template-columns: minmax(0,1fr) 340px;}
.bb-has-sidebar.bb-sidebar-left .bb-content-area{grid-template-columns: 340px minmax(0,1fr);}
.bb-sidebar{position:relative;}
.bb-sidebar .widget{background:rgba(0,0,0,0.35);border:1px solid rgba(255,255,255,0.12);border-radius:18px;padding:1.25rem;margin-bottom:1.25rem;}
.bb-sidebar .widget-title{font-size:1.1rem;margin-bottom:.75rem;}
.bb-sidebar a{color:rgba(255,255,255,0.85);}
.bb-sidebar a:hover{color:#fff;}

.bb-container{max-width:1440px;margin:0 auto;padding:0 2rem;}
.bb-container.is-boxed{max-width:1200px;}
.bb-entry{padding:3rem 0;}
.bb-entry .entry-title{margin-bottom:1rem;}
.bb-entry .entry-meta{opacity:.7;margin-bottom:2rem;font-size:.95rem;}
.bb-entry .entry-content > * + *{margin-top:1.2rem;}
.bb-entry .entry-content img{max-width:100%;height:auto;}
.bb-entry .entry-content a{text-decoration:underline;}


.bb-menu-toggle{display:none;background:rgba(255,255,255,0.10);border:1px solid rgba(255,255,255,0.22);color:#fff;border-radius:999px;padding:.6rem .9rem;cursor:pointer;font:inherit;}
.bb-menu-toggle:hover{background:rgba(255,255,255,0.14);}
@media (max-width: 768px){
  .bb-menu-toggle{display:inline-flex;align-items:center;gap:.5rem;}
  .nav-right{display:none;width:100%;}
  .nav-right.is-open{display:flex;}
  .header-content{align-items:flex-start;}

  /* Mobile menu layout */
  .nav-right nav ul,
  .nav-right .social-links ul{flex-direction:column;align-items:flex-start;gap:.25rem;}
  .nav-right nav li,
  .nav-right .social-links li{display:block;}
  .nav-right nav li:not(:last-child)::after,
  .nav-right .social-links li:not(:last-child)::after{content:none;}

  /* Mobile dropdowns: inline (not absolute) */
  .nav-right nav ul.sub-menu{
    position: static;
    min-width: 100%;
    margin-top: .35rem;
    margin-left: .65rem;
    box-shadow: none;
    backdrop-filter: none;
  }
}


.footer-column ul{list-style:none;margin:0;padding:0;}
.footer-column li{margin:0;padding:0;}
.footer-column li a{display:block;}


/* ==========================================================================
   BRIDGEBRAIN FRONT-PAGE LAYOUT OVERRIDES
   Scoped to body.bbma-theme to win specificity over any plugin or
   WP global-styles CSS. All layout-critical rules use !important as a
   last-resort defense against .is-layout-constrained injections.
   ========================================================================== */

/* --- Utility resets ---------------------------------------------------- */
body.bbma-theme .bb-front-page {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
}

/* Prevent WP from adding margin:auto / max-width to our top-level sections */
body.bbma-theme .bb-front-page > section,
body.bbma-theme .bb-front-page > div {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* --- HERO: two-column grid ---------------------------------------------- */

/*
 * isolation:isolate creates a new stacking context so that
 * z-index:-1 on .hero-background is relative to .hero, not body.
 * Without this the background image disappears behind the page background.
 */
body.bbma-theme .hero {
  position: relative !important;
  isolation: isolate !important;
  height: 100vh !important;
  min-height: 800px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
}

body.bbma-theme .hero-background {
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
}

body.bbma-theme .hero-background img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/*
 * .hero-container MUST be position:relative + z-index:1 so it paints
 * above the z-index:-1 background. Without z-index:1 it may be treated
 * as z-index:auto which still paints above z-index:-1, BUT some browser
 * / plugin CSS can override this — being explicit is safer.
 */
body.bbma-theme .hero-container {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 4rem !important;
  align-items: center !important;
  max-width: 1440px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
  box-sizing: border-box !important;
}

body.bbma-theme .hero-content,
body.bbma-theme .hero-video {
  min-width: 0 !important;      /* prevent grid blowout */
  box-sizing: border-box !important;
}

/* --- .container override ----------------------------------------------- */
body.bbma-theme .container {
  display: block !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 0 2rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* --- Identity + Trust: 3-column grid ----------------------------------- */
body.bbma-theme .bb-trust__inner {
  display: grid !important;
  grid-template-columns: 0.8fr 1.1fr 2fr !important;
  gap: clamp(16px, 2.4vw, 28px) !important;
  align-items: center !important;
}

body.bbma-theme .bb-trust__title {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
}

/* --- Persona Licensing: top 2-col + card 2-col ------------------------- */
body.bbma-theme .bb-plf__top {
  display: grid !important;
  grid-template-columns: 1.4fr 1fr !important;
  gap: clamp(14px, 2.2vw, 26px) !important;
  align-items: center !important;
}

body.bbma-theme .bb-plf__grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: clamp(14px, 2.2vw, 22px) !important;
}

/* --- PTP Protocols: 2-column panels ------------------------------------ */
body.bbma-theme .bb-protocols__wrap {
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) !important;
  gap: clamp(16px, 3vw, 34px) !important;
  align-items: start !important;
  width: min(1160px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
}

/* --- Persona Integration: 2-column panels ------------------------------ */
body.bbma-theme .bb-integrate__inner {
  display: grid !important;
  grid-template-columns: 1.05fr 0.95fr !important;
  gap: clamp(18px, 3vw, 38px) !important;
  align-items: start !important;
  width: min(1160px, calc(100% - 40px)) !important;
  margin: 0 auto !important;
}

/* --- Ensure all grid children can shrink (prevents overflow blowout) --- */
body.bbma-theme .hero-container > *,
body.bbma-theme .bb-trust__inner > *,
body.bbma-theme .bb-plf__top > *,
body.bbma-theme .bb-plf__grid > *,
body.bbma-theme .bb-protocols__wrap > *,
body.bbma-theme .bb-integrate__inner > * {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

/* --- section-header: keep centred 700px design ------------------------- */
body.bbma-theme .section-header {
  text-align: center !important;
  max-width: 700px !important;
  width: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* --- footer layout fixes ----------------------------------------------- */
.footer-column ul { list-style: none; margin: 0; padding: 0; }
.footer-column li { margin: 0; padding: 0; }
.footer-column li a { display: block; }

/* ==========================================================================
   RESPONSIVE — stack at 980px (matches wireframe breakpoints)
   ========================================================================== */
@media (max-width: 980px) {
  body.bbma-theme .hero-container         { grid-template-columns: 1fr !important; gap: 2rem !important; }
  body.bbma-theme .bb-trust__inner        { grid-template-columns: 1fr !important; }
  body.bbma-theme .bb-plf__top            { grid-template-columns: 1fr !important; }
  body.bbma-theme .bb-plf__grid           { grid-template-columns: 1fr !important; }
  body.bbma-theme .bb-protocols__wrap     { grid-template-columns: 1fr !important; }
  body.bbma-theme .bb-integrate__inner    { grid-template-columns: 1fr !important; }
}

/* ───────────────────────────────────────────────────────────────
   Navigator fullscreen page ( /navigator/ )
   Ensures the Navigator shortcode can occupy the full viewport
   (minus the sticky header and footer).
   ─────────────────────────────────────────────────────────────── */

body.bb-nav-fullscreen .bb-page-wrap { padding-top: 0 !important; }

body.bb-nav-fullscreen #content.site-content {
  padding: 0;
  margin: 0;
}

body.bb-nav-fullscreen .bb-navigator-fullscreen {
  width: 100%;
  margin: 0;
  padding: 0;
  min-height: calc(100vh - var(--bb-header-h, 0px) - var(--bb-footer-h, 0px));
  display: flex;
}

body.bb-nav-fullscreen .bb-navigator-fullscreen__inner {
  width: 100%;
  margin: 0;
  padding: 0;
  flex: 1;
}

/* Remove default top spacing some blocks add so the app can truly fill. */
body.bb-nav-fullscreen .bb-navigator-fullscreen__inner > * { margin-top: 0; }


/* ==========================================================================
   INNER PAGES, POSTS & BLOG ROLL — BridgeBrain Modern AI v1.0.7
   ========================================================================== */

/* ── Fix: remove excess spacer gap that was pushing content down ── */
.bb-page-wrap { padding-top: 0 !important; }

/* ── Page / Post Hero Banner ── */
.bb-page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Featured image background */
.bb-page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bb-page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.40) saturate(0.75);
  display: block;
}

/* Default gradient when no featured image */
.bb-page-hero__bg--default {
  background: linear-gradient(
    145deg,
    rgba(14, 10, 8, 1)    0%,
    rgba(28, 20, 12, 1)   40%,
    rgba(42, 30, 16, 0.9) 80%,
    rgba(20, 14, 8, 1)   100%
  );
}

/* Fade to dark at bottom so title is always readable */
.bb-page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10, 8, 6, 0.10) 0%,
    rgba(10, 8, 6, 0.65) 60%,
    rgba(10, 8, 6, 0.96) 100%
  );
}

.bb-page-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1200px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 5rem 0 2.75rem;
}

.bb-page-hero__kicker {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(214, 190, 150, 0.80);
  margin-bottom: 0.9rem;
  font-weight: 600;
}

.bb-page-hero__kicker a {
  color: rgba(214, 190, 150, 0.70);
  text-decoration: none;
  transition: color 0.2s;
}
.bb-page-hero__kicker a:hover { color: rgba(214, 190, 150, 1); }

.bb-page-hero__title {
  font-size: clamp(28px, 2rem + 1.8vw, 56px);
  font-weight: 700;
  color: rgba(245, 234, 214, 0.98);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 0.85rem;
  max-width: 860px;
}

.bb-page-hero__meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: rgba(245, 234, 214, 0.58);
  margin-top: 0.4rem;
}
.bb-page-hero__meta-sep { opacity: 0.4; }

.bb-page-hero__sub {
  margin: 0.5rem 0 0;
  color: rgba(245, 234, 214, 0.55);
  font-size: 0.95rem;
}

/* ── Inner content wrapper ── */
.bb-inner-wrap {
  width: min(1200px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 2.5rem 0 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.bb-inner-wrap.bb-has-sidebar.bb-sidebar-right {
  grid-template-columns: minmax(0, 1fr) 290px;
}
.bb-inner-wrap.bb-has-sidebar.bb-sidebar-left {
  grid-template-columns: 290px minmax(0, 1fr);
}

/* ── Glassmorphism content card ── */
.bb-content-glass {
  background: rgba(24, 18, 14, 0.74);
  border: 1px solid rgba(197, 168, 122, 0.14);
  border-radius: 24px;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.50),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: clamp(1.75rem, 3.5vw, 3.5rem) clamp(1.75rem, 4vw, 4.5rem);
}

/* ── Entry typography ── */
.bb-entry-body {
  color: rgba(245, 234, 214, 0.86);
  font-size: clamp(15px, 0.95rem + 0.2vw, 18px);
  line-height: 1.78;
}

.bb-entry-body > *:first-child { margin-top: 0; }

.bb-entry-body h1,
.bb-entry-body h2,
.bb-entry-body h3,
.bb-entry-body h4,
.bb-entry-body h5,
.bb-entry-body h6 {
  color: rgba(245, 234, 214, 0.97);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.018em;
  margin: 2.2rem 0 0.8rem;
}

.bb-entry-body h2 { font-size: clamp(22px, 1.25rem + 0.9vw, 32px); }
.bb-entry-body h3 { font-size: clamp(18px, 1.05rem + 0.5vw, 24px); }
.bb-entry-body h4 { font-size: clamp(16px, 1rem + 0.3vw, 20px); }

.bb-entry-body p {
  margin: 0 0 1.35rem;
  color: rgba(245, 234, 214, 0.80);
}

.bb-entry-body a {
  color: rgba(214, 190, 150, 0.94);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(214, 190, 150, 0.32);
  transition: color 0.18s, text-decoration-color 0.18s;
}
.bb-entry-body a:hover {
  color: rgba(245, 234, 214, 1);
  text-decoration-color: rgba(214, 190, 150, 0.7);
}

.bb-entry-body ul,
.bb-entry-body ol {
  padding-left: 1.5em;
  margin: 0 0 1.35rem;
  color: rgba(245, 234, 214, 0.80);
}
.bb-entry-body li { margin: 0.45rem 0; line-height: 1.7; }
.bb-entry-body li::marker { color: rgba(214, 190, 150, 0.85); }

.bb-entry-body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.75rem;
  border-left: 3px solid rgba(214, 190, 150, 0.45);
  background: rgba(214, 190, 150, 0.06);
  border-radius: 0 14px 14px 0;
  font-style: italic;
  color: rgba(245, 234, 214, 0.78);
  font-size: 1.05em;
  line-height: 1.7;
}
.bb-entry-body blockquote p:last-child { margin-bottom: 0; }

.bb-entry-body pre,
.bb-entry-body code {
  font-family: 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.88em;
}
.bb-entry-body code {
  background: rgba(10, 8, 6, 0.55);
  border: 1px solid rgba(197, 168, 122, 0.13);
  border-radius: 6px;
  padding: 0.14em 0.48em;
  color: rgba(245, 234, 214, 0.88);
}
.bb-entry-body pre {
  background: rgba(10, 8, 6, 0.60);
  border: 1px solid rgba(197, 168, 122, 0.12);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  overflow-x: auto;
  margin: 0 0 1.35rem;
  line-height: 1.65;
  color: rgba(245, 234, 214, 0.88);
}
.bb-entry-body pre code {
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
}

.bb-entry-body hr {
  margin: 2.75rem 0;
  border: none;
  height: 1px;
  background: rgba(197, 168, 122, 0.18);
}

.bb-entry-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.93em;
}
.bb-entry-body th,
.bb-entry-body td {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(197, 168, 122, 0.15);
  text-align: left;
  vertical-align: top;
}
.bb-entry-body th {
  background: rgba(197, 168, 122, 0.10);
  color: rgba(245, 234, 214, 0.92);
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bb-entry-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(197, 168, 122, 0.10);
  margin: 0.5rem 0;
}

.bb-entry-body figure { margin: 1.5rem 0; }
.bb-entry-body figcaption {
  font-size: 0.85em;
  color: rgba(245, 234, 214, 0.50);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ── Post tags ── */
.bb-post-tags {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(197, 168, 122, 0.14);
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.bb-post-tags a {
  display: inline-flex;
  padding: 0.28em 0.82em;
  border-radius: 999px;
  background: rgba(214, 190, 150, 0.09);
  border: 1px solid rgba(214, 190, 150, 0.22);
  color: rgba(214, 190, 150, 0.88);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  transition: all 0.18s;
}
.bb-post-tags a:hover {
  background: rgba(214, 190, 150, 0.17);
  border-color: rgba(214, 190, 150, 0.40);
  color: rgba(245, 234, 214, 0.95);
}

/* ── Post navigation ── */
.bb-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.bb-post-nav__item {
  padding: 1.25rem 1.5rem;
  background: rgba(24, 18, 14, 0.55);
  border: 1px solid rgba(197, 168, 122, 0.12);
  border-radius: 16px;
  text-decoration: none;
  display: block;
  transition: all 0.22s;
}
.bb-post-nav__item:hover {
  border-color: rgba(197, 168, 122, 0.30);
  background: rgba(42, 30, 18, 0.50);
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.bb-post-nav__item--prev { text-align: left; }
.bb-post-nav__item--next { text-align: right; }
.bb-post-nav__dir {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(214, 190, 150, 0.70);
  margin-bottom: 0.4rem;
  font-weight: 700;
}
.bb-post-nav__title {
  color: rgba(245, 234, 214, 0.85);
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.35;
}

/* ── Blog roll ── */
.bb-blog-hero-banner { min-height: 240px; align-items: center; }
.bb-blog-hero-banner .bb-page-hero__inner { text-align: center; }
.bb-blog-hero-banner .bb-page-hero__title { margin-left: auto; margin-right: auto; }

.bb-blog-wrap {
  width: min(1200px, calc(100% - 4rem));
  margin: 0 auto;
  padding-bottom: 5rem;
}

.bb-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

/* ── Blog post card ── */
.bb-post-card {
  background: rgba(24, 18, 14, 0.74);
  border: 1px solid rgba(197, 168, 122, 0.14);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0,0,0,0.42);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.bb-post-card:hover {
  border-color: rgba(197, 168, 122, 0.28);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55);
  transform: translateY(-3px);
}

/* Thumbnail wrapper — fixed aspect ratio, no gaps */
.bb-post-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(22, 16, 10, 1) 0%, rgba(44, 32, 18, 1) 100%);
  display: block;
  line-height: 0; /* remove inline gap */
}
.bb-post-card__img-wrap a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}
.bb-post-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 0 !important;
  border: none !important;
  margin: 0;
}
.bb-post-card:hover .bb-post-card__img-wrap img { transform: scale(1.04); }

.bb-post-card__no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(245, 234, 214, 0.12);
  text-decoration: none;
  background: linear-gradient(135deg, rgba(22, 16, 10, 1), rgba(52, 38, 20, 1));
}

.bb-post-card__body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bb-post-card__meta {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(214, 190, 150, 0.68);
  margin-bottom: 0.65rem;
  font-weight: 600;
}

.bb-post-card__title {
  font-size: clamp(16px, 1rem + 0.3vw, 20px);
  font-weight: 700;
  line-height: 1.28;
  color: rgba(245, 234, 214, 0.96);
  margin: 0 0 0.75rem;
  letter-spacing: -0.012em;
}
.bb-post-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
.bb-post-card__title a:hover { color: rgba(214, 190, 150, 0.95); }

.bb-post-card__excerpt {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(245, 234, 214, 0.60);
  margin-bottom: 1.4rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Strip default excerpt <p> margin */
.bb-post-card__excerpt p { margin: 0; }

.bb-post-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(214, 190, 150, 0.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(214, 190, 150, 0.24);
  padding-bottom: 2px;
  transition: gap 0.2s, color 0.2s, border-color 0.2s;
  align-self: flex-start;
}
.bb-post-card__read-more:hover {
  color: rgba(245, 234, 214, 1);
  border-color: rgba(214, 190, 150, 0.60);
  gap: 10px;
}

/* Blog empty state */
.bb-blog-empty {
  text-align: center;
  padding: 5rem 2rem;
  color: rgba(245, 234, 214, 0.45);
  font-size: 1rem;
}

/* Pagination */
.bb-pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.bb-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.9rem;
  border-radius: 10px;
  background: rgba(24, 18, 14, 0.72);
  border: 1px solid rgba(197, 168, 122, 0.14);
  color: rgba(245, 234, 214, 0.72);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.18s;
}
.bb-pagination .page-numbers:hover,
.bb-pagination .page-numbers.current {
  background: rgba(214, 190, 150, 0.13);
  border-color: rgba(214, 190, 150, 0.36);
  color: rgba(245, 234, 214, 0.97);
}

/* ── Sidebar ── */
.bb-inner-sidebar > * + * { margin-top: 1.25rem; }
.bb-inner-sidebar .widget,
.bb-inner-sidebar section.widget {
  background: rgba(24, 18, 14, 0.65) !important;
  border: 1px solid rgba(197, 168, 122, 0.12) !important;
  border-radius: 18px !important;
  padding: 1.5rem !important;
  box-shadow: 0 14px 36px rgba(0,0,0,0.35) !important;
  backdrop-filter: blur(10px) !important;
}
.bb-inner-sidebar .widget-title {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(214, 190, 150, 0.82);
  margin-bottom: 0.9rem;
  font-weight: 700;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(197, 168, 122, 0.12);
}
.bb-inner-sidebar a { color: rgba(245, 234, 214, 0.75); text-decoration: none; }
.bb-inner-sidebar a:hover { color: rgba(214, 190, 150, 0.95); }
.bb-inner-sidebar ul { list-style: none; margin: 0; padding: 0; }
.bb-inner-sidebar li { margin: 0.4rem 0; font-size: 0.9rem; color: rgba(245, 234, 214, 0.72); }

/* ── Footer bottom bar ── */
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.28);
}
.footer-column h4 { color: rgba(245, 234, 214, 0.55); }
.footer-column a  { color: rgba(245, 234, 214, 0.40); transition: color 0.2s; }
.footer-column a:hover { color: rgba(245, 234, 214, 0.75); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .bb-inner-wrap.bb-has-sidebar.bb-sidebar-right,
  .bb-inner-wrap.bb-has-sidebar.bb-sidebar-left { grid-template-columns: 1fr; }
  .bb-post-nav { grid-template-columns: 1fr; }
  .bb-blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .bb-page-hero__title  { font-size: 1.8rem; }
  .bb-content-glass     { padding: 1.5rem 1.25rem; }
  .bb-post-nav__item--next { text-align: left; }
  .bb-blog-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

.bb-navmenu__buttons { display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }


/* ======================================================================
   BridgeBrain DL front-page shell update — v1.0.21
   Safe visual/template pass: adds OE left rail, OE topbar styling, and
   non-functional Copilot placeholder only on the front page.
   ====================================================================== */
:root {
  --bboe-rail-width: 292px;
  --bboe-rail-collapsed: 82px;
  --bboe-topbar-height: 76px;
  --bboe-black: #070b12;
  --bboe-charcoal: #0f1724;
  --bboe-navy: #10213e;
  --bboe-blue: #2563eb;
  --bboe-cyan: #38bdf8;
  --bboe-teal: #42a7a1;
  --bboe-gold: #d6be96;
  --bboe-cream: #f5ead6;
  --bboe-muted: rgba(245,234,214,.66);
  --bboe-line: rgba(214,190,150,.16);
  --bboe-glass: rgba(10,14,24,.74);
  --bboe-radius-lg: 30px;
  --bboe-radius-md: 18px;
  --bboe-shadow: 0 28px 78px rgba(0,0,0,.46);
}

html { scroll-behavior: smooth; }
body.bbma-theme { background-color: var(--bboe-black); }
body.bbma-theme .site-content { min-height: 60vh; }

/* OE topbar: front page only. Inner pages keep their normal theme/plugin flow. */
.site-header.is-front {
  position: fixed;
  top: 0;
  left: var(--bboe-rail-width);
  right: 0;
  z-index: 120;
  padding: 12px clamp(18px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(7,11,18,.88), rgba(7,11,18,.60));
  border-bottom: 1px solid rgba(214,190,150,.13);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
body.admin-bar .site-header.is-front { top: 32px; }
.site-header.is-front .header-content { max-width: none; gap: 18px; }
.site-header.is-front .logo,
.site-header.is-inner .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}
.bb-oe-logo-badge {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  color: #fff;
  font-weight: 900;
  font-size: 1.03rem;
  letter-spacing: -.08em;
  background: linear-gradient(135deg, #0b1220, var(--bboe-blue) 55%, var(--bboe-teal));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 16px 36px rgba(37,99,235,.24), inset 0 1px 0 rgba(255,255,255,.16);
}
.bb-oe-logo-copy { display: grid; line-height: 1.05; }
.bb-oe-logo-copy strong { color: #fff; font-size: 1.02rem; letter-spacing: -.02em; }
.bb-oe-logo-copy span { color: rgba(214,190,150,.78) !important; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; font-weight: 800; }
.site-header.is-front .bb-menu-toggle { border-color: rgba(214,190,150,.22); background: rgba(255,255,255,.08); }
.site-header.is-front .nav-right { margin-left: auto; }
.site-header.is-front .nav-right nav ul,
.site-header.is-front .nav-right .social-links ul { gap: .55rem; }
.site-header.is-front .nav-right nav li:not(:last-child)::after,
.site-header.is-front .nav-right .social-links li:not(:last-child)::after { content: none; }
.site-header.is-front .nav-right a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(214,190,150,.13);
  background: rgba(255,255,255,.055);
  color: rgba(245,234,214,.84);
  font-weight: 750;
  font-size: .82rem;
  text-decoration: none;
  opacity: 1;
}
.site-header.is-front .nav-right a:hover,
.site-header.is-front .social-links a:hover { color: #fff; border-color: rgba(56,189,248,.34); background: rgba(37,99,235,.16); transform: translateY(-1px); }
.site-header.is-front .social-links a:last-child,
.site-header.is-front .bb-oe-top-cta {
  color: #07111f;
  border-color: transparent;
  background: linear-gradient(135deg, var(--bboe-gold), #fff0c2 58%, var(--bboe-cyan));
  box-shadow: 0 16px 34px rgba(214,190,150,.18);
}

/* Front-page frame: left rail exists only inside front-page template. */
.bboe-front-shell {
  display: grid;
  grid-template-columns: var(--bboe-rail-width) minmax(0,1fr);
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(37,99,235,.18), transparent 30%),
    radial-gradient(circle at 88% 2%, rgba(66,167,161,.12), transparent 26%),
    radial-gradient(circle at 50% 96%, rgba(214,190,150,.10), transparent 30%),
    var(--bboe-black);
}
.bboe-front-main { min-width: 0; }
body.bbma-theme .bboe-front-main .hero {
  min-height: 840px !important;
  padding-top: var(--bboe-topbar-height);
}
body.bbma-theme .bboe-front-main .hero::before {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(7,11,18,.54), rgba(7,11,18,.12) 46%, rgba(7,11,18,.58)),
    radial-gradient(circle at 18% 32%, rgba(37,99,235,.20), transparent 30%),
    radial-gradient(circle at 72% 28%, rgba(66,167,161,.13), transparent 30%);
}
body.bbma-theme .bboe-front-main .hero-background { opacity: .88; }
body.bbma-theme .bboe-front-main .hero-container { z-index: 2 !important; }
body.bbma-theme .bboe-front-main .hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  padding: 8px 13px;
  margin-bottom: 18px;
  border-radius: 999px;
  border: 1px solid rgba(214,190,150,.22);
  background: rgba(7,11,18,.48);
  color: rgba(245,234,214,.78);
  opacity: 1;
  letter-spacing: .18em;
  font-size: .72rem;
  font-weight: 850;
}
body.bbma-theme .bboe-front-main h1 { max-width: 760px; font-weight: 760; letter-spacing: -.04em; }
body.bbma-theme .bboe-front-main .hero-description { max-width: 660px; color: rgba(245,234,214,.78); }
body.bbma-theme .bboe-front-main .primary-button,
body.bbma-theme .bboe-front-main .secondary-button,
body.bbma-theme .bboe-front-main .cta-button {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  font-weight: 800;
}
body.bbma-theme .bboe-front-main .primary-button,
body.bbma-theme .bboe-front-main .cta-button {
  color: #06111d;
  background: linear-gradient(135deg, #f5ead6, var(--bboe-gold) 52%, var(--bboe-cyan));
  box-shadow: 0 18px 42px rgba(37,99,235,.18);
}
body.bbma-theme .bboe-front-main .secondary-button {
  color: #fff;
  background: rgba(255,255,255,.09);
  border-color: rgba(214,190,150,.24);
}

.bboe-rail {
  position: sticky;
  top: 0;
  z-index: 140;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(7,11,18,.98), rgba(12,18,31,.96));
  border-right: 1px solid rgba(214,190,150,.14);
  box-shadow: 22px 0 64px rgba(0,0,0,.32);
  overflow-y: auto;
}
body.admin-bar .bboe-rail { top: 32px; height: calc(100vh - 32px); }
.bboe-rail-head { padding: 18px 16px; border-bottom: 1px solid rgba(214,190,150,.12); }
.bboe-rail-brand { display:flex; gap:12px; align-items:center; text-decoration:none; color:#fff; }
.bboe-rail-mark {
  width: 44px; height: 44px; flex: 0 0 44px;
  border-radius: 15px; display:grid; place-items:center;
  color:#fff; font-size:1.12rem; font-weight:900; letter-spacing:-.08em;
  background: linear-gradient(135deg, var(--bboe-blue), var(--bboe-teal) 55%, var(--bboe-gold));
  box-shadow: 0 14px 32px rgba(37,99,235,.28), inset 0 1px 0 rgba(255,255,255,.16);
}
.bboe-rail-copy { min-width: 0; }
.bboe-rail-copy strong { display:block; color:#fff; font-size: 1rem; letter-spacing:-.02em; }
.bboe-rail-copy span { display:block; color: rgba(214,190,150,.72); font-size: .64rem; letter-spacing:.15em; text-transform:uppercase; font-weight:850; margin-top:4px; line-height:1.25; }
.bboe-rail-nav { padding: 16px 12px; display:grid; gap: 7px; }
.bboe-rail-nav a {
  display:flex; align-items:center; gap: 11px;
  min-height: 44px; padding: 10px 12px;
  border-radius: 14px; text-decoration:none;
  color: rgba(245,234,214,.72);
  border: 1px solid transparent;
  font-weight: 760; font-size: .86rem;
  transition: all .18s ease;
}
.bboe-rail-nav a:hover,
.bboe-rail-nav a:focus,
.bboe-rail-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(37,99,235,.20), rgba(66,167,161,.13));
  border-color: rgba(56,189,248,.22);
  transform: translateX(2px);
}
.bboe-rail-nav i {
  width: 26px; height: 26px; flex:0 0 26px; border-radius: 9px;
  display:grid; place-items:center; font-style:normal; font-size:.78rem;
  color: #06111d;
  background: linear-gradient(135deg, var(--bboe-gold), #eef8ff);
}
.bboe-rail-foot { margin-top:auto; padding: 16px; border-top: 1px solid rgba(214,190,150,.12); color: rgba(245,234,214,.56); font-size:.76rem; line-height:1.45; }
.bboe-rail-foot strong { display:block; color:#fff; margin-bottom:3px; }

/* OE Copilot placeholder below the hero. */
.bboe-copilot-wrap {
  padding: clamp(22px, 4vw, 44px) clamp(18px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(7,11,18,1), rgba(11,18,32,.98));
  border-top: 1px solid rgba(214,190,150,.12);
  border-bottom: 1px solid rgba(214,190,150,.12);
}
.bboe-copilot {
  width: min(1120px, 100%);
  margin: 0 auto;
  border-radius: 26px;
  border: 1px solid rgba(56,189,248,.16);
  background:
    radial-gradient(circle at 8% 0%, rgba(37,99,235,.22), transparent 34%),
    radial-gradient(circle at 92% 18%, rgba(214,190,150,.14), transparent 28%),
    rgba(15,23,36,.78);
  box-shadow: var(--bboe-shadow);
  overflow: hidden;
}
.bboe-copilot-head { display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 18px 20px; border-bottom: 1px solid rgba(214,190,150,.12); }
.bboe-copilot-title { display:flex; align-items:center; gap:12px; min-width:0; }
.bboe-copilot-avatar { width:38px; height:38px; border-radius:13px; display:grid; place-items:center; color:#06111d; font-weight:900; background: linear-gradient(135deg, var(--bboe-gold), var(--bboe-cyan)); }
.bboe-copilot-title strong { display:block; color:#fff; font-size: 1rem; }
.bboe-copilot-title span { display:block; color: rgba(245,234,214,.55); font-size:.82rem; margin-top:2px; }
.bboe-copilot-badge { border-radius:999px; padding: 7px 12px; background: rgba(214,190,150,.12); border:1px solid rgba(214,190,150,.18); color: rgba(245,234,214,.82); font-weight:800; font-size:.74rem; text-transform:uppercase; letter-spacing:.08em; white-space:nowrap; }
.bboe-copilot-body { padding: 18px 20px 20px; }
.bboe-copilot-field { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:10px; align-items:center; }
.bboe-copilot-input { min-height: 52px; border-radius: 999px; border:1px solid rgba(56,189,248,.18); background: rgba(255,255,255,.08); color: rgba(245,234,214,.52); padding: 0 18px; display:flex; align-items:center; }
.bboe-copilot-send { min-height:52px; border-radius:999px; border:0; padding:0 20px; font-weight:850; color:#06111d; background:linear-gradient(135deg, var(--bboe-gold), var(--bboe-cyan)); opacity:.72; cursor:not-allowed; }
.bboe-copilot-note { margin:12px 0 0; color: rgba(245,234,214,.56); font-size:.88rem; line-height:1.55; }

/* Live-front content upgrades while preserving the existing sections/components. */
.bboe-trust-strip { display:flex; flex-wrap:wrap; gap:10px; margin-top: 24px; color: rgba(245,234,214,.80); font-size:.88rem; font-weight:760; }
.bboe-trust-strip span { display:inline-flex; gap:7px; align-items:center; padding:8px 11px; border-radius:999px; border:1px solid rgba(214,190,150,.16); background:rgba(255,255,255,.06); }
.bboe-paths { background: linear-gradient(180deg, rgba(11,18,31,.98), rgba(7,11,18,.98)); color:#fff; border-bottom:1px solid rgba(214,190,150,.12); padding: clamp(52px, 7vw, 88px) 0; }
.bboe-path-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; max-width:1160px; margin: 28px auto 0; }
.bboe-path-card { padding: 28px; border-radius: 24px; background: rgba(255,255,255,.055); border:1px solid rgba(214,190,150,.14); box-shadow: 0 18px 48px rgba(0,0,0,.28); }
.bboe-path-card h3 { color:#fff; margin-bottom:12px; }
.bboe-path-card p, .bboe-path-card li { color: rgba(245,234,214,.66); line-height:1.6; }
.bboe-path-card ul { margin: 16px 0 0; padding-left: 1.1rem; }
.bboe-path-same { max-width: 820px; margin: 28px auto 0; text-align:center; color: rgba(245,234,214,.72); }
.bboe-case-study { max-width:1160px; margin: 0 auto; display:grid; grid-template-columns:.9fr 1.1fr; gap:24px; align-items:center; padding: clamp(42px, 6vw, 72px) 2rem; }
.bboe-case-study-card { border-radius:26px; border:1px solid rgba(214,190,150,.16); background: rgba(255,255,255,.055); padding:28px; box-shadow: var(--bboe-shadow); }
.bboe-case-study-kicker { color: var(--bboe-gold); text-transform:uppercase; letter-spacing:.14em; font-weight:850; font-size:.74rem; }
.bboe-case-study h2 { color:#fff; margin:10px 0; }
.bboe-case-study p { color: rgba(245,234,214,.68); }
.bboe-compare { width:min(980px, calc(100% - 40px)); margin: 20px auto 0; border:1px solid rgba(214,190,150,.15); border-radius:22px; overflow:hidden; background:rgba(255,255,255,.05); }
.bboe-compare table { width:100%; border-collapse:collapse; color:rgba(245,234,214,.78); }
.bboe-compare th, .bboe-compare td { padding:14px 16px; border-bottom:1px solid rgba(214,190,150,.10); text-align:left; }
.bboe-compare th { color:#fff; background:rgba(255,255,255,.06); font-size:.82rem; text-transform:uppercase; letter-spacing:.09em; }
.bboe-compare tr:last-child td { border-bottom:0; }
.bboe-compare strong { color:#fff; }
.bboe-navmenu-intro { color: rgba(245,234,214,.62); text-align:center; margin: 0 auto 10px; max-width:720px; }
body.bbma-theme .bb-navmenu { border-color: rgba(56,189,248,.16); background: rgba(7,11,18,.55); }
body.bbma-theme .bb-navmenu__btn { color: rgba(245,234,214,.90); background: rgba(255,255,255,.06); border-color: rgba(214,190,150,.15); }
body.bbma-theme .bb-navmenu__btn:hover { border-color: rgba(56,189,248,.30); background: rgba(37,99,235,.15); }

@media (max-width: 1100px) {
  :root { --bboe-rail-width: 260px; }
  .site-header.is-front { left: var(--bboe-rail-width); }
  .bboe-front-shell { grid-template-columns: var(--bboe-rail-width) minmax(0,1fr); }
  .site-header.is-front .bb-oe-logo-copy span { display:none; }
}
@media (max-width: 860px) {
  .bboe-front-shell { display:block; }
  .bboe-rail { position: relative; width: 100%; height:auto; top:auto; }
  body.admin-bar .bboe-rail { height:auto; top:auto; }
  .bboe-rail-head { padding:14px 16px; }
  .bboe-rail-nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bboe-rail-foot { display:none; }
  .site-header.is-front { left:0; position:sticky; top:0; }
  body.admin-bar .site-header.is-front { top:46px; }
  body.bbma-theme .bboe-front-main .hero { padding-top: 34px; min-height: auto !important; }
  .bboe-path-grid, .bboe-case-study { grid-template-columns:1fr; }
}
@media (max-width: 768px) {
  .site-header.is-front .header-content { flex-wrap:wrap; }
  .site-header.is-front .nav-right.is-open { display:flex; flex-basis:100%; }
  .site-header.is-front .nav-right nav ul,
  .site-header.is-front .nav-right .social-links ul { align-items:stretch; width:100%; }
  .site-header.is-front .nav-right nav li,
  .site-header.is-front .nav-right .social-links li { width:100%; }
  .site-header.is-front .nav-right a { width:100%; justify-content:center; }
}
@media (max-width: 620px) {
  .bboe-rail-nav { grid-template-columns:1fr; }
  .bboe-copilot-field { grid-template-columns:1fr; }
  .bboe-copilot-send { width:100%; }
  .bboe-compare { overflow-x:auto; }
}

/* ======================================================================
   BridgeBrain DL layout hotfix — v1.0.21
   Keeps the front-page rail out of normal single-column flow.
   The older .bb-front-page reset uses higher specificity, so these rules
   intentionally reassert the OE grid with higher specificity + !important.
   ====================================================================== */
body.bbma-theme .bb-front-page.bboe-front-shell {
  display: grid !important;
  grid-template-columns: var(--bboe-rail-width) minmax(0, 1fr) !important;
  align-items: start !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  position: relative !important;
}
body.bbma-theme .bb-front-page.bboe-front-shell > .bboe-rail {
  grid-column: 1 !important;
  grid-row: 1 / -1 !important;
  width: var(--bboe-rail-width) !important;
  min-width: var(--bboe-rail-width) !important;
  max-width: var(--bboe-rail-width) !important;
  height: 100vh !important;
  position: sticky !important;
  top: 0 !important;
  align-self: start !important;
  flex: none !important;
  box-sizing: border-box !important;
}
body.admin-bar.bbma-theme .bb-front-page.bboe-front-shell > .bboe-rail {
  top: 32px !important;
  height: calc(100vh - 32px) !important;
}
body.bbma-theme .bb-front-page.bboe-front-shell > .bboe-front-main {
  grid-column: 2 !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 1 !important;
  box-sizing: border-box !important;
}
body.bbma-theme .site-header.is-front {
  left: var(--bboe-rail-width) !important;
  right: 0 !important;
  width: auto !important;
}
body.bbma-theme .bboe-front-main .hero {
  box-sizing: border-box !important;
  margin-top: 0 !important;
  min-height: 100vh !important;
  padding-top: var(--bboe-topbar-height) !important;
}
body.bbma-theme .bboe-front-main .hero::before {
  background:
    linear-gradient(90deg, rgba(7,11,18,.34), rgba(7,11,18,.08) 46%, rgba(7,11,18,.44)),
    radial-gradient(circle at 18% 32%, rgba(37,99,235,.18), transparent 30%),
    radial-gradient(circle at 72% 28%, rgba(66,167,161,.11), transparent 30%) !important;
}
body.bbma-theme .bboe-front-main .hero-background { z-index: -1 !important; }
body.bbma-theme .bboe-front-main .hero-container {
  position: relative !important;
  z-index: 3 !important;
}

@media (max-width: 1100px) {
  body.bbma-theme .bb-front-page.bboe-front-shell {
    grid-template-columns: var(--bboe-rail-width) minmax(0, 1fr) !important;
  }
}
@media (max-width: 860px) {
  body.bbma-theme .bb-front-page.bboe-front-shell {
    display: block !important;
  }
  body.bbma-theme .bb-front-page.bboe-front-shell > .bboe-rail {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    position: relative !important;
    top: auto !important;
  }
  body.admin-bar.bbma-theme .bb-front-page.bboe-front-shell > .bboe-rail {
    height: auto !important;
    top: auto !important;
  }
  body.bbma-theme .bb-front-page.bboe-front-shell > .bboe-front-main {
    width: 100% !important;
  }
  body.bbma-theme .site-header.is-front {
    left: 0 !important;
    position: sticky !important;
  }
}


/* ======================================================================
   BridgeBrain DL identity and palette refinement — v1.0.21
   Scope: front-page DL rail/presentation + OE inner branding badge color.
   ====================================================================== */
:root {
  --bbdl-ink: #070b12;
  --bbdl-brown-950: #16110d;
  --bbdl-brown-900: #211812;
  --bbdl-brown-850: #2a2018;
  --bbdl-brown-800: #36291f;
  --bbdl-brown-700: #4a392b;
  --bbdl-tan: #c8aa7a;
  --bbdl-tan-strong: #d6be96;
  --bbdl-cream: #f5ead6;
  --bbdl-cream-soft: #fff4df;
  --bbdl-line: rgba(214,190,150,.18);
}

/* Site/inner page OE badge: keep BridgeBrain OE wording, update the pill to the DL/OE suite brown-to-tan treatment. */
.bb-oe-logo-badge,
.bboe-rail-mark,
.bboe-copilot-avatar {
  background: linear-gradient(135deg, var(--bbdl-brown-900) 0%, var(--bbdl-brown-700) 48%, var(--bbdl-tan-strong) 100%) !important;
  color: var(--bbdl-cream-soft) !important;
  border: 1px solid rgba(245,234,214,.18) !important;
  box-shadow: 0 14px 34px rgba(54,41,31,.34), inset 0 1px 0 rgba(255,255,255,.16) !important;
  letter-spacing: -.04em !important;
}

/* Front-page header: remove duplicate branding/section-pill feel; show small text links + two account actions. */
.site-header.is-front .header-content {
  justify-content: space-between !important;
  align-items: center !important;
}
.site-header.is-front .nav-right {
  width: 100% !important;
  margin-left: 0 !important;
  justify-content: space-between !important;
  gap: 16px !important;
}
.site-header.is-front .bb-dl-top-links ul,
.site-header.is-front .bb-dl-top-actions ul {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.site-header.is-front .bb-dl-top-links a {
  border: 0 !important;
  background: transparent !important;
  color: rgba(245,234,214,.72) !important;
  min-height: auto !important;
  padding: 7px 9px !important;
  border-radius: 10px !important;
  font-size: .78rem !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}
.site-header.is-front .bb-dl-top-links a:hover,
.site-header.is-front .bb-dl-top-links a:focus {
  color: #fff !important;
  background: rgba(214,190,150,.10) !important;
  border-color: transparent !important;
  transform: none !important;
}
.site-header.is-front .bb-dl-top-actions a {
  background: rgba(255,255,255,.055) !important;
  border-color: rgba(214,190,150,.15) !important;
  color: rgba(245,234,214,.88) !important;
}
.site-header.is-front .bb-dl-top-actions .bb-oe-top-cta {
  color: #17110d !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--bbdl-cream), var(--bbdl-tan-strong)) !important;
  box-shadow: 0 16px 34px rgba(214,190,150,.18) !important;
}

/* Front-page DL shell: keep header/menu nearly black-blue, move presentation washes to brown/tan. */
body.bbma-theme .bb-front-page.bboe-front-shell {
  background:
    radial-gradient(circle at 18% 8%, rgba(200,170,122,.16), transparent 30%),
    radial-gradient(circle at 88% 2%, rgba(74,57,43,.18), transparent 28%),
    radial-gradient(circle at 50% 96%, rgba(214,190,150,.11), transparent 30%),
    var(--bboe-black) !important;
}
body.bbma-theme .bboe-front-main .hero::before {
  background:
    linear-gradient(90deg, rgba(7,11,18,.34), rgba(7,11,18,.08) 46%, rgba(7,11,18,.44)),
    radial-gradient(circle at 18% 32%, rgba(200,170,122,.16), transparent 30%),
    radial-gradient(circle at 72% 28%, rgba(74,57,43,.16), transparent 30%) !important;
}
body.bbma-theme .bboe-front-main .primary-button,
body.bbma-theme .bboe-front-main .cta-button {
  color: #17110d !important;
  background: linear-gradient(135deg, var(--bbdl-cream-soft), var(--bbdl-tan-strong) 62%, #b9935e) !important;
  box-shadow: 0 18px 42px rgba(54,41,31,.24) !important;
}
body.bbma-theme .bboe-front-main .secondary-button {
  border-color: rgba(214,190,150,.26) !important;
  background: rgba(54,41,31,.22) !important;
}

/* Rail icons: replace numeric badges with tan/cream symbolic buttons. */
.bboe-rail-nav i {
  color: var(--bbdl-cream-soft) !important;
  background: linear-gradient(135deg, rgba(74,57,43,.96), rgba(200,170,122,.32)) !important;
  border: 1px solid rgba(214,190,150,.22) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10) !important;
  font-size: .86rem !important;
  font-weight: 900 !important;
}
.bboe-rail-nav a:hover,
.bboe-rail-nav a:focus,
.bboe-rail-nav a.is-active {
  background: linear-gradient(135deg, rgba(74,57,43,.34), rgba(214,190,150,.10)) !important;
  border-color: rgba(214,190,150,.24) !important;
}

/* Brown/tan presentation panels replacing navy/dark-blue washes. */
.bboe-copilot-wrap,
.bboe-paths {
  background: linear-gradient(180deg, rgba(33,24,18,.98), rgba(22,17,13,.98)) !important;
  border-color: rgba(214,190,150,.14) !important;
}
.bboe-copilot,
.bboe-path-card,
.bboe-case-study-card,
.bboe-compare,
body.bbma-theme .bb-navmenu {
  background:
    radial-gradient(circle at 8% 0%, rgba(200,170,122,.14), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(74,57,43,.20), transparent 28%),
    rgba(33,24,18,.72) !important;
  border-color: rgba(214,190,150,.16) !important;
}
.bboe-copilot-input,
body.bbma-theme .bb-navmenu__btn {
  background: rgba(245,234,214,.065) !important;
  border-color: rgba(214,190,150,.17) !important;
}
.bboe-copilot-send,
.bboe-copilot-avatar {
  background: linear-gradient(135deg, var(--bbdl-brown-900), var(--bbdl-tan-strong)) !important;
  color: var(--bbdl-cream-soft) !important;
}
.bboe-case-study-kicker,
.bboe-rail-copy span,
.bboe-copilot-badge {
  color: rgba(214,190,150,.86) !important;
}
.bboe-trust-strip span,
.bboe-copilot-badge {
  background: rgba(54,41,31,.28) !important;
  border-color: rgba(214,190,150,.18) !important;
}
body.bbma-theme .bb-navmenu__btn:hover {
  border-color: rgba(214,190,150,.30) !important;
  background: rgba(74,57,43,.30) !important;
}

@media (max-width: 768px) {
  .site-header.is-front .nav-right {
    justify-content: stretch !important;
  }
  .site-header.is-front .bb-dl-top-links ul,
  .site-header.is-front .bb-dl-top-actions ul {
    align-items: stretch !important;
    width: 100% !important;
  }
}


/* OE footer brand treatment — v1.0.21 */
.bb-oe-footer-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #fff !important;
  text-decoration: none !important;
  margin-bottom: 12px !important;
}
.bb-oe-footer-logo .bb-oe-logo-copy strong {
  display: block !important;
}
.bb-oe-footer-logo .bb-oe-logo-copy span {
  display: block !important;
}
