/*
 * B-v2 Industrial Premium — shared chrome.
 *
 * Nav, Footer, PageHero, FinalCta, button primitives. One stylesheet
 * sourced by every redesign page; markup lives in each page's HTML.
 *
 * Class names are namespaced with `b-` so they don't collide with the
 * legacy landing-*.css and portal-*.css that still ship alongside.
 *
 * Ported from Designs/dev-handoff/components/shared.jsx (the bShared
 * inline-style object) — see docs/research/design-handoff-fit-analysis.md
 * for source attribution.
 */

/* ============ LAYOUT CONTAINERS ============ */
.b-container { max-width: var(--max-w); margin: 0 auto; }
.b-container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; }
.b-container-cta { max-width: var(--max-w-cta); margin: 0 auto; }

/* ============ NAV ============ */
.b-nav {
  position: relative;
  z-index: 10;
  background: var(--ink-0);
  border-bottom: 1px solid var(--ink-3);
}
.b-nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.b-brand { display: flex; align-items: center; gap: 12px; }
.b-brand-mark {
  width: 32px;
  height: 32px;
  background: var(--amber-2);
  display: grid;
  place-items: center;
}
.b-brand-mark-inner { width: 12px; height: 12px; background: var(--ink-0); }
.b-brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--paper);
}
.b-nav-menu { display: flex; align-items: center; gap: 32px; }
.b-nav-links { display: flex; gap: 32px; font-size: 14px; }
.b-nav-link {
  color: var(--gray-3);
  font-weight: 500;
  transition: color 0.15s;
}
.b-nav-link:hover { color: var(--paper); }
.b-nav-link.is-active { color: var(--paper); font-weight: 600; }
.b-nav-cta { display: flex; align-items: center; gap: 20px; }
.b-nav-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-3);
  transition: color 0.15s;
}
.b-nav-login:hover { color: var(--paper); }

/* Hamburger toggle — visible only on mobile (chrome-responsive.css) */
.b-nav-burger { display: none; }

/* ============ BUTTON PRIMITIVES ============ */
.b-btn-amber-sm,
.b-btn-amber-lg,
.b-btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--body);
  transition: filter 0.15s, background 0.15s, color 0.15s;
}
.b-btn-amber-sm {
  background: var(--amber-2);
  color: var(--ink-0);
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
}
.b-btn-amber-lg {
  background: var(--amber-2);
  color: var(--ink-0);
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
}
.b-btn-amber-sm:hover,
.b-btn-amber-lg:hover { filter: brightness(1.08); }
.b-btn-outline-dark {
  background: transparent;
  color: var(--paper);
  padding: 16px 24px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--paper);
}
.b-btn-outline-dark:hover { background: var(--paper); color: var(--ink-0); }

/* ============ PAGE HERO ============ */
.b-page-hero {
  position: relative;
  padding: 120px 48px 96px;
  border-bottom: 1px solid var(--ink-3);
  overflow: hidden;
}
.b-page-hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 80% at 30% 40%, #000 30%, transparent 100%);
  pointer-events: none;
}
.b-page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
}
.b-page-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 32px;
}
.b-page-hero-bullet {
  width: 6px;
  height: 6px;
  background: var(--amber);
  display: inline-block;
}
.b-page-hero-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 88px;
  line-height: 0.96;
  letter-spacing: -0.04em;
  color: var(--paper);
  max-width: 1100px;
  margin-bottom: 32px;
  text-wrap: balance;
}
.b-page-hero-lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--gray-3);
  max-width: 720px;
  text-wrap: pretty;
}
.b-page-hero-kicker {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray-2);
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ============ FINAL CTA ============ */
.b-final-cta {
  background: var(--ink-1);
  border-top: 1px solid var(--ink-3);
  padding: 120px 48px;
}
.b-final-cta-inner {
  max-width: var(--max-w-cta);
  margin: 0 auto;
  text-align: center;
}
.b-final-cta-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 24px;
}
.b-final-cta-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 64px;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: 24px;
}
.b-final-cta-sub {
  font-size: 17px;
  color: var(--gray-3);
  margin: 0 auto 36px;
  max-width: 560px;
}
.b-final-cta-actions { display: flex; gap: 16px; justify-content: center; }

/* ============ FOOTER ============ */
.b-footer {
  background: var(--ink-0);
  border-top: 1px solid var(--ink-3);
  padding: 64px 48px 32px;
}
.b-footer-inner { max-width: var(--max-w); margin: 0 auto; }
.b-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ink-3);
}
.b-footer-brand-col { display: flex; flex-direction: column; gap: 20px; }
.b-footer-tagline {
  font-size: 13px;
  color: var(--gray-2);
  line-height: 1.6;
  max-width: 320px;
}
.b-footer-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--amber);
  letter-spacing: 0.04em;
  margin-top: 8px;
  text-transform: uppercase;
}
.b-footer-stat-bullet {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 999px;
}
.b-footer-col-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 20px;
  font-weight: 600;
}
.b-footer-link-list { display: flex; flex-direction: column; gap: 12px; }
.b-footer-link {
  font-size: 13px;
  color: var(--gray-2);
  transition: color 0.15s;
}
.b-footer-link:hover { color: var(--paper); }
.b-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-1);
}
.b-footer-legal { display: flex; gap: 8px; align-items: center; }
.b-footer-legal a { transition: color 0.15s; }
.b-footer-legal a:hover { color: var(--paper); }
.b-footer-sep { color: var(--ink-3); }
