/* ============================================================
   BASE-B PAGE — Part 1 of 2
   Paste this into: Appearance → Customize → Additional CSS
   ============================================================
   Also add this @import at the very top (before everything else)
   to load the custom fonts:
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Mono:ital,wght@0,300;0,400;0,500;1,300&family=Barlow+Condensed:wght@300;400;600;700;900&family=Barlow:wght@300;400;500&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --bb-bg:         #0d0f0e;
  --bb-bg2:        #141716;
  --bb-bg3:        #1a1d1c;
  --bb-rule:       #2a2e2c;
  --bb-rule2:      #3a3f3c;
  --bb-text:       #d4d8d5;
  --bb-muted:      #7a8079;
  --bb-accent:     #c8f542;
  --bb-accent2:    #42c8a8;
  --bb-warn:       #f5a623;
  --bb-danger:     #e05c4b;
  --bb-white:      #f0f2f0;
  --bb-mono:       'DM Mono', monospace;
  --bb-display:    'Barlow Condensed', sans-serif;
  --bb-body:       'Barlow', sans-serif;
}

/* ── PAGE WRAPPER — scoped to .baseb-page ── */
/* All rules are prefixed .baseb-page so they don't
   interfere with the rest of your WordPress theme */

.baseb-page {
  background: var(--bb-bg);
  color: var(--bb-text);
  font-family: var(--bb-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}


.baseb-page img.bb-hero-title {max-width: 600px; width: 100%; height: auto;
}

/* Grid background */
.baseb-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--bb-rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--bb-rule) 1px, transparent 1px),
    linear-gradient(rgba(42,46,44,0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,46,44,0.4) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 20px 20px, 20px 20px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── NAV ── */
.baseb-page .bb-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 56px;
  background: rgba(13,15,14,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bb-rule);
}
.baseb-page .bb-nav-logo {
  font-family: var(--bb-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--bb-muted);
  text-decoration: none;
}
.baseb-page .bb-nav-logo span { color: var(--bb-accent); }
.baseb-page .bb-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.baseb-page .bb-nav-links a {
  font-family: var(--bb-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bb-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.baseb-page .bb-nav-links a:hover { color: var(--bb-accent); }


/* ── LAYOUT ── */
.baseb-page .bb-container {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.baseb-page section { padding: 100px 0; }

.baseb-page .content-area,
.baseb-page .content-container,
.baseb-page .entry-content-wrap,
.baseb-page .single-entry,
.baseb-page #main {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  box-shadow: none !important;
  background: transparent !important;
}


/* ── HERO ── */
.baseb-page .bb-hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  padding-top: 36px;
  position: relative;
}

.baseb-page section.bb-hero {
  padding-top: 36px;
  padding-bottom: 80px;
}

.baseb-page .bb-hero-eyebrow {
  font-family: var(--bb-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bb-accent);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.baseb-page .bb-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--bb-accent);
}
.baseb-page .bb-hero-title {
  font-family: var(--bb-display);
  font-weight: 900;
  font-size: clamp(64px, 10vw, 140px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--bb-white);
  margin-bottom: 8px;
}
.baseb-page .bb-hero-subtitle {
  font-family: var(--bb-display);
  font-weight: 300;
  font-size: clamp(18px, 2.5vw, 28px);
  letter-spacing: 0.02em;
  color: var(--bb-muted);
  margin-bottom: 48px;
  max-width: 600px;
}
.baseb-page .bb-hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--bb-text);
  max-width: 560px;
  margin-bottom: 48px;
}
.baseb-page .bb-hero-disclaimer {
  font-family: var(--bb-mono);
  font-size: 11px;
  color: var(--bb-muted);
  border-left: 2px solid var(--bb-rule2);
  padding-left: 16px;
  max-width: 480px;
  line-height: 1.6;
}
.baseb-page .bb-hero-expand {
  position: absolute;
  right: 40px;
  bottom: 80px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--bb-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bb-rule2);
}

/* ── SECTION RULE ── */
.baseb-page .bb-section-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 64px;
}
.baseb-page .bb-section-rule-label {
  font-family: var(--bb-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bb-muted);
  white-space: nowrap;
}
.baseb-page .bb-section-rule-line {
  flex: 1;
  height: 1px;
  background: var(--bb-rule);
}
.baseb-page .bb-section-rule-num {
  font-family: var(--bb-mono);
  font-size: 10px;
  color: var(--bb-rule2);
}

/* ── SECTION HEADERS ── */
.baseb-page .bb-section-title {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--bb-white);
  margin-bottom: 24px;
}
.baseb-page .bb-section-lead {
  font-size: 17px;
  color: var(--bb-text);
  max-width: 640px;
  margin-bottom: 64px;
}

.baseb-page #masthead,
.baseb-page #mobile-header,
.baseb-page .entry-hero,
.baseb-page #colophon {
  display: none !important;
}

/* ── FEATURE GRID ── */
.baseb-page .bb-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bb-rule);
  border: 1px solid var(--bb-rule);
  margin-bottom: 80px;
}
.baseb-page .bb-feature-cell {
  background: var(--bb-bg2);
  padding: 36px 32px;
  transition: background 0.2s;
}
.baseb-page .bb-feature-cell:hover { background: var(--bb-bg3); }
.baseb-page .bb-feature-tag {
  font-family: var(--bb-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bb-accent);
  margin-bottom: 16px;
}
.baseb-page .bb-feature-name {
  font-family: var(--bb-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--bb-white);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.baseb-page .bb-feature-desc {
  font-size: 14px;
  color: var(--bb-muted);
  line-height: 1.65;
}

/* ── PIPELINE ── */
.baseb-page .bb-pipeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
}
.baseb-page .bb-pipeline-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 32px;
  position: relative;
}
.baseb-page .bb-pipeline-step::after {
  content: '';
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: 0;
  width: 1px;
  background: var(--bb-rule);
}
.baseb-page .bb-pipeline-step:last-child::after { display: none; }
.baseb-page .bb-pipeline-num {
  width: 52px;
  height: 52px;
  border: 1px solid var(--bb-rule2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--bb-mono);
  font-size: 12px;
  color: var(--bb-accent);
  background: var(--bb-bg2);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.baseb-page .bb-pipeline-content {
  padding: 12px 0 48px;
}
.baseb-page .bb-pipeline-title {
  font-family: var(--bb-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--bb-white);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.baseb-page .bb-pipeline-detail {
  font-size: 14px;
  color: var(--bb-muted);
  line-height: 1.65;
}

/* ── METRICS GRID ── */
.baseb-page .bb-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--bb-rule);
  border: 1px solid var(--bb-rule);
}
.baseb-page .bb-metric-cell {
  background: var(--bb-bg2);
  padding: 40px 36px;
}
.baseb-page .bb-metric-label {
  font-family: var(--bb-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bb-accent2);
  margin-bottom: 12px;
}
.baseb-page .bb-metric-title {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 26px;
  color: var(--bb-white);
  margin-bottom: 12px;
}
.baseb-page .bb-metric-def {
  font-size: 14px;
  color: var(--bb-muted);
  line-height: 1.65;
}

/* ── MODES ── */
.baseb-page .bb-modes-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.baseb-page .bb-mode-card {
  border: 1px solid var(--bb-rule);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}
.baseb-page .bb-mode-card:hover { border-color: var(--bb-rule2); }
.baseb-page .bb-mode-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.baseb-page .bb-mode-card.dj::before  { background: var(--bb-accent); }
.baseb-page .bb-mode-card.te::before  { background: var(--bb-accent2); }
.baseb-page .bb-mode-card.dh::before  { background: var(--bb-warn); }
.baseb-page .bb-mode-card.amtb::before { background: #888; }  

.baseb-page .bb-mode-type {
  font-family: var(--bb-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bb-muted);
  margin-bottom: 16px;
}
.baseb-page .bb-mode-name {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--bb-white);
  margin-bottom: 16px;
}
.baseb-page .bb-mode-spec {
  font-family: var(--bb-mono);
  font-size: 12px;
  color: var(--bb-muted);
  border-top: 1px solid var(--bb-rule);
  padding-top: 16px;
  margin-top: 16px;
  line-height: 2;
}
.baseb-page .bb-mode-spec span { color: var(--bb-text); }

/* ── OUTPUTS ── */
.baseb-page .bb-outputs-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.baseb-page .bb-output-group-label {
  font-family: var(--bb-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bb-muted);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bb-rule);
}
.baseb-page .bb-output-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0; padding: 0;
}
.baseb-page .bb-output-list li {
  font-size: 15px;
  color: var(--bb-text);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.baseb-page .bb-output-list li::before {
  content: '→';
  font-family: var(--bb-mono);
  color: var(--bb-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

  .bb-output-subgroup       { margin-top: 1rem; }
  .bb-output-subgroup-label {
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 0 0.25rem 0;
    letter-spacing: 0.02em;
	color: #fff; 
}

/* ── SCOPE ── */
.baseb-page .bb-scope-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--bb-rule);
  border: 1px solid var(--bb-rule);
}
.baseb-page .bb-scope-col {
  background: var(--bb-bg2);
  padding: 40px 36px;
}
.baseb-page .bb-scope-col-header {
  font-family: var(--bb-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bb-rule);
}
.baseb-page .bb-scope-col.in .bb-scope-col-header  { color: var(--bb-accent2); }
.baseb-page .bb-scope-col.out .bb-scope-col-header { color: var(--bb-danger); }
.baseb-page .bb-scope-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0; padding: 0;
}
.baseb-page .bb-scope-list li {
  font-size: 14px;
  color: var(--bb-muted);
  display: flex;
  gap: 12px;
}
.baseb-page .bb-scope-col.in  .bb-scope-list li::before { content: '✓'; color: var(--bb-accent2); font-family: var(--bb-mono); }
.baseb-page .bb-scope-col.out .bb-scope-list li::before { content: '✗'; color: var(--bb-danger);  font-family: var(--bb-mono); }

/* ── CTA BLOCK ── */
.baseb-page .bb-cta-block {
  border: 1px solid var(--bb-rule);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: var(--bb-bg2);
}
.baseb-page .bb-cta-title {
  font-family: var(--bb-display);
  font-weight: 700;
  font-size: 36px;
  color: var(--bb-white);
  margin-bottom: 12px;
}
.baseb-page .bb-cta-sub {
  font-size: 15px;
  color: var(--bb-muted);
}

/* ── BUTTONS ── */
.baseb-page .bb-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--bb-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 28px;
  border: 1px solid;
  transition: all 0.2s;
  white-space: nowrap;
  cursor: pointer;
}
.baseb-page .bb-btn-primary {
  background: var(--bb-accent);
  border-color: var(--bb-accent);
  color: #0d0f0e;
  font-weight: 500;
}
.baseb-page .bb-btn-primary:hover {
  background: transparent;
  color: var(--bb-accent);
}
.baseb-page .bb-btn-ghost {
  background: transparent;
  border-color: var(--bb-rule2);
  color: var(--bb-muted);
}
.baseb-page .bb-btn-ghost:hover {
  border-color: var(--bb-accent);
  color: var(--bb-accent);
}

/* ── LEGAL NOTICE ── */
.baseb-page .bb-legal-notice {
  border: 1px solid var(--bb-rule);
  border-left: 3px solid var(--bb-warn);
  padding: 24px 28px;
  background: var(--bb-bg2);
  margin-top: 40px;
}
.baseb-page .bb-legal-notice-label {
  font-family: var(--bb-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bb-warn);
  margin-bottom: 10px;
}
.baseb-page .bb-legal-notice p {
  font-size: 13px;
  color: var(--bb-muted);
  line-height: 1.65;
}

/* ── CODE ── */
.baseb-page code {
  font-family: var(--bb-mono);
  font-size: 12px;
  background: var(--bb-bg3);
  border: 1px solid var(--bb-rule);
  padding: 2px 8px;
  color: var(--bb-accent2);
}

/* ── GEAR ── */
.gear-recs {color: #fff; 
  
}

/* ── FOOTER ── */
.baseb-page .bb-footer {
  border-top: 1px solid var(--bb-rule);
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.baseb-page .bb-footer-brand {
  font-family: var(--bb-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--bb-muted);
}
.baseb-page .bb-footer-brand span { color: var(--bb-accent); }

/* ── BG SECTIONS ── */
.baseb-page .bb-bg2 { background: var(--bb-bg2); position: relative; z-index: 1; }

/* ── ANIMATIONS ── */
@keyframes bb-fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.baseb-page .bb-hero-eyebrow  { animation: bb-fadeUp 0.6s 0.1s both; }
.baseb-page .bb-hero-title    { animation: bb-fadeUp 0.7s 0.2s both; }
.baseb-page .bb-hero-subtitle { animation: bb-fadeUp 0.7s 0.3s both; }
.baseb-page .bb-hero-desc     { animation: bb-fadeUp 0.7s 0.4s both; }
.baseb-page .bb-hero-disclaimer { animation: bb-fadeUp 0.7s 0.5s both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .baseb-page .bb-feature-grid  { grid-template-columns: 1fr; }
  .baseb-page .bb-metrics-grid  { grid-template-columns: 1fr; }
  .baseb-page .bb-modes-row     { grid-template-columns: 1fr; }
  .baseb-page .bb-outputs-split { grid-template-columns: 1fr; gap: 48px; }
  .baseb-page .bb-scope-cols    { grid-template-columns: 1fr; }
  .baseb-page .bb-cta-block     { grid-template-columns: 1fr; }
  .baseb-page .bb-nav           { padding: 0 20px; }
  .baseb-page .bb-container     { padding: 0 20px; }
  .baseb-page .bb-hero-expand   { display: none; }
  .baseb-page section           { padding: 64px 0; }
  .baseb-page .bb-feature-cell[style*="grid-column"] { grid-column: auto !important; }
}

@media (max-width: 768px) {
  .baseb-page .bb-nav {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 12px 20px;
    gap: 10px;
  }
  .baseb-page .bb-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 0;
    margin: 0;
  }
  /* Fix hero being hidden behind stacked nav */
  .baseb-page section.bb-hero {
    padding-top: 220px;
    align-items: flex-start;
  }
}

/* Suppress Kadence chrome on BASE-B page */
.baseb-page #masthead,
.baseb-page #mobile-header,
.baseb-page .entry-hero,
.baseb-page #colophon { 
  display: none !important; 
}

.baseb-page .content-area,
.baseb-page .content-container,
.baseb-page .entry-content-wrap,
.baseb-page #main {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  box-shadow: none !important;
}

.baseb-page #wrapper,
.baseb-page body {
  background: var(--bb-bg) !important;
}